Peter Bengtsson
2ec905fc77
trailingCommas:all on prettier ( #38888 )
2023-07-11 11:44:52 +00:00
Sarah Schneider
2b66c84e9f
Support GHES nextNext in FM and FBV ( #31770 )
2022-10-17 16:54:34 +00:00
Sarah Schneider
bb6c155e68
remove the else, that was the problem
2022-07-21 09:55:45 -04:00
Sarah Schneider
8421ccf011
tweak comments a bit
2022-06-24 12:24:39 -04:00
Sarah Schneider
c089e61389
support a "hierarchy of fallbacks" for versioned redirects
2022-04-27 17:56:28 -04:00
Peter Bengtsson
07c8fc3c2a
Decouple redirects from language ( #24597 )
...
* experimenting with redirects
* cleanup developer.json
* wip
* clean console.log
* progress
* some progress
* progress
* much progress
* debugging tests
* hacky progress
* ditch latest -> number redirects
* minor
* hacky progress
* lots of progress
* some small fixes
* fix rendering tests
* small fixes
* progress
* undo debugging
* better
* routing tests OK
* more cleaning
* unit tests
* undoing lineending edit
* undoing temporary debugging
* don't ever set this.redirects on Page
* cope with archived version redirects
* adding code comments on the major if statements
* address all feedback
* update README about redirects
* delete invalid test
* fix feedback
2022-02-14 20:19:10 +00:00
Peter Bengtsson
92c6249473
explicitly redirect those that were fpt to enterprise-cloud ( #22271 )
2021-10-18 18:24:09 -07:00
Laura Coursen
8f964ea2cb
GHEC version ( #20947 )
...
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com >
Co-authored-by: Grace Park <gracepark@github.com >
Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com >
Co-authored-by: Robert Sese <sese@github.com >
Co-authored-by: Peter Bengtsson <peterbe@github.com >
Co-authored-by: Rachael Sewell <rachmari@github.com >
2021-10-15 15:41:33 -05: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
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
Grace Park
d3d1902414
Merge pull request #20017 from github/upgrade-esm
...
Enforce and Move to Top Level require
2021-06-22 11:27:48 -07:00
Sarah Schneider
02e95f583a
change path.join to path.posix.join for Windows friendliness
2021-01-19 14:47:45 -05:00
Sarah Schneider
36c3b108b2
Merge branch 'remove-fpt' of github.com:github/docs-internal into remove-fpt-helper
2021-01-15 11:06:16 -05:00
Sarah Schneider
a8470e9034
remove unnecessary redirect (cuts down on about 18k redirects)
2021-01-15 11:05:48 -05:00
Sarah Schneider
51da7a9749
few tweaks
2021-01-15 10:11:17 -05:00
Sarah Schneider
374112c55f
few tweaks to get passing tests
2021-01-14 17:08:15 -05:00
Sarah Schneider
a78828a443
remove debugging code
2021-01-14 13:51:18 -05:00
Sarah Schneider
b511758057
add remove-fpt helper function
2021-01-14 13:34:32 -05:00
Sarah Schneider
b6032f285c
remove helper from this branch (to be re-added in child branch for easier reviewing)
2021-01-14 12:07:49 -05:00
Sarah Schneider
ead1dc202c
Merge branch 'main' of github.com:github/docs-internal into remove-fpt
2021-01-07 14:43:50 -05:00
Sarah Schneider
33f93e39c7
remove overloaded helper functions and move code directly where it is used
2021-01-07 13:14:44 -05:00
Kevin Heis
4e781a553c
Fix some typos in the lib directory ( #17131 )
...
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com >
2021-01-05 15:53:05 +00:00
Sarah Schneider
ee7b67bbb5
lint
2020-12-17 12:10:21 -05:00
Sarah Schneider
1aa80996e0
try to make this check as fast as we can
2020-12-17 12:03:45 -05:00
Sarah Schneider
5762bbaad4
support hardcoded versions in frontmatter redirects
2020-12-16 16:23:20 -05:00
Vanessa Yuen
3df90fc9b8
Hello git history spelunker!
...
Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
2020-09-27 14:10:11 +02:00