1
0
mirror of synced 2025-12-22 03:16:52 -05:00
Commit Graph

943 Commits

Author SHA1 Message Date
Sarah Schneider
36c3b108b2 Merge branch 'remove-fpt' of github.com:github/docs-internal into remove-fpt-helper 2021-01-15 11:06:16 -05:00
Sarah Schneider
a8470e9034 remove unnecessary redirect (cuts down on about 18k redirects) 2021-01-15 11:05:48 -05:00
Sarah Schneider
9ca9acd286 add comment to FPT in all-versions 2021-01-15 10:53:44 -05:00
Sarah Schneider
3ff1bfca5a account for early access 2021-01-15 10:49:12 -05:00
Sarah Schneider
51da7a9749 few tweaks 2021-01-15 10:11:17 -05:00
Sarah Schneider
4d4acd39ca Merge branch 'remove-fpt' of github.com:github/docs-internal into remove-fpt-helper 2021-01-15 09:58:18 -05:00
Sarah Schneider
308e62616d use path.join instead of string interpolation for consistency 2021-01-15 09:56:52 -05:00
Sarah Schneider
16c3fd56e0 go back to using path.join 2021-01-15 09:50:23 -05:00
Sarah Schneider
b4690547a7 remove no-longer-needed feature flag 2021-01-15 09:42:29 -05:00
Sarah Schneider
564628799c Merge branch 'remove-fpt' of github.com:github/docs-internal into remove-fpt-helper 2021-01-15 09:39:12 -05:00
Sarah Schneider
ffb4e548a0 Merge branch 'main' of github.com:github/docs-internal into remove-fpt 2021-01-15 09:38:15 -05:00
Vanessa Yuen
eaacb54422 small liquid link tag cleanup (#17280)
* remove unnecessary `render` methods
* we don't use `link_with_short_title` anymore
* remove `shortTitle` option
* remove ink_with_short_title tag test
2021-01-15 13:24:39 +00:00
github-openapi-bot
9267300253 Updating OpenAPI descriptions (#17316)
* Updating OpenAPI descriptions

* Add decorated OpenAPI schema files
2021-01-14 23:48:16 +00:00
Sarah Schneider
374112c55f few tweaks to get passing tests 2021-01-14 17:08:15 -05:00
Sarah Schneider
a78828a443 remove debugging code 2021-01-14 13:51:18 -05:00
Sarah Schneider
7c1ab5929e Merge branch 'remove-fpt' of github.com:github/docs-internal into remove-fpt-helper 2021-01-14 13:44:10 -05:00
Sarah Schneider
2b31096312 Merge branch 'main' into remove-fpt 2021-01-14 13:44:02 -05:00
Sarah Schneider
64ada8a292 remove debugging code 2021-01-14 13:35:16 -05:00
Sarah Schneider
b511758057 add remove-fpt helper function 2021-01-14 13:34:32 -05:00
Jason Etcovitch
64f015587f Use asyncTimer for loadPages and loadPageMap (#17306) 2021-01-14 17:18:05 +00:00
Sarah Schneider
ed8b46267c Merge branch 'main' of github.com:github/docs-internal into remove-fpt 2021-01-14 12:08:27 -05:00
Sarah Schneider
b6032f285c remove helper from this branch (to be re-added in child branch for easier reviewing) 2021-01-14 12:07:49 -05:00
Jason Etcovitch
0ec47e0246 Only read the frontmatter from files in warm-server (#17222)
* Add read-frontmatter.js

* Use it

* Page static read/init are async now

* Fix some blockers

* I'm confused

* Fix some more bugs

* Use frontmatter schema, ensure end fence exists

* Fix a bug

* Still read full contents for index.md files

* Remove comment

* Only get ToC items for index pages

* Readd frontmatter error and verdadero handling

* Fix some borked tests

* Simplify the code

* Add a comment

* Remove redundant variable

* Re-simplify the Page construction

* End chunk _after_ endline

* Just use Page.init
2021-01-14 10:46:59 -05:00
github-openapi-bot
b1364b06c1 Updating OpenAPI descriptions (#17294)
* Updating OpenAPI descriptions

* Add decorated OpenAPI schema files
2021-01-14 15:52:14 +10:00
Melanie Yarbrough
c2336bb11e [DO NOT MERGE] GitHub Enterprise Server 3.0 release candidate megabranch (#16479) 2021-01-13 19:16:05 -08:00
Sarah Schneider
79a7a7972f Merge branch 'main' of github.com:github/docs-internal into remove-fpt 2021-01-13 16:58:05 -05:00
Sarah Schneider
d752732b16 update refs to reinstated findPage() 2021-01-13 16:49:35 -05:00
Sarah Schneider
f0244fa645 reinstate a simplified findPage() 2021-01-13 16:49:21 -05:00
Vanessa Yuen
641ed02e81 Actions Guides sublanding page (#16740)
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
Co-authored-by: Cynthia Rich <crichID@github.com>
2021-01-11 18:30:57 +01:00
Vanessa Yuen
8c881e6b1a do not error out if TOC parent does not have attribs (#17246) 2021-01-11 09:57:05 -05:00
github-openapi-bot
ccf681e2c7 Updating OpenAPI descriptions (#17234)
* Updating OpenAPI descriptions

* Add decorated OpenAPI schema files
2021-01-08 23:54:53 +00:00
Sarah Schneider
c3e34a77db only use enterprise-server for admin links on dotcom 2021-01-08 11:16:21 -05:00
Sarah Schneider
9d318e0380 Merge branch 'main' of github.com:github/docs-internal into remove-fpt 2021-01-08 11:06:27 -05:00
github-openapi-bot
10f7f2890e Updating OpenAPI descriptions (#17209)
* Updating OpenAPI descriptions

* Add decorated OpenAPI schema files

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
2021-01-08 10:11:13 +00:00
Abby Vollmer
f5a2c56de6 Project Visby site-policy updates (change date + hide from GitHub Docs) (#17139)
and support site policy hidden articles
2021-01-07 22:44:34 +00:00
Sarah Schneider
a6c48782c6 do not rewrite deprecated GHES links 2021-01-07 16:47:57 -05:00
Sarah Schneider
2356f6ae98 use GitHub.com for version name and add some comments 2021-01-07 14:50:47 -05:00
Sarah Schneider
ead1dc202c Merge branch 'main' of github.com:github/docs-internal into remove-fpt 2021-01-07 14:43:50 -05:00
Sarah Schneider
33f93e39c7 remove overloaded helper functions and move code directly where it is used 2021-01-07 13:14:44 -05:00
github-openapi-bot
04619a24b1 Updating OpenAPI descriptions (#17202) 2021-01-07 13:12:24 +00:00
github-openapi-bot
00aed22a20 Updating OpenAPI descriptions (#17187)
* Updating OpenAPI descriptions

* Add decorated OpenAPI schema files

Co-authored-by: Sarah Edwards <skedwards88@github.com>
2021-01-07 01:09:15 +00:00
github-openapi-bot
0c5c785c76 Updating OpenAPI descriptions (#17182)
* Updating OpenAPI descriptions

* Add decorated OpenAPI schema files

Co-authored-by: Sarah Edwards <skedwards88@github.com>
2021-01-07 01:00:10 +00:00
James M. Greene
ae20d046c5 Pass the Redis database number as an option rather than in the URL (#17194)
* Pass the Redis database number as an option rather than in the URL

* Remove rogue 'console.log'
2021-01-06 18:48:21 -06:00
Sarah Edwards
65b5c707fb Merge branch 'main' into openapi-update-4c3c34d090578794b4ce8a45185511e872332f09bb45c9ed520b8415a28fbf16 2021-01-06 16:28:20 -08:00
James M. Greene
068c472084 Cache rendered pages in Redis (#17106)
* Explicitly set the Redis database number used for rate limiting

* Switch to using ioredis as the Redis client for rate limiting

* Install ioredis-mock as a primary dependency

* Create a Redis BasicAccessor class and tests

* Switch rendered page caching to use Redis for storage

* Add support for additional Redis SET options like TTLs

* Remove currently unused methods

* Rename redis-accessors/basic to redis-accessor and remove extra fluff

* Change default behavior for cache setting to throw if an error occurs

Add option allowSetFailures to facilitate graceful failures

* Allow SET failures to fail gracefully for the rendered page cache

* Remove as-yet unneeded serialization options from RedisAccessor

* Move Redis client construction into RedisAccessor constructor, just pass in databaseNumber as option

* Remove rendered-page-cache in favor of direct RedisAccessor use

* Add tests for RedisAccessor constructor param validations

* Eliminate one roundtrip to Redis for the cached HTML existence check

Are we fast yet?

* Set a rendered page cache TTL of 24 hours
2021-01-06 15:30:51 -06:00
github-openapi-bot
484cab29f1 Add decorated OpenAPI schema files 2021-01-05 18:43:28 +00:00
github-openapi-bot
c410ae48bc Updating OpenAPI descriptions 2021-01-05 10:37:58 -08:00
Kevin Heis
3582de03da Parentheticals -> parentheses (#17130) 2021-01-05 17:04:01 +00:00
Kevin Heis
4e781a553c Fix some typos in the lib directory (#17131)
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2021-01-05 15:53:05 +00:00
Jason Etcovitch
258e83346b Hide ToC items with hidden (#17107) 2020-12-30 12:55:10 -05:00