* 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>
* Add custom hover shadows
* Support avatars
* Add guide-card include
* Use it in product-landing
* Add gradient styles
* Add guides frontmatter
* Use guideArticles instead of full objects
* Add support for authors
* Add support for category header
* Just pass the whole page
* Use it
* guide.url => guide.href
* Use `*.githubusercontent.com`
* Fix mobile card width
* Remove showDescription check
* Use featureLinks.guideCards
* Forgot an if
* Add contextualizers/actions-code-examples
* Use code-example-card include
* Tweak sizing/shadows
* Add a basic filterer
* Some visual tweaks
* labels => tags
* Cleanup some code
* Improve spacing on mobile
* Add "No results!" blurb
* Fix a boog
* Tweak spacing
* Remove support banner
* Improve "No results" state
* Just use login instead of name/avatarUrl
* Change card spacing
* Use circular avatars
* Add "Show more" button
* Add margin beneath "Guides"
* Use smaller font
* Assume github.com for code examples
* Show two columns at small screen
* Make "Show more" a btn
* Use the "repo" octicon
* Link to contributing guide
* Use a YAML file instead of a middleware
* Link straight to the file
* Fix some wonky markuip
* Fix a broken link
* Fix the borked test
* Allow variables that aren't strings
* Fix remaining tests
* add frontend search support for GHAE version
* add support for GHAE version to Algolia sync
* add browser tests for frontend search
* if a version can be derived from a path, but it is not a real version (like from a path that 404s), fall back to dotcom
* Update javascripts/search.js
* Update lib/algolia/sync.js
* Add/use small-footer
* Fix borked HTML
* Extract scripts to new include
* Add spacing
* Fix some padding
* Fix a test that uses /actions
* Fix old links
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
* Update /developers in general footer
* Don't hard code free-pro-team
* Use the small-footer everywhere
* Tweak border
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
* Add featuredLinks to frontmatter
* Parse them in featured-links.js
* Remove old raw setup
* Use them
* Missed a couple
* Update translation files
* Fix frontmatter schema
* Loop over the right object
* Also update translations' usage
* Update docs and tests
* Better README comment
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
* Return next()
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
* throw an error if a page is available in a version that its parent product is not available in
* add tests
* fix one Insights content file versioned for FPT when Insights is only available in GHES currently