1
0
mirror of synced 2026-01-06 06:02:35 -05:00
Commit Graph

102 Commits

Author SHA1 Message Date
Grace Park
2c8713037d Move deploy keys from deployments to keys in rest pages (#26166)
* move deploy keys from deployments to keys in rest pages

* move minitocs above intro

* Update content/rest/reference/keys.md

Co-authored-by: Sarah Edwards <skedwards88@github.com>

* add to banner, add redirects from deployments

* remove deploy keys from deployments intro

* update data/reusables name

* update - to _

* update script and add redirects for subcategories turned categories

Co-authored-by: Sarah Edwards <skedwards88@github.com>
2022-03-17 17:25:12 +00:00
Laura Coursen
59618c6ad9 [GHEC version] Version content for IP allow lists (#26067) 2022-03-11 08:56:46 -06:00
Laura Coursen
994340bb89 [GHEC version] Version content about setting permissions for adding outside collaborators (#25993) 2022-03-09 15:30:37 +00:00
Robert Sese
79c48070c4 Deprecate 3.0 (#25646)
* Deprecate 3.0

* 3.0 deprecation: remove 3.0 markup (#25647)

* Remove liquid conditionals and content for 3.0 deprecation

* Remove manually, no longer versioned in a supported version

* Remove translations manually, no longer versioned in a supported version

* Remove 'if', now in all supported versions

* Remove dangling 'elseif', now in all supported versions

* Remove dangling 'elseif' and 3.0 screenshot reference, now in all supported versions

* Nudge to latest supported GHES version

* Nudge to latest supported release GHES version

* Bump all the version for the liquid tests

* Bump first deprecated version for linting tests

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Remove extra newline

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Remove extra newline

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Remove extra newline

Co-authored-by: Laura Coursen <lecoursen@github.com>

* One reusable per line

Co-authored-by: Laura Coursen <lecoursen@github.com>

* One reusable per line

Co-authored-by: Laura Coursen <lecoursen@github.com>

* One reusable per line

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Don't depend on hardcoded versions

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Remove static files for 3.0 deprecation (#25649)

Co-authored-by: Laura Coursen <lecoursen@github.com>
2022-03-03 13:08:24 -06:00
Peter Bengtsson
627ef25cab .redirects-cache_en_ja.json should not be checked in (#25537)
* .redirects-cache_en_ja.json should not be checked in

* still ignore

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2022-02-22 18:22:59 +00:00
Laura Coursen
50d767cce1 SAML recovery codes for enterprise accounts (#25373) 2022-02-17 08:13:29 -06:00
Lucas Costi
e6af9ae1e6 Remove Actions REST enterprise subcategory (moved to Actions page) (#25065)
Co-authored-by: Rachael Sewell <rachmari@github.com>
2022-02-17 15:18:07 +10: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
1f93fe29ee denormalize archived-redirects-from-213-to-217.json by language (#24996)
* denormalize archived-redirects-from-213-to-217.json by language

* refactor again

* oops
2022-02-09 18:58:34 +00:00
Rachael Sewell
ef4dee2e7d Revert "Revert "rest/reference/repos#statuses redirect"" (#24559) 2022-01-27 22:09:20 +00:00
Felicity Chapman
e8a74820ed Add one more missing redirect (#24644) 2022-01-26 09:16:38 +00:00
Laura Coursen
9c8fa0c1da Add redirects (#24641) 2022-01-25 17:58:50 -06:00
Felicity Chapman
a6d17966f9 Update versioning for FPT/GHEC in secret scanning articles (#24513) 2022-01-25 14:48:35 +00:00
Rachael Sewell
91fbe1dd95 Revert "rest/reference/repos#statuses redirect (#24478)" (#24557) 2022-01-24 09:26:08 -08:00
Sarah Edwards
8228d02774 rest/reference/repos#statuses redirect (#24478) 2022-01-24 16:11:43 +00:00
Steve Guntrip
e76fef9ed8 Incorporate feedback into Enterprise Managed Users articles 2022-01-18 14:38:07 +00:00
Steve Guntrip
11d193bd7f Reorganize support articles 2022-01-18 13:24:02 +00:00
Rachael Sewell
a340162d84 reorganize repository apis (#23728)
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-01-11 11:53:12 +10:00
Peter Bengtsson
dc4dd84eb9 remove /de/ statid developer.json redirects (#23655) 2021-12-13 17:05:01 -05:00
Rachael Sewell
b2411af10b remove german redirects (#23594) 2021-12-13 21:21:56 +00:00
Peter Bengtsson
51e1b14c4e improve test debugging and loading of cached redirects json file (#23584)
* improve test debugging and loading of cached redirects json file

* exception for testing 500 page itself
2021-12-13 16:20:05 +00:00
Laura Coursen
402cf49b41 Update versioning for SAML SSO (#23530) 2021-12-13 09:28:48 -06:00
Peter Bengtsson
1c4d326116 Make the staging files, for deployments, as lean as possible (#23049)
* Experiment with making the tarball smaller

Part of #1248

* try this

* stop debugging

* delete translations too

* delete heavy search indexes too

* push and popd

* try this hack

* delete but leave directory

* debug more

* faster delete of translations

* less loud

* async await

* async await

* no tree

* simplify

* experimenting more

* unfinished

* only the large files

* change order

* brotli with level 6

* cope better with decorated rest json files

* tidying

* keep images

* cleaning

* cleaning up

* refactored function

* try this

* better comment

* remove console logging

* more important changes

* improved fs.accessSync check
2021-12-01 19:01:46 +00:00
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