* Move redirect calculation from loadPages to loadRedirects
* Make buildredirects a method for tests
* Update redirects.js
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
* Revise the 'pages' module to export two methods: 'loadPages' and 'loadPageMap'
Update all existing references to use 'loadPages' for now
* Remove explicit Promise resolutions on loadPage* methods
* Condense reduction method into its now-singular usage spot
* Opt for for-of instead of forEach
* Make require of pages in warm-server more explicit
* Be more explicit about find-page using a pageMap
* Be more explicit about find-page-in-version using a pageMap
* Be more explicit about site-tree using a pageMap
* Extract the map creation from loadPageMap
* Be more explicit about using a pageMap
* Update redirects precompile to take two arguments: pageList, pageMap
* Rename internal loadPages method to loadPageList
* Clarify pageMap is what is stored in context.pages
* Use loadPageMap in tests and stuff
* chore: Move standard to ESLint config
* fix: auto-fix ESLint indent issues
* fix: ESLint prefer-regex-literals
* fix: ESLint array-callback-return
- .filter must return a boolean value
- .map replaced with forEach when the value isn't used
* fix: ESLint no-extra-semi
* Version password examples for GHES only
* Remove unnecessary note
* Versioned deprecation reusable for GHES only?
* Update troubleshooting article
* Version OAuthorizations REST API page for enterprise-only
* Remove deprecations reusable
* Add tentative note
* Rework two-factor authentication sections
* Fix double redirect reference
* versioning tweak
* Versioning tweaks
* adding back the endifs
* random link reformatting
* OAuth Authorization API versioned for 2.22
* /
* Fix internal docs links
* remove static redirect for dotcom
* Try deleting redirect
* Apply @martin389's suggested changes
Co-authored-by: Martin Lopes <54248166+martin389@users.noreply.github.com>
* Remove best practice assumptions
* Apply suggestions from code review
Co-authored-by: Martin Lopes <54248166+martin389@users.noreply.github.com>
* Add note
* restore redirects in content file and remove free-pro-team expected path from test fixture
* change note position
* handle path that was available on dotcom in developer site but is now GHES only
Co-authored-by: Martin Lopes <54248166+martin389@users.noreply.github.com>
Co-authored-by: Sarah Schneider <sarahs@github.com>