1
0
mirror of synced 2025-12-22 19:34:15 -05:00
Commit Graph

70 Commits

Author SHA1 Message Date
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
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
Sarah Schneider
aa0c801f9c Merge branch 'main' of github.com:github/docs-internal into github-ae-release-notes 2021-05-06 15:57:26 -04:00
Sarah Schneider
af519b5131 use article layout for TOCs instead of new separate generic-toc layout that has to be maintained 2021-04-21 13:05:52 -04:00
Sarah Schneider
324d5d7da7 use rendered title in breadcrumbs 2021-04-20 14:04:42 -04:00
Sarah Schneider
b5ffeb8e73 parse Liquid in titles in siteTree and use full titles in generic TOC but short titles in sidebar 2021-04-20 14:02:12 -04:00
Sarah Schneider
5d03537551 differentiate between TOCs with grandchildren vs. only children 2021-04-20 11:15:03 -04:00
Sarah Schneider
d1524b16a5 add feature flagged middleware 2021-04-15 14:46:16 -04:00
Sarah Schneider
974b3bb148 add new middleware contextualizers that are feature flagged 2021-04-15 14:36:16 -04:00
Sarah Schneider
03ee839af6 Merge branch 'main' into add-layouts-middleware 2021-04-13 16:03:36 -04:00
Sarah Schneider
1623191243 extract layout handling into separate middleware 2021-04-13 14:24:06 -04:00
Mike Surowiec
02cfde71bf Merge branch 'main' into prerender-gql-input-objects 2021-04-12 07:21:18 -07:00
Mike Surowiec
9185eb3c2a pre-render graphql input-objects
resolves #18269
2021-04-09 08:32:42 -07:00
Vanessa Yuen
bbd9f03f6e Populate product-landing "What's new" section using GitHub Changelog (#18328)
Co-authored-by: Jason Etcovitch <jasonetco@github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
2021-04-08 20:51:37 +00:00
Rachael Sewell
0df04f99c5 deprecate 2.20 version (#18354) 2021-03-23 19:38:04 +00:00
Sarah Schneider
fb0cb29b94 add convenience props to context obj for use in release notes layout 2021-03-19 10:20:14 -04:00
James M. Greene
c940dcd98b Middleware overhaul! (#18218)
* Middleware overhaul!

- Remove unnecessary 'async' keywords from middleware functions
- Ensure all middleware functions we create have names
- Wrap the method contents of all async middleware functions in a try-catch+next(error) pattern

* Use asyncMiddleware wrapper instead of try-catch+next(error) pattern

* Remove unnecessary try-catch+next(error) pattern from context middleware
2021-03-11 01:12:41 +00:00
Sarah Schneider
063e22d151 re-combine release notes middleware 2021-03-08 15:03:34 -05:00
Sarah Schneider
b3fa73acd8 filter out deprecated patches in release notes middleware 2021-03-04 14:48:38 -05:00
Sarah Schneider
8eb1e69586 separate the middleware for enterprise server vs. github-ae release notes 2021-03-01 17:03:33 -05:00
Jason Etcovitch
5cabf531da Convert .rc* versions to proper semver, then compare (#17600) 2021-02-01 19:13:35 +00:00
Jason Etcovitch
1bf93673ec Add release notes for GHES 3.0.0.rc2 (#17547)
* Add 0-rc2

* Started adding release notes

* added more line items

* finished initial draft of enterprise 2 fix notes

* some more line items added

* updated known issues and took out rc1 fixes

* added download link bug fix

* added new known issues identified in rc2

* Fix a typo

* Lint YAML

* Tweak sorting for new version schem

* Use today's date

* removed links to PRs and reduced notes to most important ones

* Fix indentation

* bug_fixes => bugs

* spruce it up

* typo

* update without changes

Co-authored-by: Amulya Raja <53104849+amulyaraja@users.noreply.github.com>
Co-authored-by: Maya <maya-ross@github.com>
Co-authored-by: Meg Bird <megbird@github.com>
2021-01-29 15:25:50 -07:00
Jason Etcovitch
591e22d8b1 Rename release notes for 3.0.0-rc to 3.0.0.rc (#17510)
* Change -rc versions to .rc\d*

* Fix the download link

* Rename to 3.0.0.rc1
2021-01-27 15:27:48 +00:00
Sarah Schneider
3bf432e656 refactor 2021-01-15 11:21:52 -05:00
Sarah Schneider
a394190ad6 Merge branch 'remove-fpt' of github.com:github/docs-internal into remove-fpt-helper 2021-01-14 17:13:06 -05:00
Sarah Schneider
ecaec6e78e Merge branch 'main' of github.com:github/docs-internal into remove-fpt 2021-01-14 17:12:27 -05:00
Rachael Sewell
81a9415ff4 fix GraphQL exception (#17274) 2021-01-14 11:17:43 -08:00
Sarah Schneider
b511758057 add remove-fpt helper function 2021-01-14 13:34:32 -05:00
Sarah Schneider
ed8b46267c Merge branch 'main' of github.com:github/docs-internal into remove-fpt 2021-01-14 12:08:27 -05:00