hubwriter
ad0af33d89
Fix broken link for GHAE-only page ( #22509 )
...
* Fix broken link for GHAE-only page
* Update lib/redirects/static/redirect-exceptions.txt
2021-11-02 15:45:19 +00:00
Peter Bengtsson
f689c21844
curb your logging about redirects disk memoizing ( #22497 )
2021-11-01 16:34:50 +00:00
Sarah Edwards
5d700a526e
Universe 2021 ( #22246 )
...
https://github.com/github/docs-internal/pull/22217
https://github.com/github/docs-internal/pull/22130
https://github.com/github/docs-internal/pull/22195
https://github.com/github/docs-internal/pull/22327
https://github.com/github/docs-internal/pull/22204
https://github.com/github/docs-internal/pull/21676
https://github.com/github/docs-internal/pull/22341
https://github.com/github/docs-internal/pull/22329
https://github.com/github/docs-internal/pull/21970
https://github.com/github/docs-internal/pull/22334
https://github.com/github/docs-internal/pull/22365
https://github.com/github/docs-internal/pull/21904
2021-10-27 07:47:17 -07:00
Kevin Heis
a37eaf7f0d
Remove 2.22 static files ( #22383 )
...
* script/enterprise-server-deprecations/remove-static-files.js
* script/enterprise-server-deprecations/remove-redirects.js
* Update triage-unallowed-internal-changes.yml
* Trigger Build
* Revert "Update triage-unallowed-internal-changes.yml"
This reverts commit 1cf00ebc06bd808cbde5b587774a7ff4d121ec1d.
2021-10-22 13:50:07 -07:00
Rachael Sewell
1570dc66e6
add ghec version to graphql guides ( #22314 )
2021-10-22 10:05:17 -07:00
Peter Bengtsson
da419fd869
Memoize loadRedirects() with disk ( #22161 )
...
* memoize loadRedirects with disk in development
* no need to await on sync functions
* un-uncomment
* wip
* wip
* cache with max age
* rename redirects memoize cache file
2021-10-22 11:25:32 -04:00
Matt Pollard
d9928347f1
Add redirect exceptions for combined, removed, moved, and renamed content ( #22320 )
2021-10-20 12:54:53 +00:00
Laura Coursen
a8a9587a7f
Add more missing redirects ( #22298 )
2021-10-20 06:42:32 +00:00
Laura Coursen
9423da0ff4
Add missing redirects ( #22256 )
2021-10-19 15:08:42 +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
a3a4f43ada
Fix broken links ( #22229 )
2021-10-18 13:02:21 +00:00
Laura Coursen
535e161a5d
Add missing redirects ( #22218 )
2021-10-15 23:28:31 +00: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
Rachael Sewell
97594c6b59
Remove 2.21 static files ( #20952 )
2021-08-19 10:42:02 -07: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
Kevin Heis
a92d820888
Remove remaining JSON requires ( #20110 )
...
* Remove remaining JSON requires
* Lint
* Update feature-flags.js
2021-06-23 14:57:50 -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
James M. Greene
542a459c06
Move script-only dependencies to devDependencies ( #19542 )
...
* Move lib/search/sync.js to script/search/sync.js
* Move mdast-util-from-markdown to devDeps
* Move lib/redirects/add-redirect-to-frontmatter.js to script/helpers/
* Move mkdirp to devDeps
* Move linkinator to devDeps
* Move rimraf to devDeps
* Fix script/search/sync.js require paths
* Move lib/search/build-records.js to script/search/
* Move lib/search/find-indexable-pages to script/search/
* Fix require paths for build-records
* Fix require paths for find-indexable-pages
* Move lib/search/algolia-get-remote-index-names.js to script/search/
* Movbe lib/search/algolia-search-index.js to script/search/
* Move lib/search/lunr-search-index.js to script/search/
* Move lib/search/lunr-get-index-names.js to script/search/
* Fix Lunr search index paths
* Move lib/search/validate-records.js to script/search/
* Move is-url to devDeps
* Move lib/search/algolia-client.js to script/search/
* Move lib/search/parse-page-sections-into-records.js to script/search/
* Move lib/search/rank.js to script/search/
* Fix path to cached-index-names.json file
* Normalize require for fs.promises
2021-05-25 20:44:19 +00:00
Sarah Schneider
a5d52dcef0
Add landing page for GitHub Enterprise ( #19041 )
2021-05-12 11:55:32 +00:00
Sarah Schneider
879c512b65
add oneoff redirect
2021-04-26 15:35:14 -04:00
Sarah Schneider
2f7bfc15bb
some lib updates
2021-04-15 14:38:38 -04:00
skullface
53dfd7fae9
redirect to Support site, not Contact form
2021-03-04 14:53:19 +00:00
Sarah Schneider
ca3d587f58
lint
2021-02-26 13:49:24 -05:00
Sarah Schneider
2c8902f826
asyncify redirect loading
2021-02-26 13:23:50 -05:00
Sarah Schneider
7563adce8a
add enterprise-server@latest redirect to real latest version
2021-02-26 13:23:37 -05:00
Kevin Heis
408fcdf4fd
Remove an old redirect that no one has used in a long time ( #17868 )
2021-02-22 18:14:51 +00:00
Sarah Schneider
7e0e865c3f
few readme edits
2021-01-26 12:28:42 -05:00
Sarah Schneider
f01b56813f
make the enterprise developer paths more future-proof for new versions
2021-01-25 13:09:48 -05:00
Sarah Schneider
2846a160e9
draft of redirects README
2021-01-20 15:41:47 -05:00
Sarah Schneider
35b938a8f3
no longer need to precompile developer redirects now that we have the static redirects file
2021-01-19 20:51:48 -05:00
Sarah Schneider
efa186ca73
restore legacy redirect handling needed for (internal docs) links
2021-01-19 20:51:18 -05:00
Sarah Schneider
7e4286f76d
replace developer routes with static developer redirects file
2021-01-19 20:50:10 -05:00
Sarah Schneider
d060fddc6f
Merge branch 'main' of github.com:github/docs-internal into remove-legacy-redirects
2021-01-19 17:47:30 -05:00
Sarah Schneider
b47aaec71f
remove all the legacy redirect handling!
2021-01-19 17:44:42 -05:00
Sarah Schneider
ca395716c5
add latest GHES release to path
2021-01-19 17:44:24 -05:00
Sarah Schneider
e560fb229d
add new static file
2021-01-19 17:43:38 -05:00
Sarah Schneider
f0e9369a16
remove never used file
2021-01-19 16:50:21 -05:00
Sarah Schneider
02e95f583a
change path.join to path.posix.join for Windows friendliness
2021-01-19 14:47:45 -05:00
Sarah Schneider
752edcfc53
use new static redirects file instead of precompiling on every server restart
2021-01-19 10:46:32 -05:00
Sarah Schneider
a92789ab73
turn static routes file into static redirects file
2021-01-19 10:46:04 -05:00
Sarah Schneider
ba661d65b7
do not create this redirect for deprecated enterprise versions
2021-01-15 15:32:23 -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
4d4acd39ca
Merge branch 'remove-fpt' of github.com:github/docs-internal into remove-fpt-helper
2021-01-15 09:58:18 -05:00
Sarah Schneider
308e62616d
use path.join instead of string interpolation for consistency
2021-01-15 09:56:52 -05:00
Sarah Schneider
b4690547a7
remove no-longer-needed feature flag
2021-01-15 09:42:29 -05:00
Sarah Schneider
374112c55f
few tweaks to get passing tests
2021-01-14 17:08:15 -05:00