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

943 Commits

Author SHA1 Message Date
Sarah Schneider
f966af7a15 add new arrays to exported module 2020-12-06 20:44:56 -05:00
mc
8025d9216d Secret scanning webhooks & APIs (#16608)
Co-authored-by: shati-patel <shati-patel@github.com>
Co-authored-by: Grey Baker <greysteil@github.com>
Co-authored-by: Prashanth Kannan <prashkan@github.com>
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
Co-authored-by: Melanie Yarbrough <11952755+myarb@users.noreply.github.com>
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
2020-12-04 09:39:29 +10:00
James M. Greene
fb30a0766f Unravel pages (the array + map object) (#16708)
* Revise the 'pages' module to export two methods: 'loadPages' and 'loadPageMap'

Update all existing references to use 'loadPages' for now

* Remove explicit Promise resolutions on loadPage* methods

* Condense reduction method into its now-singular usage spot

* Opt for for-of instead of forEach

* Make require of pages in warm-server more explicit

* Be more explicit about find-page using a pageMap

* Be more explicit about find-page-in-version using a pageMap

* Be more explicit about site-tree using a pageMap

* Extract the map creation from loadPageMap

* Be more explicit about using a pageMap

* Update redirects precompile to take two arguments: pageList, pageMap

* Rename internal loadPages method to loadPageList

* Clarify pageMap is what is stored in context.pages

* Use loadPageMap in tests and stuff
2020-12-03 22:31:10 +00:00
Jason Etcovitch
a7466b685b Actions video (#16744)
* Support video frontmatter

* Add CSP rule

* Actually put in the video
2020-12-03 21:18:42 +00:00
Sarah Schneider
e469cf25b4 Merge branch 'main' into check-links-improvement-redux 2020-12-03 15:54:18 -05:00
Octomerger Bot
218d08f38d Branch was updated using the 'autoupdate branch' Actions workflow. 2020-12-03 12:53:19 -08:00
Sarah Schneider
82644efc7c Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt 2020-12-03 12:06:18 -05:00
Kevin Heis
c410020bda Update engine.js 2020-12-03 08:56:24 -08:00
Kevin Heis
92ba8d904e Merge branch 'main' into experiment-with-react-and-mdx 2020-12-03 08:49:34 -08:00
Kevin Heis
11d8e415da Check repository references (#16680)
* Check repository references

* Remove "foundRepoNames" that I used to find all the unique names

* A little speed up with Set

* Ignore a few files

* Remove remaining references

* Update README.md
2020-12-03 16:41:03 +00:00
Sarah Schneider
2f10991ea5 Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt 2020-12-03 10:29:46 -05:00
Kevin Heis
8731b68025 Update engine.js 2020-12-02 14:19:30 -08:00
Kevin Heis
791c7c6296 Run lint 2020-12-02 14:15:18 -08:00
Kevin Heis
84473cbc8b Update engine.js 2020-12-02 14:14:12 -08:00
Kevin Heis
07a78222ae Merge branch 'main' into experiment-with-react-and-mdx 2020-12-02 14:10:51 -08:00
James M. Greene
4e1d62b91a Remove free-pro-team support from Spanish translation of Insights doc (#16730)
* Remove free-pro-team support from Spanish translation of Insights doc

* Throw errors for mismatched products in non-English content pages as well
2020-12-02 22:07:56 +00:00
Sarah Schneider
1258092a41 Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt 2020-12-02 14:22:10 -05:00
Robert Mosolgo
a7d042a898 Merge branch 'main' into build-changelog 2020-12-02 13:56:50 -05:00
Sarah Schneider
3f64bb1d31 Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt 2020-12-02 13:51:00 -05:00
Sarah Schneider
7628caa417 Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt 2020-12-02 12:47:54 -05:00
Nick Schonning
3d00a7314b fix: LinkHeader link trailing slash (#1503)
Co-authored-by: hubwriter <hubwriter@github.com>
2020-12-02 17:44:41 +00:00
github-openapi-bot
5f0dd145b7 Updating OpenAPI descriptions (#16712) 2020-12-02 15:31:14 +00:00
github-openapi-bot
8349bdfdf1 Updating OpenAPI descriptions (#16685)
* Updating OpenAPI descriptions

* Add decorated OpenAPI schema files

Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
2020-12-02 01:29:53 +00:00
James M. Greene
5f6994d001 Instrument the warmServer method more precisely (#16698)
* Instrument the `warmServer` method more precisely

This way we only report on it if we have to actually prime it vs. with every call to get the cached results

* Skip the extra variable

* Use Boolean to make intent more explicit
2020-12-01 19:05:24 -06:00
Robert Mosolgo
805db2e4df Merge branch 'main' into build-changelog 2020-12-01 15:46:51 -05:00
Robert Mosolgo
69bd6f2dbd Remove build-changelog-from-markdown.js 2020-12-01 15:17:29 -05:00
Sarah Schneider
6304c863fe lint 2020-12-01 13:07:00 -05:00
Sarah Schneider
b244d447dd Merge branch 'main' of github.com:github/docs-internal into hidden-docs-alt 2020-12-01 12:38:48 -05:00
Sarah Schneider
4bc53534ba Merge branch 'main' of github.com:github/docs-internal into check-links-improvement-redux 2020-12-01 10:25:29 -05:00
Sarah Schneider
0240695739 Merge branch 'main' of github.com:github/docs-internal into check-links-improvement-redux 2020-12-01 09:45:43 -05:00
Sarah Schneider
88d895fb50 Merge branch 'main' of github.com:github/docs-internal into deprecate-static-files 2020-12-01 09:15:29 -05:00
github-openapi-bot
336f2f0f91 Updating OpenAPI descriptions (#16667) 2020-12-01 10:09:48 +10:00
Sarah Schneider
f66d1a472c Merge branch 'main' of github.com:github/docs-internal into deprecate-static-files 2020-11-30 13:56:11 -05:00
Sarah Schneider
8c1a9c1eed Merge branch 'main' into version-graphql-objects-links 2020-11-30 13:29:07 -05:00
Sarah Schneider
0a36eaad02 ran script/enterprise-server-deprecations/remove-static-files.js 2020-11-30 13:16:13 -05:00
Sarah Schneider
d9c4409fe7 reran script/graphql/update-files.js 2020-11-30 11:49:44 -05:00
Sarah Schneider
416bc384a6 Merge branch 'main' into fix-works-with-github-link 2020-11-30 11:41:29 -05:00
Sarah Schneider
d0efefdc21 Merge branch 'main' into version-graphql-objects-links 2020-11-30 11:23:51 -05:00
github-openapi-bot
3daf8a4306 Updating OpenAPI descriptions (#16647) 2020-11-27 12:29:56 +10:00
Sarah Schneider
a1517ce1da delete no longer needed link checking code 2020-11-25 20:05:34 -05:00
Sarah Schneider
3469049d70 delete no longer needed link checking code 2020-11-25 20:05:18 -05:00
Sarah Schneider
7ee7d1ef26 delete no longer needed link checking code 2020-11-25 20:04:30 -05:00
Sarah Schneider
fdb86009aa ran script/graphql/update-files.js with the objects page objects 2020-11-25 19:22:59 -05:00
Sarah Schneider
739d8761d4 Merge branch 'main' into fix-works-with-github-link 2020-11-25 11:42:50 -05:00
Jason Etcovitch
4484068e01 Move render-content code to this repo (#16544)
* Move render-content files in here

* Replace existing file with nested index.js

* Copy in tests and jest-ify

* Update docs

* Uninstall @github-docs/render-content

* Bring over README

* Add missing dependencies

* Fix require paths
2020-11-25 11:20:23 -05:00
Sarah Schneider
aa0facaba5 ran script/rest/update-files.js --decorate-only 2020-11-25 09:21:37 -05:00
Jason Etcovitch
1ec8c35e34 Refactor indented_data_reference to use Liquid internals (#16623)
* Refactor indented-data-reference

* Add spacing around referenced reusables

* Update expected test output

* Fail silently with empty valuer
2020-11-24 16:50:20 -05:00
Sarah Schneider
8f0093c63a OpenAPI tooling updates (#16320) 2020-11-24 12:20:10 -08:00
Lucas Costi
2ca2698703 Merge branch 'main' into find-page-in-version-redux 2020-11-24 10:40:08 +10:00
Jason Etcovitch
18561c059f Remove additional whitespace (#16593) 2020-11-23 15:06:57 -05:00