Peter Bengtsson
46d5e1abf6
Correct translation content from reusables too ( #37722 )
2023-06-13 11:49:18 +00:00
Peter Bengtsson
312549cbfe
Fix corrupting Liquid tags in translations ( #37219 )
2023-06-09 14:32:23 +00:00
Peter Bengtsson
2715f5aae0
Fix more Korean AUTOTITLE Markdown links ( #37215 )
2023-05-31 11:17:05 +00:00
Peter Bengtsson
1e7a672b0f
Fix Glossary page in Russian and Korean ( #36852 )
2023-05-04 16:28:18 +00:00
Peter Bengtsson
fe363e94f9
force fix for bad Markdown tables in translations ( #36495 )
2023-04-19 19:27:56 +00:00
Peter Bengtsson
9d26799a53
undo temporary translation hack for RSA ( #36115 )
2023-04-03 17:16:53 +00:00
Peter Bengtsson
e8ec9224ff
Temporary correction of SSH RSA keys in translations ( #35931 )
2023-03-28 01:44:30 +00:00
Peter Bengtsson
da2b2f22ba
Hack around corrupt AUTOTITLE translations ( #34980 )
2023-02-22 16:30:18 +00:00
Peter Bengtsson
701c954de3
Script to set autotitle and fix internal redirecting links ( #34187 )
...
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
2023-02-14 17:15:16 +00:00
Kevin Heis
928b0dab02
Fix translation reporting (round 1!) ( #33754 )
2023-01-05 20:16:38 +00:00
Peter Bengtsson
00b7ba1a6b
only load site tree from English and "translate" the others ( #32761 )
2022-11-21 12:37:48 +00:00
Peter Bengtsson
988e68fa98
JIT data ( #32140 )
2022-11-17 13:08:49 +00:00
Peter Bengtsson
dd62ec0b2f
Ability to start with different translation roots ( #32348 )
2022-11-07 19:00:16 +00:00
Peter Bengtsson
64ee6b2f09
optimize the getCurrentProductTree function ( #31620 )
2022-10-27 20:13:00 +00:00
Hector Alfaro
b1610289b2
Add a translation root ( #31822 )
...
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-10-18 16:59:59 +00:00
Hector Alfaro
25b455c35f
Remove unused CrowdIn workflows and scripts ( #30234 )
2022-09-12 17:59:28 +00:00
Grace Park
798dd62609
Update page-data to parseAndRender childPage titles ( #29265 )
...
* start
* updating page-data
* fix test'
* remove unnecessary file check
* remove line
* line
* remove file check
* fix title -> shortTitle
Co-authored-by: docubot <67483024+docubot@users.noreply.github.com>
2022-07-22 11:32:30 -07:00
Peter Bengtsson
8d4e1cda62
use shorthand notation ( #27919 )
2022-05-23 18:22:44 +00:00
Peter Bengtsson
d75c49b1c6
loadPages by 'en' only ( #25846 )
2022-03-04 16:24:24 +00:00
Peter Bengtsson
8018653103
calm down Backfill logging ( #25031 )
2022-02-04 17:40:23 +00:00
Peter Bengtsson
14ca55f670
cope with possible translation drift ( #24842 )
...
* cope with possible translation drift
* fix test
* don't shallow clone
* fix unit tests
* update code comments
* more code comment corrections
* more code comment
* feedbacked
2022-02-04 14:31:56 +00:00
Peter Bengtsson
4406fd9834
treat list of files as space separated ( #24176 )
...
* treat list of files as space separated
* debuggnig
* debuggnig
* better
* test now
* cleanup
* all cleanups
* mention feature request on the action
2022-01-11 02:58:45 +00:00
Mike Surowiec
9386571aa4
fix: use named export for all-versions ( #20478 )
...
* fix: use named export for all-versions
* run prettier
2021-07-22 19:29:00 +00:00
Mike Surowiec
6bc50f7e30
fix: filter hidden pages from the currentProductTree (SidebarProduct) ( #20404 )
...
* fix some async test things
* allow eslint to parse top-level awaits
* fix: filter out hidden pages closer to SidebarProduct usage
2021-07-20 12:32:35 -04:00
Kevin Heis
8a56437c93
Pretty format ( #20352 )
...
* Update prettier flow to include JS
* Run prettier
* ...run prettier
2021-07-14 14:35:01 -07:00
Kevin Heis
42e785b0a8
Migrate CommonJS to ESM ( #20301 )
...
* First run of script
* Get the app running --- ish
* Get NextJS working
* Remove `node:`
* Get more tests passing in unit directory
* Update FailBot test to use nock
* Update test.yml
* Update Dockerfile
* tests/content fixes
* Update page.js
* Update build-changelog.js
* updating tests/routing
* Update orphan-tests.js
* updating tests/rendering
* Update .eslintrc.js
* Update .eslintrc.js
* Install jest/globals
* "linting" tests
* staging update to server.mjs
* Change '.github/allowed-actions.js' to a ESM export
* Lint
* Fixes for the main package.json
* Move Jest to be last in the npm test command so we can pass args
* Just use 'npm run lint' in the npm test command
* update algolia label script
* update openapi script
* update require on openapi
* Update enterprise-algolia-label.js
* forgot JSON.parse
* Update lunr-search-index.js
* Always explicitly include process.cwd() for JSON file reads pathed from project root
* update graphql/update-files.js script
* Update other npm scripts using jest to pass ESM NODE_OPTIONS
* Update check-for-enterprise-issues-by-label.js for ESM
* Update create-enterprise-issue.js for ESM
* Import jest global for browser tests
* Convert 'script/deploy' to ESM
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: James M. Greene <jamesmgreene@github.com>
2021-07-14 13:49:18 -07:00
Sarah Schneider
0333ea39fb
initialize Pages for existing translated paths, not just English paths with localized versions of those paths
2021-07-01 12:13:43 -04:00
Sarah Schneider
c474291756
we don't need this async here since it falls into a Promise.all
2021-06-04 14:24:56 -04:00
Sarah Schneider
277d394245
clarify comment
2021-06-04 14:13:50 -04:00
Sarah Schneider
25448712f8
Merge branch 'middleware-perf-part2' of github.com:github/docs-internal into middleware-perf
2021-06-04 13:58:50 -04:00
Sarah Schneider
74b054054c
Update lib/page-data.js
...
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-05-27 15:59:40 -04:00
Sarah Schneider
cbf07fec4b
the other middleware perf PR removes this
2021-05-26 15:43:19 -04:00
Sarah Schneider
2fcb38f30d
move intro rendering back to middleware but do it conditionally
2021-05-21 16:14:14 -04:00
Sarah Schneider
0e39e763c4
update var name
2021-05-21 12:32:16 -04:00
Sarah Schneider
d258e77b17
move the tree rendering steps to lib/page-data which happens during warm-server
2021-05-21 12:06:27 -04:00
Sarah Schneider
5209705a52
Merge branch 'refactor-site-tree' of github.com:github/docs-internal into refactor-site-tree
2021-04-09 09:41:57 -04:00
Sarah Schneider
a08cd650d4
set basePath as constant
2021-04-09 09:15:37 -04:00
Sarah Schneider
0eebfc486b
fix some pass-by-reference issues
2021-04-07 14:30:42 -04:00
Sarah Schneider
341465c83f
export separate functions instead of single function from lib/page-data
2021-04-01 12:34:46 -04:00
Sarah Schneider
04460a0165
lint
2021-03-31 13:31:09 -04:00
Sarah Schneider
cf2d3a0103
update comments
2021-03-30 12:16:18 -04:00
Sarah Schneider
e06574b01b
make comments nicer
2021-03-29 20:14:01 -04:00
Sarah Schneider
3a236bb128
create a new module page-data and revert lib/pages
2021-03-29 16:46:06 -04:00