1
0
mirror of synced 2025-12-21 19:06:49 -05:00
Commit Graph

162 Commits

Author SHA1 Message Date
Emily Gould
1e5372ac79 Move Getting started category to top-level doc set (#20008)
* Move category to top-level doc set

* Move doc set to the top and update short title

* Undo package-lock changes

* updated hardcoded refs in tests

* Update test

* Fix hardcoded link in test

Co-authored-by: Sarah Schneider <sarahs@github.com>
2021-06-18 17:13:04 +00:00
Grace Park
0762734b43 fixed easy global requires 2021-06-17 18:39:38 -07:00
Grace Park
a1ec2d013b updating test with sarahs changes 2021-06-17 14:07:50 -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
Grace Park
11d0a47f9c updating test to include redirect_from on different pages 2021-06-17 11:17:36 -07:00
Sarah Schneider
0049c7868b test feature versioning in liquid conditionals 2021-06-17 11:42:02 -04:00
Sarah Schneider
7b6611a03c test feature versioning in frontmatter 2021-06-17 11:40:58 -04:00
Grace Park
5dd156c726 pages test passes 2021-06-15 14:54:47 -07:00
Sarah Schneider
ac8c65fffc update test to use short names 2021-06-15 15:03:53 -04:00
Grace Park
1823cff641 updating pages to page-data 2021-06-15 11:02:05 -07:00
Sarah Schneider
0cfa334280 update test 2021-06-14 20:20:11 -04:00
Sarah Schneider
098a6a31bf Merge branch 'support-short-versions' of github.com:github/docs-internal into support-short-versions-in-frontmatter 2021-06-14 19:53:11 -04:00
Sarah Schneider
a200a74a0f Merge branch 'main' into support-short-versions 2021-06-14 19:52:04 -04:00
Sarah Schneider
66a1dc493c support short versions in frontmatter 2021-06-14 19:51:38 -04:00
Grace Park
2c8940a8c8 updating headers of fixture 2021-06-14 14:25:14 -07:00
Sarah Schneider
37ed508ebe support not keyword and operator 2021-06-10 14:14:45 -04:00
Sarah Schneider
534996d81c change ifver to ifversion 2021-06-10 11:53:56 -04:00
Sarah Schneider
7a93a3a639 add tests for the ifver tag 2021-06-09 16:58:39 -04:00
James M. Greene
542a459c06 Move script-only dependencies to devDependencies (#19542)
* Move lib/search/sync.js to script/search/sync.js

* Move mdast-util-from-markdown to devDeps

* Move lib/redirects/add-redirect-to-frontmatter.js to script/helpers/

* Move mkdirp to devDeps

* Move linkinator to devDeps

* Move rimraf to devDeps

* Fix script/search/sync.js require paths

* Move lib/search/build-records.js to script/search/

* Move lib/search/find-indexable-pages to script/search/

* Fix require paths for build-records

* Fix require paths for find-indexable-pages

* Move lib/search/algolia-get-remote-index-names.js to script/search/

* Movbe lib/search/algolia-search-index.js to script/search/

* Move lib/search/lunr-search-index.js to script/search/

* Move lib/search/lunr-get-index-names.js to script/search/

* Fix Lunr search index paths

* Move lib/search/validate-records.js to script/search/

* Move is-url to devDeps

* Move lib/search/algolia-client.js to script/search/

* Move lib/search/parse-page-sections-into-records.js to script/search/

* Move lib/search/rank.js to script/search/

* Fix path to cached-index-names.json file

* Normalize require for fs.promises
2021-05-25 20:44:19 +00:00
Sarah Edwards
7bb65a6388 Issues etc restructuring (#19506) 2021-05-25 19:00:59 +00:00
Sarah Schneider
5978edb47b remove feature flagged code 2021-05-20 10:01:33 -04:00
Sarah Schneider
e30292c0fd add feature flagged conditionals to tests 2021-05-18 20:44:46 -04:00
Sarah Schneider
a5d52dcef0 Add landing page for GitHub Enterprise (#19041) 2021-05-12 11:55:32 +00:00
Sarah Edwards
be8aa2bccb Add tabs for cli/desktop/ui (#19071) 2021-05-04 16:53:52 +00:00
Sarah Schneider
a5d990ed6a support multiple featured tracks with versioning in raw YML, but only one featured track per version after processing 2021-04-28 13:07:16 -04:00
Sarah Schneider
0d8af5b0c7 exercise the schema in lint-files 2021-04-27 17:13:39 -04:00
Sarah Schneider
3cdc9af2c9 update refs again 2021-04-27 14:20:28 -04:00
Sarah Schneider
2054f3264c move schema files into lib/schemas and update references 2021-04-27 14:06:42 -04:00
Sarah Schneider
cd8d908691 no longer need the site.data part of these tags 2021-04-21 13:10:30 -04:00
Kevin Heis
46c16001c3 Upgrade Primer with translation shim for trashcan icon (#18735)
* Revert "Revert "Upgrade Primer CSS to 16 (#18713)""

This reverts commit c01d3e302e.

* Add a hack to handle trashcan icon in translated content
2021-04-13 18:38:04 +00:00
Mike Surowiec
c01d3e302e Revert "Upgrade Primer CSS to 16 (#18713)"
This reverts commit 49377f9096.
2021-04-13 09:19:28 -07:00
Kevin Heis
49377f9096 Upgrade Primer CSS to 16 (#18713)
* Upgrade primer to 16

* Upgrade colors in scss

* Get SCSS to build

* Initial dark mode support

* trashcan -> trash

* More specific search browser test

* Fix link color on homepage

* Update overrides.scss

* Upgrade some colors to primer variables

* Hide dark mode support for now

* Apply suggestions from code review

* Update overrides.scss
2021-04-13 16:00:46 +00: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
Sarah Schneider
520ff1bc5f Merge branch 'main' of github.com:github/docs-internal into move-product-list-to-frontmatter 2021-04-07 14:33:56 -04:00
James M. Greene
22e8d75c91 RedisAccessor tolerance for GET failures (#18586)
* Update RedisAccessor to allow for graceful GET failures, too
* Add unit tests for allowGetFailures behavior
2021-04-05 16:26:46 +00:00
Sarah Schneider
bc15682ecc Merge branch 'main' into scheduled-workflow-tests 2021-04-01 16:23:40 -04:00
Sarah Schneider
c7f647f68a update references 2021-04-01 15:29:59 -04:00
Sarah Schneider
4c7af55699 add a parallel toHaveLength test 2021-04-01 14:10:41 -04:00
Sarah Schneider
0c91835cee add tests 2021-04-01 11:12:31 -04:00
Sarah Schneider
10b13a8ebd Merge branch 'main' of github.com:github/docs-internal into scheduled-workflow-tests 2021-03-31 09:14:31 -04:00
James M. Greene
84547e54c7 Use node-redis for page cache (#18421)
* Use [node-]redis as a direct dependency

* Extract Redis client creation to its own module

* Attach extensive logging in the Redis client creation module

* Allow the rate limiter to pass requests when Redis is disconnected

* Update rate-limit-redis

* Default error input to empty object for formatRedisError method

* Provide a name for the rate limiter's Redis client

* Include redis-mock, exclude ioredis/ioredis-mock

* Remove unused RedisAccessor#exists method

* Switch RedisAccessor to use redis/redis-mock

* Provide a name for logging on the Redis page cache

* Remove extraneous trailing space from Redis logging prefix

Our updated use of console.* will already be adding a space after the prefix

* Replace ioredis-mock with redis-mock in tests

* Revert removal of ioredis dependency

* Bind Redis client to async promisified methods

* Extract former RedisAccessor constructor tests to new create-client tests

* Update RedisAccessor tests to work with the callback-based redis client

* Handle formatting Redis errors (or not) with more resiliency
2021-03-29 17:34:22 +00:00
Sarah Schneider
df6be79b0f Merge branch 'main' of github.com:github/docs-internal into scheduled-workflow-tests 2021-03-24 13:27:00 -04:00
Matt Pollard
4ce3cb1fb1 Document enterprise policies for GitHub Advanced Security (#18263) 2021-03-22 16:20:27 +00:00
Sarah Schneider
d7f78d8238 use regex as a less brittle check for any number of zeros 2021-03-18 13:55:17 -04:00
Sarah Schneider
d0a136caee add tests to ensure workflow crons are unique and do not run at top of the hour 2021-03-18 13:39:59 -04:00
Rachael Sewell
02ee72fa25 add topics attribute to search (#18212) 2021-03-17 13:11:29 -07:00
Sarah Schneider
5006cdaff2 add tests 2021-03-17 10:30:16 -04:00
Rachael Sewell
01e52046f0 migrate away from AWS S3 (#17669) 2021-02-12 10:25:45 -08:00
Jason Etcovitch
e68e6a5185 Revert "Revert "Absorb @github-docs/frontmatter (#17783)" (#17793)" (#17799)
* Revert "Revert "Absorb @github-docs/frontmatter (#17783)" (#17793)"

This reverts commit 11baf43eee.

* Move revalidator to depedencies
2021-02-11 11:15:59 -05:00
Jason Etcovitch
11baf43eee Revert "Absorb @github-docs/frontmatter (#17783)" (#17793)
This reverts commit 1e96c03489.
2021-02-10 20:28:41 +00:00