1
0
mirror of synced 2026-01-07 09:01:31 -05:00
Commit Graph

544 Commits

Author SHA1 Message Date
Sarah Schneider
1188fa557e Merge branch 'main' into feature-versioning 2021-06-22 11:07:27 -04:00
Sarah Schneider
04b6c07c8e Merge branch 'main' of github.com:github/docs-internal into feature-versioning 2021-06-22 10:26:02 -04:00
Sarah Schneider
c34e3e06e8 Merge branch 'main' into fix-early-access-tocs 2021-06-22 10:05:52 -04:00
Grace Park
ee58981b6a Merge branch 'main' into dynamic-esm 2021-06-21 13:35:30 -07:00
Mike Surowiec
b084dbc23d React: Enable all remaining pages (#20012)
* enable all remaining pages

* update tests for survey, filter card dropdowns

* fix search test

* fix: mobile search layout

* update sidebar test

* fix: learning track page is optional

* fix broken links
2021-06-21 19:52:58 +00: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
9401a8f13a Merge branch 'main' into upgrade-esm 2021-06-18 13:13:53 -07:00
Grace Park
7f6a277a8e clear out dynamic require 2021-06-18 13:08:28 -07:00
Grace Park
b688ac036c update instrument middleware 2021-06-18 12:14:08 -07:00
Mike Surowiec
5991ffb1af Enable more react sub-sections (#20004) 2021-06-18 08:30:32 -07:00
Grace Park
8154d3b701 adding mostly readfilesync of path updates to require 2021-06-17 20:22:04 -07:00
Grace Park
0762734b43 fixed easy global requires 2021-06-17 18:39:38 -07:00
Sarah Schneider
62ba27c8ea Merge branch 'main' of github.com:github/docs-internal into feature-versioning 2021-06-17 15:59:50 -04:00
Mike Surowiec
ba95c6240e NextJS: enable a sponsors, organizations, discussions, and billing subsections (#19998) 2021-06-17 19:37:50 +00:00
Sarah Schneider
53291a98e2 Merge branch 'main' of github.com:github/docs-internal into feature-versioning 2021-06-17 14:42:34 -04:00
Mike Surowiec
5396f5f9e4 React: All landing pages (#19943)
* default all remaining landing pages to react, update tests
2021-06-17 10:04:53 -07: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
Mike Surowiec
83e33cc9bb Quiet sass warnings (#19960)
* npm install sass@latest

* add quietDeps: true to webpack config

* prevent error message from hmr abort, cleans up the log

Co-authored-by: Sarah Schneider <sarahs@github.com>
2021-06-16 19:47:01 +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
Mike Surowiec
306f6fc75e Enable more react pages (#19935)
* enable more react landing pages

* move nextjs page logic to separate middleware

* enable codespaces landing page + fixes

* enable /education

* enable /admin

* use pathToRegexp to match routes for react rendering

* run lint

* fix: typo in url

* update sidebar test
2021-06-15 13:31:17 -07:00
Sarah Schneider
a200a74a0f Merge branch 'main' into support-short-versions 2021-06-14 19:52:04 -04:00
Mike Surowiec
6fbfa7d263 feat: add catch for bad accept-language header, prevent downstream 500 (#19909) 2021-06-14 22:45:29 +00: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
47d78cc105 Merge branch 'main' of github.com:github/docs-internal into support-short-versions 2021-06-14 16:16:43 -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
Grace Park
c2953a5ea7 Merge branch 'main' of https://github.com/github/docs-internal into grace-header-styling 2021-06-11 12:07:23 -07:00
Mike Surowiec
ae33dae11f More react default pages (#19863)
* turn on more default react landing pages
2021-06-11 18:35:41 +00:00
Grace Park
ee34fb0c09 remove line break 2021-06-10 18:20:58 -07:00
Grace Park
e2168885f4 add back spacing 2021-06-10 18:20:08 -07:00
Grace Park
3f248976ad Merge branch 'main' of https://github.com/github/docs-internal into grace-header-styling 2021-06-10 18:08:33 -07:00
Felicity Chapman
23b0b84111 Add Code security landing and guides pages (#19650) 2021-06-10 20:14:56 +00:00
Sarah Schneider
6076350495 Merge branch 'main' of github.com:github/docs-internal into support-short-versions 2021-06-10 14:13:34 -04:00
Kevin Heis
ef48759cb0 React: remove expose (#19771)
* 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>
2021-06-10 16:53:43 +00:00
Grace Park
c8ceeb35f2 Merge branch 'main' of https://github.com/github/docs-internal into grace-header-styling 2021-06-10 09:37:13 -07: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
Mike Surowiec
108377b209 add more react default rendered pages, fix toc items (#19783) 2021-06-08 15:35:32 -07:00
Kevin Heis
26a8e61d3a Update survey to use React/TS (#19728)
* Update survey to use React/TS

* Working survey form in react land

* A little cleanup

* Update Search.tsx

* Update Survey.tsx

* Remove token field from schema entirely, just let it fail validation

* Update events.js

* Update survey.html

* use Link component

* Use enum for state

* Update old to match new
2021-06-08 17:34:45 +00:00
Mike Surowiec
37499b80d2 Reactify article page rendering (#19679)
* feat: reactify article page rendering

* feat: add LearningTrackNav

* fix: use plain text title for article
2021-06-07 22:56:33 +00:00
Grace Park
e8c6d272d0 Merge branch 'main' into localization-grace 2021-06-07 13:19:03 -07: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
Grace Park
05fb4cb9b2 adding just the styling for header update 2021-06-04 10:29:21 -07:00
Mike Surowiec
6bdbe209c9 Default sponsors+discussions pages to nextjs rendering (#19667)
* default to nextjs rendering on sponsors and discussions pages
2021-06-03 11:17:15 -07:00