1
0
mirror of synced 2026-01-16 09:01:35 -05:00
Commit Graph

97 Commits

Author SHA1 Message Date
Sarah Schneider
a344b8f078 hide early access product TOC links 2021-06-29 19:27:54 -04: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
Sarah Schneider
7e3e75616c Merge branch 'main' of github.com:github/docs-internal into feature-versioning 2021-06-23 15:59:37 -04:00
James M. Greene
7ee7a1aaaa Merge branch 'main' into feature-versioning 2021-06-22 15:28:34 -05:00
Grace Park
23f586bb93 merge and fix conflicts 2021-06-22 11:41:10 -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
Mike Surowiec
a24d01f78a Fix NextJS 500s (#20048)
* feat: allow server to contextualize request when on a /_next/data path

* add client side routing test, run lint

* enable nextjs client side routing
2021-06-22 17:30:40 +00:00
Sarah Schneider
1188fa557e Merge branch 'main' into feature-versioning 2021-06-22 11:07:27 -04:00
Sarah Schneider
b13ac1bd85 only hide TOC items on non-early access content; we want it to display on EA pages 2021-06-21 14:40:38 -04:00
Grace Park
7f6a277a8e clear out dynamic require 2021-06-18 13:08:28 -07:00
Grace Park
8154d3b701 adding mostly readfilesync of path updates to require 2021-06-17 20:22:04 -07:00
Sarah Schneider
53291a98e2 Merge branch 'main' of github.com:github/docs-internal into feature-versioning 2021-06-17 14:42:34 -04:00
Sarah Schneider
139f9e0aac name the boolean for clarity 2021-06-17 11:45:13 -04:00
Matt Pollard
fb928dfa70 Update logic to check for valid version number in release notes middleware (#19981) 2021-06-17 13:13:30 +00:00
Sarah Schneider
737b18bc5b Merge branch 'main' of github.com:github/docs-internal into feature-versioning 2021-06-16 13:39:49 -04:00
Sarah Schneider
acdf131b98 use all instead of supported because deprecated releases get special handling 2021-06-16 11:09:13 -04:00
Sarah Schneider
0553dd0b66 prevent 500s when a bogus version like enterprise-server@3.14788585 is attempted 2021-06-16 10:40:00 -04:00
Sarah Schneider
a1c1a81b94 Merge branch 'main' of github.com:github/docs-internal into feature-versioning 2021-06-15 19:41:29 -04:00
Sarah Schneider
d96fa5e2f0 add convience props to context and put supported ops in a separate module 2021-06-14 16:24:48 -04:00
Sarah Schneider
f3312199d8 Update middleware/contextualizers/short-versions.js 2021-06-14 15:33:18 -04:00
Sarah Schneider
7466e24a9b Merge branch 'main' of github.com:github/docs-internal into support-short-versions 2021-06-11 15:25:20 -04:00
Felicity Chapman
23b0b84111 Add Code security landing and guides pages (#19650) 2021-06-10 20:14:56 +00:00
Sarah Schneider
5d6d2d2cb7 Merge branch 'main' of github.com:github/docs-internal into support-short-versions 2021-06-09 17:00:37 -04:00
Sarah Schneider
d1cf56abd5 add short names = true to context object so we can access them in Liquid conditionals 2021-06-09 16:58:19 -04:00
Sarah Schneider
7448d3f3ef exclude links to hidden pages on TOC pages 2021-06-04 14:35:28 -04:00
Sarah Schneider
25448712f8 Merge branch 'middleware-perf-part2' of github.com:github/docs-internal into middleware-perf 2021-06-04 13:58:50 -04:00
Sarah Schneider
52daa592d3 Merge branch 'main' of github.com:github/docs-internal into middleware-perf-part2 2021-06-04 13:58:30 -04:00
Sarah Schneider
c8e041832b Update middleware/contextualizers/features.js 2021-05-28 21:27:58 -04:00
Sarah Schneider
02915d5e4e add comments 2021-05-28 19:53:03 -04:00
Sarah Schneider
3a75d49a4f add middleware to enable feature-based versioning 2021-05-28 19:46:18 -04:00
Sarah Schneider
31631b4633 add localized fallbacks to English 2021-05-26 14:28:46 -04:00
Sarah Schneider
0379ba8436 lint 2021-05-24 13:46:55 -04:00
Sarah Schneider
dc44855690 preserve deprecated release notes 2021-05-24 12:39:33 -04:00
Sarah Schneider
221de41388 more merge updates 2021-05-24 12:10:58 -04:00
Sarah Schneider
de7d02af93 more merge-related updates 2021-05-24 11:59:55 -04:00
Sarah Schneider
ff718d7fc1 Merge branch 'main' of github.com:github/docs-internal into github-ae-release-notes 2021-05-24 10:00:07 -04:00
Sarah Schneider
2fcb38f30d move intro rendering back to middleware but do it conditionally 2021-05-21 16:14:14 -04:00
Sarah Schneider
14632635ca fix the path 2021-05-21 15:16:18 -04:00
Sarah Schneider
41b11d4f98 version the path 2021-05-21 15:10:00 -04:00
Sarah Schneider
c2324f893b Merge branch 'middleware-perf-part2' of github.com:github/docs-internal into middleware-perf 2021-05-21 12:24:12 -04:00
Sarah Schneider
d258e77b17 move the tree rendering steps to lib/page-data which happens during warm-server 2021-05-21 12:06:27 -04:00
Sarah Schneider
912988ed6b refactor generic-toc to be more performant 2021-05-21 12:04:10 -04:00
Sarah Schneider
50386c9d10 use new helper module in middleware 2021-05-21 12:04:00 -04:00
Sarah Schneider
1666d890bc do not blow up if translated file cannot be found 2021-05-19 12:50:07 -04:00
Sarah Schneider
2a72558592 lint 2021-05-19 12:05:05 -04:00
Sarah Schneider
c14063d22f use regex to be more precise in href matching than just startsWith 2021-05-19 11:58:34 -04:00
Sarah Schneider
023f8a5ff4 we want to run generic-toc middleware on hidden pages too 2021-05-19 10:45:23 -04:00
Sarah Schneider
7c4e1a1f0d add localization fallback 2021-05-18 20:44:02 -04:00
Sarah Schneider
a5d52dcef0 Add landing page for GitHub Enterprise (#19041) 2021-05-12 11:55:32 +00:00
Sarah Schneider
b1e1a3835f update the middleware 2021-05-07 17:34:43 -04:00