* React: remove expose
* Update context.js
* More changes
* fix: scripts check for IS_NEXTJS_PAGE so there's no timing issue
* run lint
Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
* Move article from github directory as a top-level product
* Update article titles
* Remove old -ing article titles
* Use older format for this PR
* Finish updating links for retitled articles
* Remove sponsors topic
* Add sponsors to index.md
* Create folder for map topic for sponsors
* Add integrating folder/category with super basic graphql article
* Add get started category/folder
* Update index.md
* Add articles to category folders and update all the links and check it out locally 🙏
* Fix space
* Fix set of broken links
* Update link in resuable
* Add the quickstart
* Add USD
* Add matching donations caveat
* fix ci failures
* Bringing back `-ing` to Sponsors titles, categories, & links (#18817)
* Bringing back -ing
* The one that got away
* Apply @ethanpalm's input
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
* Apply product input
* Apply suggestions from code review
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
* Apply @emilyistoofunky's input
* Sponsors landing page design (#18774)
* Add sponsors to index.md as a top-level product
* Revamp the GitHub Sponsors landing page with article links
* remove merge tags
* add community section
* add sponsor descriptions
* swap repo for user
* remove prefix tag
* lint
* remove topic fix landing page
* Tweak articles on landing page
* Drop "account"
* Add quickstart
* Bigger, brighter, and shorter intro
* Possibly too long of an intro?
* fix quickstart link
* add guides page
* fix error for mismatch between title and filename
* use link over guid
* remove HTML from layout file (aligns to #18811)
* use variable for section title
* Add intro
* Remove beta
* Apply suggestions from code review
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
* Apply suggestions from code review
* Integrate article changes and remove old TOC
* Fixing the commented out text to match other landing pages 👓
* Apply suggestions from code review
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
* Switch up order of sidebar categories
* Add new text to landing page button
* Add topics and types
* Add the underscore
* Add some more topics
* fix `type:`
* Fix topics
* plural ftw
* hide learning paths when not defined
* lint
* Add quickstart to guides page
* remove unused sidebar links
* hide subsection title when learning tracks are not present
* Apply @emilyistoofunky's topics input
* Remove duplicated topics
* Events ftw
* typo
* Remove obsolete topics for now
* add some temporary duplicate topics
* Resolve Linter error
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Emily Gould <4822039+emilyistoofunky@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
* remove outdated and redundant context.enterpriseVersions and add new context.enterpriseServerVersions
* update references from context.enterpriseVersions -> context.enterpriseServerReleases
* add test
* also test oldest supported enterprise version in addition to the latest
* Script to update not-free-pro-team conditionals (#16060)
* script to update not-free-pro-team conditionals
* change string to regex so we can do replace all
* remove stray test.only
* Update middleware/context.js
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* Update tests/unit/page.js
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* Update tests/unit/page.js
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* Update tests/fixtures/page-versioned-for-all-enterprise-releases.md
Co-authored-by: James M. Greene <JamesMGreene@github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* remove FEATURE_NEW_VERSIONS from feature-flags.json
* remove process.env.FEATURE_NEW_VERSIONS from include files
* remove process.env.FEATURE_NEW_VERSIONS from lib files
* remove process.env.FEATURE_NEW_VERSIONS from middleware files
* remove process.env.FEATURE_NEW_VERSIONS from script files
* remove process.env.FEATURE_NEW_VERSIONS from test files
* update test fixtures to use new versions as canonical fixtures