Граф коммитов

747 Коммитов

Автор SHA1 Сообщение Дата
Sarah Schneider ce37aae86a use scope.environments instead of context in liquid tag rendering 2021-04-22 09:33:20 -04:00
Rachael Sewell ae4cddcf13
OpenAPI bug fixes (#18625) 2021-04-21 15:09:36 -07:00
Sarah Schneider 6c51a6b970 also pass the processed selector, not the original selector 2021-04-21 15:00:51 -04:00
jmarlena 1fc4c3f68b
Article restructuring for Sponsors landing page (#18772)
* Move article from github directory as a top-level product

* Update article titles

* Remove old -ing article titles

* Use older format for this PR

* Finish updating links for retitled articles

* Remove sponsors topic

* Add sponsors to index.md

* Create folder for map topic for sponsors

* Add integrating folder/category with super basic graphql article

* Add get started category/folder

* Update index.md

* Add articles to category folders and update all the links and check it out locally 🙏

* Fix space

* Fix set of broken links

* Update link in resuable

* Add the quickstart

* Add USD

* Add matching donations caveat

* fix ci failures

* Bringing back `-ing` to Sponsors titles, categories, & links (#18817)

* Bringing back -ing

* The one that got away

* Apply @ethanpalm's input

Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>

Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>

* Apply product input

* Apply suggestions from code review

Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>

* Apply @emilyistoofunky's input

* Sponsors landing page design (#18774)

* Add sponsors to index.md as a top-level product

* Revamp the GitHub Sponsors landing page with article links

* remove merge tags

* add community section

* add sponsor descriptions

* swap repo for user

* remove prefix tag

* lint

* remove topic fix landing page

* Tweak articles on landing page

* Drop "account"

* Add quickstart

* Bigger, brighter, and shorter intro

* Possibly too long of an intro?

* fix quickstart link

* add guides page

* fix error for mismatch between title and filename

* use link over guid

* remove HTML from layout file (aligns to #18811)

* use variable for section title

* Add intro

* Remove beta

* Apply suggestions from code review

Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>

* Apply suggestions from code review

* Integrate article changes and remove old TOC

* Fixing the commented out text to match other landing pages 👓

* Apply suggestions from code review

Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>

* Switch up order of sidebar categories

* Add new text to landing page button

* Add topics and types

* Add the underscore

* Add some more topics

* fix `type:`

* Fix topics

* plural ftw

* hide learning paths when not defined

* lint

* Add quickstart to guides page

* remove unused sidebar links

* hide subsection title when learning tracks are not present

* Apply @emilyistoofunky's topics input

* Remove duplicated topics

* Events ftw

* typo

* Remove obsolete topics for now

* add some temporary duplicate topics

* Resolve Linter error

Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>

Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
2021-04-21 11:48:19 -07:00
Sarah Schneider 5ddaafb6ba use wrapper from options instead of hardcoded div 2021-04-21 14:43:24 -04:00
Sarah Schneider 3457258f6d update README 2021-04-21 13:00:25 -04:00
Sarah Schneider 8208a2b6bb use site.data 2021-04-21 12:53:32 -04:00
Sarah Schneider cb1bac9b78 Merge branch 'main' of github.com:github/docs-internal into update-new-site-tree-deps 2021-04-20 14:06:04 -04:00
rachmari 0c383063fb Action ran graphql script"update-files" 2021-04-20 16:38:33 +00:00
Sarah Schneider e5b1ccf6fd remove redundant require 2021-04-19 12:17:40 -04:00
Sarah Schneider 1fb582522f Merge branch 'main' of github.com:github/docs-internal into update-new-site-tree-deps 2021-04-19 12:15:10 -04:00
github-openapi-bot 1e458bbc0a
Update OpenAPI Descriptions (#18849) 2021-04-17 01:00:35 +00:00
github-openapi-bot b83ccc85ed
Update OpenAPI Descriptions (#18828) 2021-04-15 23:38:00 +00:00
Sarah Schneider 26c351f4ff Merge branch 'main' of github.com:github/docs-internal into update-new-site-tree-deps 2021-04-15 14:46:27 -04:00
Sarah Schneider 2f7bfc15bb some lib updates 2021-04-15 14:38:38 -04:00
Sarah Schneider 2a12a3c599 go back to ignoring translated paths that do not exist because we cannot initialize a fake translated page using the English base path 2021-04-15 14:37:43 -04:00
Sarah Schneider cccccf0e00 introduce a document-type helper 2021-04-15 14:16:47 -04:00
Sarah Schneider ffab962410
Merge branch 'main' into update-categories-json 2021-04-15 12:51:29 -04:00
github-openapi-bot bff076d792
Update OpenAPI Descriptions (#18752)
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Sarah Edwards <skedwards88@github.com>
2021-04-15 15:37:25 +00:00
Sarah Schneider 18b91cd3b1
Merge branch 'main' into update-categories-json 2021-04-15 10:29:46 -04:00
Mike Surowiec cf886a385c fix: enterprise server releases layout and mini toc contents 2021-04-14 12:02:17 -07:00
rachmari 8b8eb20d82 Action ran graphql script"update-files" 2021-04-14 16:37:19 +00:00
Sarah Schneider 3a2839cb17 differentiate between title and shortTitle in siteTree 2021-04-14 10:35:10 -04:00
github-openapi-bot ace058356a
Update OpenAPI Descriptions (#18715) 2021-04-13 13:11:15 -07:00
Mike Surowiec 10b7603af0
Merge branch 'main' into prerender-gql-input-objects 2021-04-13 12:47:41 -07: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
Mike Surowiec 4b746d037e
Merge branch 'main' into prerender-gql-input-objects 2021-04-13 08:31:56 -07:00
Mike Surowiec 02cfde71bf
Merge branch 'main' into prerender-gql-input-objects 2021-04-12 07:21:18 -07:00
Mike Surowiec e8a65dba8a hydro: allow grouping of response stats by code 2021-04-10 14:06:22 -07:00
Mike Surowiec 9185eb3c2a pre-render graphql input-objects
resolves #18269
2021-04-09 08:32:42 -07:00
Sarah Schneider 5209705a52 Merge branch 'refactor-site-tree' of github.com:github/docs-internal into refactor-site-tree 2021-04-09 09:41:57 -04:00
Sarah Schneider 35922bc57c fall back to English if translated path not found 2021-04-09 09:36:10 -04:00
Sarah Schneider a08cd650d4 set basePath as constant 2021-04-09 09:15:37 -04:00
Sarah Schneider a2e2017e57 only require fs.promises 2021-04-09 09:11:01 -04:00
Sarah Schneider d9a630294f remove commented out code 2021-04-09 09:10:01 -04:00
Sarah Schneider 7c4240bea4 Merge branch 'main' of github.com:github/docs-internal into refactor-site-tree 2021-04-09 09:09:13 -04: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
Mike Surowiec 09dfd19093 fix: statsd prefix doesn't work as intended, clean up stats scoping 2021-04-08 09:48:17 -07:00
Mike Surowiec a9bde76bfc fix: hydro status code metric 2021-04-08 09:43:09 -07:00
Mike Surowiec f79d23ccb9
Merge branch 'main' into webhook-response-no-hydro 2021-04-08 08:41:01 -07:00
github-openapi-bot c07fccc426
Update OpenAPI Descriptions (#18627) 2021-04-08 10:05:13 +01:00
github-openapi-bot e69151f35f
Update OpenAPI Descriptions (#18613)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com>
2021-04-07 18:19:46 -07:00
Sarah Schneider c91b17d8b2 remove duplicate children frontmatter prop from schema 2021-04-07 19:38:01 -04:00
Sarah Schneider 47a46163dd Merge branch 'main' of github.com:github/docs-internal into refactor-site-tree 2021-04-07 19:31:11 -04: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
Sarah Schneider 0eebfc486b fix some pass-by-reference issues 2021-04-07 14:30:42 -04:00
Sarah Schneider ad28189ac2 Merge branch 'main' of github.com:github/docs-internal into refactor-site-tree 2021-04-07 14:29:03 -04:00
Octomerger Bot d8e8f6df1d
Branch was updated using the 'autoupdate branch' Actions workflow. 2021-04-08 02:48:14 +10:00
Shati Patel b7bbc707a9
Updating product landing page to include CodeQL (#18150) 2021-04-07 16:47:45 +00:00
rachmari 2f39e0984c Action ran graphql script"update-files" 2021-04-07 16:37:49 +00:00
Mike Surowiec d29866b9aa Merge branch 'main' into webhook-response-no-hydro 2021-04-07 07:59:59 -07:00
Mike Surowiec db4695da14 fix: use asyncTimer properly 2021-04-06 16:49:20 -07:00
Mike Surowiec 720c194854 fix: remove semicolons 2021-04-06 16:38:45 -07:00
Mike Surowiec 57311c8c46 fix: remove field.paths from err 2021-04-06 16:37:51 -07:00
Mike Surowiec 8998e52dc0 move hydro sentry error out of /events, to hydro 2021-04-06 16:28:41 -07:00
Mike Surowiec 008faf57eb improve sentry reporting, add metrics for hydro 2021-04-06 16:21:40 -07:00
Laura Coursen fe9ccfd0f4
Release discussions (#18515) 2021-04-06 12:51:57 -05: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 8fa7b9c4ee
add ko-fi.com (#18583) 2021-04-05 09:10:31 -07:00
James M. Greene 92f8f72593
Add a Redis PING every minute to keep the connection alive (#18584)
* Add a Redis PING every minute to keep the connection alive
2021-04-05 15:59:50 +00:00
James M. Greene 920daecd4d
Redis hardening: retry strategy (#18565)
* Add an error handler to ensure the Redis server connection is forcibly closed
* Explain unknown errors are usually server idle timeouts
* Add an automatic retry_strategy
* Explicitly set connect_timeout to the default value of 1 hour
2021-04-05 15:49:46 +00:00
github-openapi-bot 10fef4dfad
Update OpenAPI Descriptions (#18553)
Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-04-02 15:45:24 -07:00
Sarah Schneider 107b8e5bc0
Move scheduled tasks code into docs repo (#17926)
Co-authored-by: Rachael Sewell <rachmari@github.com> - https://github.com/github/docs-internal/pull/18453
2021-04-02 12:42:41 -07:00
Sarah Vessels 2b21146d23
Add new fields to sample Sponsors webhooks (#18548) 2021-04-02 17:11:58 +00:00
James M. Greene 7cd58b06c7
Redis: prevent offline queuing and retries for commands (#18561)
* Add an error handler to ensure the Redis server connection is forcibly closed
* Disable the Redis offline queue and retries
2021-04-02 15:28:24 +00:00
Sarah Schneider 922c159449 lint 2021-04-01 15:42:59 -04:00
Sarah Schneider c7f647f68a update references 2021-04-01 15:29:59 -04:00
Sarah Schneider 229549621d update all-products so it reads from the homepage frontmatter 2021-04-01 15:29:31 -04:00
Sarah Schneider 73c67857a3 support the new frontmatter props 2021-04-01 15:27:58 -04:00
Sarah Schneider 3cba45358a Merge branch 'main' of github.com:github/docs-internal into support-conditionals-in-sublanding-fm 2021-04-01 14:11:00 -04:00
github-openapi-bot ed6c6762cf
Update OpenAPI Descriptions (#18544) 2021-04-01 16:59:49 +00:00
Sarah Schneider 341465c83f export separate functions instead of single function from lib/page-data 2021-04-01 12:34:46 -04:00
Sarah Schneider ee53f96dad support conditionals in sublanding FM props 2021-04-01 10:01:23 -04:00
Sarah Schneider 04460a0165 lint 2021-03-31 13:31:09 -04:00
Sarah Schneider ad71684901 Merge branch 'main' of github.com:github/docs-internal into refactor-site-tree 2021-03-31 13:29:57 -04:00
Sarah Schneider 150696005b
Merge branch 'main' into script-to-move-toc-links-into-frontmatter 2021-03-31 12:51:23 -04:00
Sarah Schneider aa62f45893
Merge branch 'main' into version-product-landing-frontmatter 2021-03-31 12:16:18 -04:00
github-openapi-bot b192f53d4d
Update OpenAPI Descriptions (#18489) 2021-03-31 04:45:13 +00:00
Laura Coursen 3ae481ea7b
Add webhook events for discussions (#18442) 2021-03-30 17:38:13 +00:00
Sarah Schneider cf2d3a0103 update comments 2021-03-30 12:16:18 -04:00
Sarah Schneider 2c79093832 do not throw error on translations, and also do not add redundant data to siteTree item that is already on the page object 2021-03-30 12:11:13 -04:00
Sarah Schneider e06574b01b make comments nicer 2021-03-29 20:14:01 -04:00
Sarah Schneider 088aaf648c add script and helper module 2021-03-29 19:38:29 -04:00
Sarah Schneider b86b681620 Merge branch 'main' of github.com:github/docs-internal into refactor-site-tree 2021-03-29 16:46:46 -04:00
Sarah Schneider 50787186a4 hacky way to pull in the new siteTree 2021-03-29 16:46:36 -04:00
Sarah Schneider 3a236bb128 create a new module page-data and revert lib/pages 2021-03-29 16:46:06 -04:00
Sarah Schneider 07a5435e69 not ready to set this prop yet... 2021-03-29 16:42:25 -04:00
Sarah Schneider 4ffcff3703 add lib modules for refactored siteTree 2021-03-29 14:34:09 -04:00
Octomerger Bot 225dd25fca
Branch was updated using the 'autoupdate branch' Actions workflow. 2021-03-30 03:34:55 +10: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
rachmari 03bd6131a2 Action ran graphql script"update-files" 2021-03-29 16:38:56 +00:00
rachmari ac93c5d2a8 Action ran graphql script"update-files" 2021-03-27 16:38:49 +00:00
github-openapi-bot ad34fb22bb
Update OpenAPI Descriptions (#18447) 2021-03-26 15:59:32 -07:00
Sarah Schneider 754d59a4d1 parse featured links to support Liquid conditionals 2021-03-26 12:25:05 -04:00
Sarah Schneider b320016ea5 parse some of the landing page frontmatter so we can respect conditionals 2021-03-26 11:24:29 -04:00
James M. Greene 23bcc0bb06
Use node-redis for rate limiter (#18416)
* 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

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-03-25 23:54:25 +00:00
Rachael Sewell a9bee89188
Remove sentence case from openapi response (#17872) 2021-03-25 13:47:55 -07:00
rachmari 84a07df6da Action ran graphql script"update-files" 2021-03-25 16:36:30 +00:00
github-actions[bot] 358a5d0f9e
Action ran graphql script"update-files" (#18383) 2021-03-24 05:40:03 +00:00
github-openapi-bot 6f2a5bcf45
Update OpenAPI Descriptions (#18379) 2021-03-23 15:45:01 -07:00
github-openapi-bot 26a7e84808
Update OpenAPI Descriptions (#18369) 2021-03-23 14:18:33 -07:00
Rachael Sewell 0df04f99c5
deprecate 2.20 version (#18354) 2021-03-23 19:38:04 +00:00
github-openapi-bot abaa7999c7
Update OpenAPI Descriptions (#18363)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

* Empty commit for CI

Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
Co-authored-by: Martin Lopes <martin389@github.com>
2021-03-23 12:31:38 +10:00
Matt Pollard 4ce3cb1fb1
Document enterprise policies for GitHub Advanced Security (#18263) 2021-03-22 16:20:27 +00:00
github-openapi-bot a3d043f0ea
Update OpenAPI Descriptions (#18345) 2021-03-22 12:03:40 +00:00
rachmari c703590a91 Action ran graphql script"update-files" 2021-03-21 17:17:34 +00:00
James M. Greene 6e20ed7927
Implement app clustering (#17752)
* Install throng for easy cluster management
* Extract the Express app construction into its own file
* Switch server.js to use app clustering for deployed environments
* Worker count is based on the lesser of process.env.WEB_CONCURRENCY and the count of CPUs
* Reading clustered output is difficult, let's prefix the std{out,err} streams

Co-authored-by: Jason Etcovitch <jasonetco@github.com>
2021-03-19 20:07:46 +00:00
rachmari d8a4b52b28 Action ran graphql script"update-files" 2021-03-19 17:12:28 +00:00
Rachael Sewell 28ff566293
rest api enterprise hostname fix (#18095) 2021-03-18 22:16:14 -07:00
rachmari 3fb2a3e698 Action ran graphql script"update-files" 2021-03-18 17:10:31 +00:00
Octomerger Bot 0c8bf6f64e
Branch was updated using the 'autoupdate branch' Actions workflow. 2021-03-18 07:03:19 +10:00
Kevin Heis 2e07070fb9
Add filters params to search endpoint (#18289)
* Add filters params to search endpoint

* Update search.md

* Update middleware/search.js

Co-authored-by: Rachael Sewell <rachmari@github.com>

Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-03-17 21:02:47 +00:00
Tyler True abee1fcf49
Add ChromeOS support in defaultPlatform frontmatter (#4102)
* Add ChromeOS support

Adds CrOS to defaultPlatform frontmatter, as Linux.

* Update schema-event.js

* Update schema-event.js

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-03-17 20:42:28 +00:00
Rachael Sewell 02ee72fa25
add topics attribute to search (#18212) 2021-03-17 13:11:29 -07:00
Sarah Schneider cd2a217a77 do not error if frontmatter includes next GHES release or hardcoded next 2021-03-17 10:29:16 -04:00
github-openapi-bot 8f63a4450c
Update OpenAPI Descriptions (#18249) 2021-03-16 09:45:30 -07:00
Octomerger Bot ebd13e4b65
repo sync (#4487) 2021-03-12 13:53:38 -08:00
Sarah Schneider 2235827554
Merge branch 'main' into feat/add-contributor-frontmatter 2021-03-12 09:38:29 -05:00
mc 677fd3f1d2
Merge branch 'main' into 3814-master-main 2021-03-12 14:13:00 +00:00
Mike McDonald c154fa7e83
Correcting RVA webhook payload 2021-03-12 12:39:04 +00:00
shati-patel 513453ead6 Update webhook examples 2021-03-12 11:41:29 +00:00
Steve Winton 44d34f5c52
Add support for new contributor frontmatter object 2021-03-10 15:36:02 -06:00
Sarah Schneider 6db9593efa
Merge branch 'main' into update-eol-date-for-2.20 2021-03-10 13:35:59 -05:00
James M. Greene 9e31597ee4
Use promisified fs.readFile instead of fs.promises.readFile (#18204)
* Create a readFileAsync wrapper module

* Use the readFileAsync wrapper module instead of fs.promises.readFile

* Fix require path in test
2021-03-10 17:57:10 +00:00
rachmari 5db8b58d97 Action ran graphql script"update-files" 2021-03-10 17:13:37 +00:00
Emily Gould 052a540cdb
Getting started category landing page (#17841)
* Start building out landing page in index file

* Add articles

* Add a couple more popular articles

* Tweak intro to cover more audiences

* Add TOC back with new organization

* Update content/github/getting-started-with-github/index.md

* Category as product guides section

* Update breadcrumbs.js

* Update server.js

* Update product-landing.html

* Remove TOC listing

* Revert removing TOC

* Update index.md

* Update index.md

* Update content/github/getting-started-with-github/index.md

* Apply suggestions from code review

Co-authored-by: Laura Coursen <lecoursen@github.com>

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Laura Coursen <lecoursen@github.com>
2021-03-09 10:04:45 -06:00
Brett Westover e9ba2e419f
Update enterprise-dates.json 2021-03-08 17:49:03 -08:00
Sarah Schneider 1e76d6dc26 add some more shared functions for release notes middleware 2021-03-08 15:03:51 -05:00
Sarah Schneider 5fe68e0033 Merge branch 'main' of github.com:github/docs-internal into github-ae-release-notes 2021-03-08 12:17:45 -05:00
Meg Bird d1ba9f7778
Merge branch 'main' into unpublish-rc-release-notes 2021-03-05 10:28:38 -07:00
jmarlena ed5a109e48
[MERGES AFTER GHAE CB ships] Remove "public repository" wording for GHAE (#18008)
* Empty commit

* updated beta note for GHAE

* more GHAE update + resolve conflict

* more GHAE updates + prepare for screenshots

* Apply suggestions from code review

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

* address remaining review comments

* Revise "About GitHub AE" (#17679)

* add screenshots to the Configuring article

* reworked to have a separate GHAE section

* list numbering

* more work on screenshots and conditions

* add GHAE screenshots in article

* review screenshots in article

* added more screenshots and updated more articles

* screenshot madness

* fix liquid versioning

* refactor the ghae script

* [GHAE CB/Feb 22]: Add article about data residency for GitHub AE (#17847)

* add missing GHAE versioning to article

* move screenshots to GHAE asset directory

* forgot to change the path for these two images

* replace CBB screenshot + add better screenshot

* [GHAE CB/Feb 22]: Document upgrades for GitHub AE (#17848)

* Version article for GitHub AE

* Replace unused variable

* Incorporate reviewer feedback

* Update intro

Co-authored-by: Ethan P <56270045+ethanpalm@users.noreply.github.com>

* [GHAE] Enable IP allow list (#17691)

* Notes for CC

* Updat permission leves chart

* Add updated article to further reading

* Update gated feature callout with GitHub AE

* Version "Managing allowed IP addresses for your organization" for AE

* Update images

* Update "Restricting network traffic to your enterprise" with new procedures

* remove todo note

* Update audited actions

* Update info about Premium Runners

* Use reusable for Premium Runners

* Change "Premium Runners" to "AE hosted runners"

* Incorporate reviewer feedback

* Use correct reusable

* Version reusable correctly

* [Feb 22] GHAE: Code scanning beta (#17830)

* Add "github-ae" to all the frontmatter

* GHAE-ify the reusables

* Add some more changes

* Re-use some content

* 🔪 Semmle links

* Revert change re "--external-repository-token" in the CodeQL runner

* Update CodeQL runner token scopes

* Update two screenshots

* Remove mention of GitHub.com from AE + other fixes

* Apply suggestions from code review

Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>

* Use `product_name` variable instead of `product_location`

* Remove confusing phrase

* [Feb 22] GHAE: Code scanning API and webhook docs (#17883)

* Version API and webhook docs

* Actually add versioning for GHAE

* Fix anchor

* [TEMPORARY] Preview for API endpoints

* Revert API previews

* Update procedure step

Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>

* Update docs for AzureAD Group SCIM support in GHAE (#17892)

* Version out reference to public Pages site for GHAE

* [GHAE CB] SMTP bootstrapping flow (#17888)

* draft

* update with AE conntent

* update with tons of versioning

* remove that  lie

* fill out the rest of these steps

* update with correct versioning

* more edits

* add images

* reversion most of ae article

* fix versioning

* format correctlly

* words matter

* last image

* update with permmissions

* update versioning

* add link

* apply feedback ❤️

* update with differrent spacing

* update with feedback

* more feedback

* Temporary GHAE release notes for consumables beta launch (#17859)

* Create release-notes.md

* Add frontmatter

* Add to index file

* Update github-ae-release-notes.md

* Add release notes from Google Doc

* Update finalized docs links that have been reviewed

* OAuth device flow link update

* version for AE

* few fixes

* Update content/admin/overview/github-ae-release-notes.md

* small edits

* whoops

* commit

* update with different links

* used wrong reusable

* fix more brokenness

* Update repository-references.js

* Update repository-references.js

Co-authored-by: Meg Bird <megbird@github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>

* [GHAE] Audit public repos (#17917)

* verifying what we mean by public

* Apply suggestions from code review

* Update content/developers/apps/installing-github-apps.md

Co-authored-by: Laura Coursen <lecoursen@github.com>

* fixing placememnt of liquid conditional

Co-authored-by: Laura Coursen <lecoursen@github.com>

* GHAE packages beta (#17786)

Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com>
Co-authored-by: Martin Lopes <martin389@github.com>

* Batch #1 of changes

* Batch #2

* getting started article update

* Update GraphQL article

* Only public repository reference

* Just update the link

* Update endpoint title to use "internal"

* fix build error

* placeholder update for updating `public_repo` scope in UI

* Remove unncessary versioning for now

* fix broken links

* Add REST API files

* Remove versioning since the endpoint "title" didn't get updated

* Version out the no scope option

* Evergreen rewrite

Co-Authored-By: Aaron Harpole <507570+aharpole@users.noreply.github.com>

* Add back public key

* Apply suggestions from code review

Co-authored-by: Alex Slepak <ams11@github.com>
Co-authored-by: Aaron Harpole <aharpole@github.com>

* Remove versioning and add evergreen rewrite

* Just the way it was before

* fix confusing legacy bit

* Apply suggestions from code review

Co-authored-by: Alex Slepak <ams11@github.com>

* Apply suggestions from code review

Co-authored-by: Sarah Edwards <skedwards88@github.com>

* Movin' on up

* no versioning needed

* internal gists exist!

* Doesn't need versioning

* Keep this as-is

* Remove screenshots 💥

* Apply suggestions from code review

Co-authored-by: Sarah Edwards <skedwards88@github.com>

* Never updated REST API docs with different endpoint name

* No versioning needed

* Merge conflict fix: Updated this article from main branch

* Apply suggestions from code review

* Revert "Add REST API files"

This reverts commit 1a8ad0adca47daaa1bf9d1b3642c4ec073564996.

* checkout changes from main

* Update OpenAPI Descriptions (#18103)

Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
Co-authored-by: mchammer01 <42146119+mchammer01@users.noreply.github.com>
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
Co-authored-by: shati-patel <shati-patel@github.com>
Co-authored-by: Sarah Schneider <sarahs@github.com>
Co-authored-by: skedwards88 <skedwards88@github.com>
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
Co-authored-by: Melanie Yarbrough <11952755+myarb@users.noreply.github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
Co-authored-by: Laura Coursen <lecoursen@github.com>
Co-authored-by: Meg Bird <megbird@github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Leona B. Campbell <3880403+runleonarun@users.noreply.github.com>
Co-authored-by: Martin Lopes <martin389@github.com>
Co-authored-by: Aaron Harpole <507570+aharpole@users.noreply.github.com>
Co-authored-by: Alex Slepak <ams11@github.com>
Co-authored-by: Aaron Harpole <aharpole@github.com>
Co-authored-by: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com>
2021-03-04 21:31:30 -08:00
Sarah Schneider b6e7fafa02 add new deprecated field to release notes yaml 2021-03-04 14:48:19 -05:00
Sarah Schneider bc5e576e38 Merge branch 'main' of github.com:github/docs-internal into github-ae-release-notes 2021-03-04 13:45:48 -05:00
Sarah Schneider f8c6a6249e
Merge branch 'main' into check-for-outdated-links 2021-03-04 13:25:49 -05:00
Sarah Schneider 6fec12b149
Merge branch 'main' into check-for-outdated-links 2021-03-04 13:16:12 -05:00
Octomerger Bot d9139cb802
Branch was updated using the 'autoupdate branch' Actions workflow. 2021-03-05 04:16:11 +10:00
github-openapi-bot 05c3952ebe
Update OpenAPI Descriptions 2021-03-04 18:15:32 +00:00
skullface 53dfd7fae9
redirect to Support site, not Contact form 2021-03-04 14:53:19 +00:00
github-openapi-bot d4df9b2b6e
Update OpenAPI Descriptions 2021-03-04 11:17:44 +00:00
Sarah Schneider 39c6c0dc37
Merge branch 'main' into check-for-outdated-links 2021-03-03 13:14:02 -05:00
rachmari 51577c3206 Action ran graphql script"update-files" 2021-03-03 17:21:42 +00:00
Sarah Schneider d5b99c8329 Merge branch 'main' of github.com:github/docs-internal into check-for-outdated-links 2021-03-02 15:46:16 -05:00
rachmari e244cc3002 Action ran graphql script"update-files" 2021-03-02 17:01:11 +00:00
Sarah Schneider a2a8437606 Merge branch 'main' of github.com:github/docs-internal into check-for-outdated-links 2021-03-02 10:40:37 -05:00
Sarah Schneider 225bf25220
Merge branch 'main' into ghes-latest-redirect 2021-03-02 09:41:50 -05:00
Chiedo John 9cc1350b82
Merge branch 'main' into check-for-outdated-links 2021-03-02 08:08:51 -05:00
Sarah Schneider c972cea6f5 add comment 2021-03-01 21:26:53 -05:00
Sarah Schneider 8eb1e69586 separate the middleware for enterprise server vs. github-ae release notes 2021-03-01 17:03:33 -05:00
Matt Pollard 2db9da5c8f
[DO NOT MERGE] GitHub AE consumables beta megabranch (#17620)
* Empty commit

* updated beta note for GHAE

* more GHAE update + resolve conflict

* more GHAE updates + prepare for screenshots

* Apply suggestions from code review

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

* address remaining review comments

* Revise "About GitHub AE" (#17679)

* add screenshots to the Configuring article

* reworked to have a separate GHAE section

* list numbering

* more work on screenshots and conditions

* add GHAE screenshots in article

* review screenshots in article

* added more screenshots and updated more articles

* screenshot madness

* fix liquid versioning

* refactor the ghae script

* [GHAE CB/Feb 22]: Add article about data residency for GitHub AE (#17847)

* add missing GHAE versioning to article

* move screenshots to GHAE asset directory

* forgot to change the path for these two images

* replace CBB screenshot + add better screenshot

* [GHAE CB/Feb 22]: Document upgrades for GitHub AE (#17848)

* Version article for GitHub AE

* Replace unused variable

* Incorporate reviewer feedback

* Update intro

Co-authored-by: Ethan P <56270045+ethanpalm@users.noreply.github.com>

* [GHAE] Enable IP allow list (#17691)

* Notes for CC

* Updat permission leves chart

* Add updated article to further reading

* Update gated feature callout with GitHub AE

* Version "Managing allowed IP addresses for your organization" for AE

* Update images

* Update "Restricting network traffic to your enterprise" with new procedures

* remove todo note

* Update audited actions

* Update info about Premium Runners

* Use reusable for Premium Runners

* Change "Premium Runners" to "AE hosted runners"

* Incorporate reviewer feedback

* Use correct reusable

* Version reusable correctly

* [Feb 22] GHAE: Code scanning beta (#17830)

* Add "github-ae" to all the frontmatter

* GHAE-ify the reusables

* Add some more changes

* Re-use some content

* 🔪 Semmle links

* Revert change re "--external-repository-token" in the CodeQL runner

* Update CodeQL runner token scopes

* Update two screenshots

* Remove mention of GitHub.com from AE + other fixes

* Apply suggestions from code review

Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>

* Use `product_name` variable instead of `product_location`

* Remove confusing phrase

* [Feb 22] GHAE: Code scanning API and webhook docs (#17883)

* Version API and webhook docs

* Actually add versioning for GHAE

* Fix anchor

* [TEMPORARY] Preview for API endpoints

* Revert API previews

* Update procedure step

Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>

* Update docs for AzureAD Group SCIM support in GHAE (#17892)

* [GHAE CB] SMTP bootstrapping flow (#17888)

* draft

* update with AE conntent

* update with tons of versioning

* remove that  lie

* fill out the rest of these steps

* update with correct versioning

* more edits

* add images

* reversion most of ae article

* fix versioning

* format correctlly

* words matter

* last image

* update with permmissions

* update versioning

* add link

* apply feedback ❤️

* update with differrent spacing

* update with feedback

* more feedback

* Temporary GHAE release notes for consumables beta launch (#17859)

* Create release-notes.md

* Add frontmatter

* Add to index file

* Update github-ae-release-notes.md

* Add release notes from Google Doc

* Update finalized docs links that have been reviewed

* OAuth device flow link update

* version for AE

* few fixes

* Update content/admin/overview/github-ae-release-notes.md

* small edits

* whoops

* commit

* update with different links

* used wrong reusable

* fix more brokenness

* Update repository-references.js

* Update repository-references.js

Co-authored-by: Meg Bird <megbird@github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>

* [GHAE] Audit public repos (#17917)

* verifying what we mean by public

* Apply suggestions from code review

* Update content/developers/apps/installing-github-apps.md

Co-authored-by: Laura Coursen <lecoursen@github.com>

* fixing placememnt of liquid conditional

Co-authored-by: Laura Coursen <lecoursen@github.com>

* GHAE packages beta (#17786)

Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com>
Co-authored-by: Martin Lopes <martin389@github.com>

* fix broken links

* [GHAE CB/March 01]: GitHub Actions on GHAE (beta) (#17725)

* Added initial layout for premium runners

* Restructured content

* Added placeholder for removing premium runner

* Added versioning and warning note for self-hosted runners

* Added versioning and beta notice for actions content

* Rephrased beta note

* Added versioning for API docs, fixes

* Added versioning fixes

* Split Github-hosted and premium topics into separate articles

* Added edits

* Restructured some topics

* Revised "Using premium runners in a workflow"

* Some small fixes

* Fixed typo

* Added fixes to reusable

* Added edits

* Made section titles consistent

* Added billing, group mgmt, reusable steps

* Cropped certain screenshots for future-proofing

* Removed superfluous reusable

* Added fixes

* Revert "Cropped certain screenshots for future-proofing"

This reverts commit c7f24f31fa30d4fe3de2b63fc3cd5feba44ef518.

* Added new section for custom images

* Added versioning for enterprise-admin operations

* Added edits

* Added edits

* Update adding-premium-runners.md

* Removed SHR screenshots. Intending to update them when UI is available.

* Update using-labels-with-premium-runners.md

* Added custom labels section

* Added preview of API docs changes

* Added versioning for ip allow list section

* Removed removal article

* Renamed premium runners to AE hosted runners

* Re-added added API preview

* Fixed links, updated software specs

* Revised "Software specifications" based on feedback

* Fixed typos

* Small fixes

* Added new article "Creating custom images"

* Moved "Creating custom images" link

* Apply suggestions from code review

Co-authored-by: ahdbilal <55514721+ahdbilal@users.noreply.github.com>

* Added update from review

* Added updates from tech review

* Apply suggestions from code review

Co-authored-by: ahdbilal <55514721+ahdbilal@users.noreply.github.com>

* Added updates from tech review

* Added updates from tech review

* Added updates from tech review

* Added updates from tech review

* Fixed reusable

* Added fixes

* Added update from tech review

* Removed the dereferenced OpenAPI schema files

* Added fixes

* Fixed links

* Fixed links

* Apply suggestions from code review

Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com>

* Added updates from peer review

* Removed sections that are not in beta

* Update viewing-your-github-actions-usage.md

* Update viewing-job-execution-time.md

* Update index.md

* Update about-github-hosted-runners.md

* Restored versioning to match GHES approach

* Fixed link

* Restored self-hosted runner reference to UI steps.

* Updated screenshots

* Updated screenshots and procedures

* Small edits to screenshots

* Added AE url info for SHR

* Removed superfluous versioning

* Update security-hardening-for-github-actions.md

* Update actions-shared.md

* Small edits

* Update usage-limits-billing-and-administration.md

* Update managing-complex-workflows.md

* Additional versioning

* Additional versioning

* version environments api and checkrun deployments for ghae (#17991)

Co-authored-by: Martin Lopes <martin389@github.com>

* Update reviewing-the-audit-log-for-your-organization.md

* Added versioning for enterprise policy settings

* version configuring artifact retention for AE

* remove AE versioning for connecting to Marketplace

* Apply suggestions from code review

Co-authored-by: Joe Bourne <thejoebourneidentity@github.com>

* Update content/admin/github-actions/getting-started-with-github-actions-for-github-ae.md

Co-authored-by: Joe Bourne <thejoebourneidentity@github.com>

* rewording not public to private

* fixing liquid

* Fixed elseif entries

* Added expectations note

* Revised label management article for AE hosted runners

* Added enterprise-admin note for adding AE hosted runners

* Update enterprise-admin.md

* Update self-hosted-runner-security.md

* Versioned reusable for AE

* Empty commit for CI

Co-authored-by: ahdbilal <55514721+ahdbilal@users.noreply.github.com>
Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com>
Co-authored-by: skedwards88 <skedwards88@github.com>
Co-authored-by: Leona B. Campbell <3880403+runleonarun@users.noreply.github.com>
Co-authored-by: Joe Bourne <thejoebourneidentity@github.com>
Co-authored-by: runleonarun <runleonarun@github.com>

* Update OpenAPI Descriptions for GHAE

* Update content/admin/overview/github-ae-release-notes.md

Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
Co-authored-by: mchammer01 <42146119+mchammer01@users.noreply.github.com>
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
Co-authored-by: shati-patel <shati-patel@github.com>
Co-authored-by: Sarah Schneider <sarahs@github.com>
Co-authored-by: skedwards88 <skedwards88@github.com>
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
Co-authored-by: Melanie Yarbrough <11952755+myarb@users.noreply.github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
Co-authored-by: Meg Bird <megbird@github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Leona B. Campbell <3880403+runleonarun@users.noreply.github.com>
Co-authored-by: Laura Coursen <lecoursen@github.com>
Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com>
Co-authored-by: Martin Lopes <martin389@github.com>
Co-authored-by: ahdbilal <55514721+ahdbilal@users.noreply.github.com>
Co-authored-by: Joe Bourne <thejoebourneidentity@github.com>
Co-authored-by: runleonarun <runleonarun@github.com>
Co-authored-by: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com>
2021-03-01 16:07:02 -05:00
Sarah Schneider 9bfb31c4eb
Merge branch 'main' into check-for-outdated-links 2021-02-26 14:00:27 -05:00
Sarah Schneider ca3d587f58 lint 2021-02-26 13:49:24 -05:00
Sarah Schneider 2c8902f826 asyncify redirect loading 2021-02-26 13:23:50 -05:00
Sarah Schneider 7563adce8a add enterprise-server@latest redirect to real latest version 2021-02-26 13:23:37 -05:00
github-openapi-bot 3a85702cd5
Update OpenAPI Descriptions (#18002)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files
2021-02-25 17:58:04 +00:00
rachmari ce27513d61 Action ran graphql script"update-files" 2021-02-25 17:11:41 +00:00
wolfy1339 b3924aa461
fix: change sender field for CodeScanningAlert event to match other payloads (#3855) 2021-02-25 09:15:42 +00:00
James M. Greene e94b52d7b5
Conditionally disable the TLS unauthorized cert check based on REDIS_URL (#17978)
* Conditionally disable the TLS unauthorized cert check based on REDIS_URL

* Update middleware/rate-limit.js
2021-02-24 23:35:39 +00:00
Sarah Schneider d0e894ffd1
Merge branch 'main' into check-for-outdated-links 2021-02-24 16:07:55 -05:00
Sarah Schneider a10c2387ca Merge branch 'main' of github.com:github/docs-internal into use-redirects-file-instead-of-stubbed-archived-redirects 2021-02-24 10:35:33 -05:00
Sarah Schneider 2aa1347bc6 add option to return cheerio object from renderContent instead of html 2021-02-23 20:30:09 -05:00
Sarah Edwards 7f87af1129
Environments API (#17898)
Co-authored-by: Alberto Gimeno <gimenete@users.noreply.github.com>
Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com>
2021-02-23 11:35:38 -08:00
github-openapi-bot 62a8f70325
Update OpenAPI Descriptions (#17970)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files
2021-02-23 19:25:29 +00:00
Sarah Schneider 4c3a1eeeaf
Merge branch 'main' into version-sidebar-product-links 2021-02-23 09:17:32 -05:00
github-openapi-bot ece4ba2ab1
Update OpenAPI Descriptions (#17952)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files
2021-02-22 17:13:08 -08:00
Sarah Schneider a665e4bae3
Merge branch 'main' into version-sidebar-product-links 2021-02-22 14:35:35 -05:00
Kevin Heis 408fcdf4fd
Remove an old redirect that no one has used in a long time (#17868) 2021-02-22 18:14:51 +00:00
Sarah Schneider 2b491a2792
Merge branch 'main' into version-sidebar-product-links 2021-02-22 11:49:39 -05:00
Sarah Schneider dce6e7d5bd udpate middleware to read redirects from top-level redirects.json in archival repo 2021-02-22 11:13:52 -05:00
rachmari c9a5f7f76f Action ran graphql script"update-files" 2021-02-20 17:04:06 +00:00
Sarah Schneider 9c55f95ed9 version product links in sidebar 2021-02-19 09:17:07 -05:00
James M. Greene 8148677058
"Enable TLS" for Heroku Redis by ignoring self-signed TLS certificates (#17911)
* 'Enable TLS' for Heroku Redis by ignoring self-signed TLS certificates when creating Redis connections

https://devcenter.heroku.com/articles/heroku-redis#ioredis-module

* Clarify comments
2021-02-18 14:39:18 -06:00
jmarlena 0a4f3e7dab
Self-serve package deletion and restoration (#17695)
* New article title & reposition article

* Update links

* Remove "Deleting a container image" article

* Reusable shuffle

* Add GHES versioned article

* more context

* Revise main article

* Reminder of permissions

* Update some copy

* Add "deleting a package" to TOC

* Add versioning around links

* Update restore package procedure

* Update permissions statements

* Fix GHES link

* Apply suggestions from code review

Co-authored-by: Martin Lopes <martin389@github.com>

* Use "entire" language

* GraphQL nuance

* New intro + actions

* Fix GHES link

* Package deletion 2.0 follow up (#17855)

* Remove GHES 3.1 versioning

* 3.0 or less

* Revert "Remove GHES 3.1 versioning"

This reverts commit 9bbc0bd57c1c7ba23097f3f4b9a830c13941402c.

* Revert "3.0 or less"

This reverts commit dfd2f48e4a4da62c2594fbeaeb12eacda5afc6d4.

* Revert "Revert "Remove GHES 3.1 versioning""

This reverts commit ef90065eb2883041b15bd2d50f97e4f07cf04768.

* Ditch unnecessary package namespace references and rework permissions framing

* Add placeholder note so PR tests will pass

* Add versioning around package deletion mentions outside of main deletion articles

* Add placeholder around link so it will go live

* Add `audit_log` entries

* Apply suggestions from code review

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

* Apply Shati's suggestion

* Remove duplicate line

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

* Package deletion 2.0 last updates (#17880)

* Update versioning and placeholder note

* syntax improvement

* Note the 25 downloads caveat

* Add more headings

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Sarah Edwards <skedwards88@github.com>

* Apply suggestions from code review

* Apply suggestions from code review

* Packages REST API page (#17808)

* Add draft of packages REST page

* Add packages in TOC

* Rewrite Packages API introductory info

* Fix space

* Rewrite conceptual API intro content

* Revise this line

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Mark Phelps <markphelps@github.com>

* Add rewrite

* Add de dereferenced files

* Add the decorated files

* ALL of the decorated files

* Revert "ALL of the decorated files"

This reverts commit 38f13dcd75078f2eacb53dfd0b31c79737966656.

* Revert "Add the decorated files"

This reverts commit b0c8a2096c8b19e62404585f97298ab42822d3e5.

* Revert "Add de dereferenced files"

This reverts commit abd377c8eb804e9c69dffa9b0c01ec64fb500727.

* Commit the lib/rest/static files to preview changes on staging

* Revert "Commit the lib/rest/static files to preview changes on staging"

This reverts commit acb121ae9d8bd2e23b00ebb14848e7b83aeddf5b.

Co-authored-by: Mark Phelps <markphelps@github.com>

* Commit static files to preview endpoints on staging

* Update references to API support

* remove static rest api files

* ditch "as a user" for now

* Rearrange based on feedback

* Last tidbits

* Update OpenAPI Descriptions (#17893)

* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

* link fix

Co-authored-by: Martin Lopes <martin389@github.com>
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
Co-authored-by: Sarah Edwards <skedwards88@github.com>
Co-authored-by: Mark Phelps <markphelps@github.com>
Co-authored-by: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com>
2021-02-17 17:02:10 -08:00
Octomerger Bot d8a8933aeb
Branch was updated using the 'autoupdate branch' Actions workflow. 2021-02-17 09:49:53 +10:00
hubwriter c9b4766254
Update docs for the code scanning API (#17653)
* Add custom media type info and update subsection cross-refs

* Update the permissions for GH Apps page

* Add temporary JSON files

Replace these with the autogenerated ones from
github/github, when the associated PR over there
is merged.

* Change json+sarif to sarif+json

* Condition media types section

This new section will only become accurate in
GHES 3.1

* Add temporary copies of decorated & dereferenced files

* Add new endpoints to the permissions page

/rest/reference/permissions-required-for-github-apps

* Update temp JSON files

* Update JSON files

* Add  github-ae: '*'

* Add  github-ae: '*'

* Add  github-ae: '*'

* Update content/rest/reference/code-scanning.md

* Update JSON files

* Update content/github/finding-security-vulnerabilities-and-errors-in-your-code/sarif-support-for-code-scanning.md

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

* Update content/github/finding-security-vulnerabilities-and-errors-in-your-code/uploading-a-sarif-file-to-github.md

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

* Update content/rest/reference/code-scanning.md

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

* Update content/rest/reference/code-scanning.md

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

* Update content/rest/reference/permissions-required-for-github-apps.md

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

* Make review comment changes

* Remove development mode JSON files

* Update OpenAPI Descriptions (#17857)

* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

* Remove development mode JSON files

* Update OpenAPI JSON files (#17869)

* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: github-openapi-bot <security+github-openapi-bot@github.com>

* Remove development mode JSON files

* Update OpenAPI Descriptions (#17863)

* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

* Update content/rest/reference/permissions-required-for-github-apps.md

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>

* Update content/rest/reference/permissions-required-for-github-apps.md

* Update content/rest/reference/permissions-required-for-github-apps.md

* Update content/rest/reference/permissions-required-for-github-apps.md

* Update content/rest/reference/permissions-required-for-github-apps.md

* Update content/rest/reference/code-scanning.md

Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
Co-authored-by: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com>
Co-authored-by: github-openapi-bot <security+github-openapi-bot@github.com>
2021-02-16 22:07:48 +00:00
rachmari b749e41653 Action ran graphql script"update-files" 2021-02-16 22:02:48 +00:00
Jason Etcovitch 7e3229e39a
Fix translated glossary links (#17734)
* npm start should be ja

* Add special handling for glossary headings

* Don't sort glossary

* Use English slug to maintain anchor, re-add sort
2021-02-12 19:23:40 +00:00
Rachael Sewell 01e52046f0
migrate away from AWS S3 (#17669) 2021-02-12 10:25:45 -08:00
Natasha Umer 2df6837969
Update Sender Field For Code Scanning 2021-02-12 18:07:36 +00:00
github-openapi-bot fc4dec9975
Update OpenAPI Descriptions 2021-02-11 17:37:13 +00:00
Kevin Heis 626bfa5918
Move the one performance metric in page to exit to avoid join (#17784) 2021-02-11 16:28:07 +00: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
Jason Etcovitch 1e96c03489
Absorb @github-docs/frontmatter (#17783) 2021-02-10 15:10:46 -05:00
Kevin Heis a3ad549e39
Block a few more things in AIRGAP (#17657)
* Block a few more things in AIRGAP

* Update middleware/context.js

Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>

* Update product-landing.html

Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>
2021-02-09 23:07:23 +00:00
github-openapi-bot e32567fb17
Update OpenAPI Descriptions (#17766)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: Sarah Edwards <skedwards88@github.com>
2021-02-09 20:46:46 +00:00
Kevin Heis 207c536609
Add `page_event_id` to all successive events (#17738)
* Add `page_event_id` to all successive events

* Update events.js

* Break out event inits into functions so they don't break each other

* Update events.js

* Update events.js

* Update events.js
2021-02-09 15:40:27 +00:00
github-openapi-bot 134a7b9995
Update OpenAPI Descriptions (#17749)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files
2021-02-08 23:28:40 +00:00
github-openapi-bot 0ec7c3f48f
Update OpenAPI Descriptions 2021-02-08 18:34:56 +00:00
Jason Etcovitch 39e0e0dda1
Use Liquidjs instead of Liquid (#16743)
* Install liquidjs, uninstall liquid

* Comment a bunch of stuff out to get going

* Fix invalid includes

* Fix all includes (path => 'path')

* Get the homepage to render

* Do link-in-list kinda

* Revert "Fix all includes (path => 'path')"

This reverts commit d6fead646353aa5041d9229470a62a1d487456b9.

* Support non-dynamic partials

* Extract getTemplate helper

* Do remaining custom Liquid tags

* Fix some custom tag bugs

* Moar bugs

* Re-add link tag

* Cleaner diff

* Actually fix extended markdown tags

* Fully comment out version matchers

* Smaller diff

* Rely only on Liquid internals for conditionals

* Use new operators option in Liquid engine

* Fix link.js

* Don't need options

* Updoot to the right doot

* Fix some bugs

* Fix another bug

* Pass a test

* Fix the translate bits

* Adjust a test

* Fix another invalid Liquid bug

* Two more borked translations

* Found some more

* Don't need this change

* Revert "Don't need this change"

This reverts commit a916d619747f0492865a69c3e237c97c4d4e7fad.

* This should fix the broken links

* Missed one

* Revert "This should fix the broken links"

This reverts commit e6c2cc0d9055d958706260d57edbe293281c150e.

* Revert "Missed one"

This reverts commit bbe1f23baf16e020f6f7931589decb1afc75dfbd.

* Updoot liquidjs
2021-02-08 12:58:51 -05:00
github-openapi-bot 7e862d6ddb
Update OpenAPI Descriptions (#17697)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files
2021-02-05 05:08:57 +00:00
github-openapi-bot 5b8f1a9ab7
Update OpenAPI Descriptions (#17692)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files
2021-02-05 01:39:25 +00:00
lucascosti f65e8d342e Action ran graphql script"update-files" 2021-02-05 01:11:37 +00:00
github-openapi-bot e1ac41b80b
Update OpenAPI Descriptions (#17642)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: Sarah Edwards <skedwards88@github.com>
2021-02-02 22:05:24 +00:00
Jason Etcovitch 53d8e60959
Add a test for non-English rendering (#17593)
* Throw in some code that should fail a test

* Remove read-frontmatter behavior

* Unskip the test that would catch this

* Remove the throw to pass the test
2021-02-02 18:14:39 +00:00
github-openapi-bot d7b926f731
Update OpenAPI Descriptions (#17614) 2021-02-02 02:38:08 +00:00
github-openapi-bot 8a3d415da4
Update OpenAPI Descriptions (#17609)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: Sarah Edwards <skedwards88@github.com>
2021-02-01 22:58:13 +00:00
github-actions[bot] 21eeba6144
Action ran graphql script"update-files" (#17526) 2021-02-01 11:38:55 -08:00
github-openapi-bot 11d340d2ac
Update OpenAPI Descriptions (#17568)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: Sarah Edwards <skedwards88@github.com>
2021-02-01 18:29:53 +00:00
Jason Etcovitch f2c08b31a8
Static method isn't a thing on this version? (#17580) 2021-01-29 17:38:50 -05:00
Jason Etcovitch 653a57aa00
Don't use slugger singleton (#17579) 2021-01-29 17:15:08 -05:00
Jason Etcovitch 53ad15c959
Use hast-util-to-string to get heading text (#17576) 2021-01-29 21:42:35 +00:00
Jason Etcovitch bd63f47636
Remove cheerio from Page#render (#17566)
* Write our plugin

* Include it

* Move the RegEx

* Don't rewriteLocalLinks with cheerio anymore

* Process after HTML ast is generated

* Use the same logic as before, just to see if it'll pass

* Don't require languageCode/version

* Only work on local links

* Needs an href

* Only update href if there's a new one to use

* Check for node.properties

* Some links are just mean

* Move use-english-headings to be a plugin

* Bail if no englishHeadings were passed

* Install rehype-wrap

* Wrap ol > li img in div.procedural-image-wrapper

* Test for platform without cheerio

* Use a plugin for rewriteAssetPathsToS3

* Remove cheerio from page.render

* Fix require paths

* SImplify

* Fix some 🐛s

* Use our own rehype-wrap

* Move rewriteAssetPathsToS3 after HTML AST

* Remove some console logs

* Fix check for includesPlatformSpecificContent

* Rename ast => tree
2021-01-29 15:44:50 -05:00
Jason Etcovitch 989006bab5
Move the rewriteLocalLinks behavior to an AST pipeline plugin (#17550)
* Write our plugin

* Include it

* Move the RegEx

* Don't rewriteLocalLinks with cheerio anymore

* Process after HTML ast is generated

* Use the same logic as before, just to see if it'll pass

* Don't require languageCode/version

* Only work on local links

* Needs an href

* Only update href if there's a new one to use

* Check for node.properties

* Some links are just mean
2021-01-29 15:36:17 +00:00
Jason Etcovitch 8d4f3e65fe
Move test & script utils out of `/lib` (#17517)
* Remove an unused file

* Move authenticate-to-aws to scripts/utils

* Move crowdin-config to tests/utils

* Remove add-frontmatter-to-file

* Move find-unused-assets

* Move git-utils to script/utils

* Move lib/github to script/utils

* Revert "Remove an unused file"

This reverts commit cd93ad846a0354e957359f23124eb0724c9147cf.

* Move find-extraneous-translation-files to script/utils

* We already have tests/helpers

* Rename script/utils => helpers for consistency

* Forgot a path

* Fix path to crowdin-config

Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2021-01-29 10:30:51 -05:00
Vanessa Yuen 4038e9ca85
Add topic property and filter to guides page (#17328)
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
2021-01-29 12:32:31 +00:00
Rogan Ferguson 5b45d82110
Audit log git event public beta (#17533) 2021-01-29 10:30:42 +00:00
Kevin Heis 8b86fd8fef
Reduce minified JS bundle size from 189kb to 73kb (#17552) 2021-01-28 22:12:04 +00:00
Jason Etcovitch 2572d7bb85
Remove hubdown and use our own markdown pipeline (#17551)
* Uninstall hubdown, install unified deps

* Create create-processor

* Use it

* Update a doc

* Tweak the language

* Use the same versions that hubdown used
2021-01-28 17:06:19 -05:00
Sarah Schneider c6cb579151 Merge branch 'main' of github.com:github/docs-internal into exclude-some-links 2021-01-28 16:44:59 -05:00
Sarah Schneider 9207af8994 add facebook to exclusions list 2021-01-28 16:44:54 -05:00
Kevin Heis d9d61f42ef
Add Lunr as a site search option (#17388)
* Add Lunr as a site search option

* Use a class like the Algolia option does

* Lint

* Working on showing real content, prep for highlighting

* Move searching to their own files

* Split out ridiculous fn

* Add highlighting

* Less lunr search code

* A little more tidy

* Then chain on write too

* Mark from server too

* Write a batch of indices

* Update compress.js

* Highlighting with fewer calls

* Update lunr-search.js

* Update lunr-search.js

* Update lunr-search.js

* Update lunr-search.js

* Update lunr-search.js

* Update lunr-search.js
2021-01-28 19:38:22 +00:00
Shati Patel ae23d0114b
Merge branch 'main' into openapi-update-e3d37e33f5d6f3db5d80d5d602d7772843d043867c57c3e0ed3dd0af80aeec77 2021-01-28 09:35:26 +00:00
Jason Etcovitch 7af9e3bbcf
Use tags to mark individual middleware (#17531) 2021-01-27 17:54:51 -05:00
Jason Etcovitch 58319a221c
Instrument all of our middleware (#17527)
* Add instrument-middleware.js

* Make it do some fancy require-ing

* Use it

* Prefix names

* dot prefix

* Improve async detection

* Add some comments

* Can't instrument error handler
2021-01-27 17:29:30 -05:00
github-openapi-bot c0e79c5c7a Add decorated OpenAPI schema files 2021-01-26 21:26:39 +00:00
github-openapi-bot 218db37f28 Update OpenAPI Descriptions 2021-01-26 13:21:16 -08:00
Sarah Schneider d16e019a9d exclude linkedin link 2021-01-26 13:21:06 -05:00
Sarah Schneider 7e0e865c3f few readme edits 2021-01-26 12:28:42 -05:00
Sarah Schneider 35e430c96d
Merge branch 'main' into make-developer-redirects-static 2021-01-26 11:30:16 -05:00
github-openapi-bot 797918453b
Update OpenAPI Descriptions (#17476) 2021-01-26 11:27:32 +00:00
Sarah Schneider f01b56813f make the enterprise developer paths more future-proof for new versions 2021-01-25 13:09:48 -05:00
Sarah Schneider 87bc25d7ca Merge branch 'main' of github.com:github/docs-internal into make-developer-redirects-static 2021-01-25 12:31:23 -05:00
Vanessa Yuen 9bc90cd932
Learning Track navigation banner (#17440)
* add middleware to handle `learn` query param

* add exception to query-less cache key

* add querystring to learning track guides
2021-01-25 16:57:32 +00:00
Sarah Schneider 5e286fd315
Merge branch 'main' into make-developer-redirects-static 2021-01-22 14:02:10 -05:00
Sarah Schneider 4be15f7b87
account for paths with or without version (#17443) 2021-01-22 15:07:08 +00:00
github-openapi-bot 594b8bff6c
Update OpenAPI Descriptions (#17437)
* Update OpenAPI Descriptions
* Add decorated OpenAPI schema files
2021-01-22 16:08:52 +10:00
Laura Coursen 81aa7984c2
Add "About GitHub AE" (#17420) 2021-01-21 17:32:29 -05:00
Sarah Schneider 3aed23bdc9
Merge branch 'main' into make-developer-redirects-static 2021-01-21 14:14:57 -05:00
Kevin Heis c51f5390d4
Move search results to use relative urls (#17411)
* Move search results to use relative urls

* ..and now we have real mark tags instead of em tags

Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2021-01-21 17:23:16 +00:00
github-openapi-bot 51d288372c
Update OpenAPI Descriptions 2021-01-21 09:23:41 +00:00
github-openapi-bot 8d4980cf3f
Update OpenAPI Descriptions (#17398) 2021-01-20 22:57:24 +00:00
Sarah Schneider 2846a160e9 draft of redirects README 2021-01-20 15:41:47 -05:00
Sarah Schneider 8198dd4ce7 Merge branch 'main' of github.com:github/docs-internal into make-developer-redirects-static 2021-01-20 15:08:35 -05:00
github-openapi-bot d15514cb77
Update OpenAPI Descriptions 2021-01-20 15:56:48 +00:00
Kevin Heis 2fb2e962bc
Move site search to use an endpoint (#17359)
* Move site search to use an endpoint

* Update browser.js

* Update search.js

* Update lib/search/versions.js

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* Fix URLs

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-01-20 15:37:42 +00:00
James M. Greene 9724f763f5
Implement discount fingerprinting without webpack (#17337) 2021-01-19 23:00:54 -06:00
Sarah Schneider 35b938a8f3 no longer need to precompile developer redirects now that we have the static redirects file 2021-01-19 20:51:48 -05:00
Sarah Schneider efa186ca73 restore legacy redirect handling needed for (internal docs) links 2021-01-19 20:51:18 -05:00
Sarah Schneider 7e4286f76d replace developer routes with static developer redirects file 2021-01-19 20:50:10 -05:00
Sarah Schneider d060fddc6f Merge branch 'main' of github.com:github/docs-internal into remove-legacy-redirects 2021-01-19 17:47:30 -05:00
Sarah Schneider b47aaec71f remove all the legacy redirect handling! 2021-01-19 17:44:42 -05:00
Sarah Schneider ca395716c5 add latest GHES release to path 2021-01-19 17:44:24 -05:00
Sarah Schneider e560fb229d add new static file 2021-01-19 17:43:38 -05:00
Sarah Schneider f0e9369a16 remove never used file 2021-01-19 16:50:21 -05:00
Sarah Schneider 863862dbb4
Merge branch 'main' into add-missing-path-posix-for-windows 2021-01-19 15:01:28 -05:00
Sarah Schneider 02e95f583a change path.join to path.posix.join for Windows friendliness 2021-01-19 14:47:45 -05:00
rachmari a8ce51cecb Action ran graphql script"update-files" 2021-01-19 17:50:29 +00:00
Sarah Schneider 752edcfc53 use new static redirects file instead of precompiling on every server restart 2021-01-19 10:46:32 -05:00