1
0
mirror of synced 2025-12-22 11:26:57 -05:00
Commit Graph

943 Commits

Author SHA1 Message Date
Sarah Schneider
df7ed9c3a2 Merge branch 'main' into update-graphql-docs-manually 2021-06-07 19:16:51 -04:00
Mike Surowiec
37499b80d2 Reactify article page rendering (#19679)
* feat: reactify article page rendering

* feat: add LearningTrackNav

* fix: use plain text title for article
2021-06-07 22:56:33 +00:00
Sarah Schneider
1df79c3924 ran script/graphql/update-files.js 2021-06-07 15:15:09 -04:00
Sarah Schneider
c474291756 we don't need this async here since it falls into a Promise.all 2021-06-04 14:24:56 -04:00
Sarah Schneider
277d394245 clarify comment 2021-06-04 14:13:50 -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
Grace Park
05fb4cb9b2 adding just the styling for header update 2021-06-04 10:29:21 -07:00
github-openapi-bot
e13927d4cf Update OpenAPI Descriptions (#19686)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
Co-authored-by: hubwriter <hubwriter@github.com>
2021-06-04 15:32:03 +00:00
Sarah Edwards
340f663243 Add support for cURL in application selector (#19645) 2021-06-03 14:18:19 -07:00
hubwriter
cffb1f85d3 Add URL for vmware.com ESXi page (#19671)
This URL has shown up repeatedly in the broken links check but seems to resolve just fine.
2021-06-02 16:05:02 +00:00
James M. Greene
e2da413f7b Fix GHES download links (#19655)
Set the value for `patch.downloadVersion` again to appropriately render GHES download links (including release candidates)

Fixes https://github.com/github/docs-internal/issues/19652
2021-06-01 14:40:56 -05:00
github-openapi-bot
230c1e8535 Update OpenAPI Descriptions (#19623) 2021-06-01 06:22:15 +00:00
Sarah Schneider
4b35b4987b Merge branch 'main' of github.com:github/docs-internal into github-ae-release-notes 2021-05-28 09:23:56 -04:00
Sarah Schneider
74b054054c Update lib/page-data.js
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-05-27 15:59:40 -04:00
Sarah Schneider
9a25906807 Update lib/find-page-in-site-tree.js
Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2021-05-26 20:07:57 -04:00
Sarah Edwards
7e4db83ead Add event tracking for application selector (#19533)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-05-26 14:11:55 -07:00
Sarah Schneider
cbf07fec4b the other middleware perf PR removes this 2021-05-26 15:43:19 -04:00
Sarah Schneider
86d35b4520 recursionnnnnnn 2021-05-26 15:16:51 -04:00
Sarah Schneider
31631b4633 add localized fallbacks to English 2021-05-26 14:28:46 -04:00
Sarah Schneider
65ccf8798d Merge branch 'middleware-perf-part2' of github.com:github/docs-internal into middleware-perf 2021-05-26 13:55:07 -04:00
Sarah Schneider
6eca699e04 Merge branch 'main' of github.com:github/docs-internal into middleware-perf-part2 2021-05-26 13:54:45 -04:00
Sarah Schneider
77e778f359 Merge branch 'main' of github.com:github/docs-internal into github-ae-release-notes 2021-05-26 09:45:44 -04:00
github-openapi-bot
2a99743b56 Update OpenAPI Descriptions (#19556) 2021-05-25 23:56:02 +00: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
github-openapi-bot
254598e4d5 Update OpenAPI Descriptions (#19534) 2021-05-25 16:09:08 +10:00
Mike Surowiec
37f73f0bb3 Heroku dev deps (#19431)
* fix: req.csrfToken doesn't always exist (e.g. 500 page)

* feat: update dockerfile and add nextjs to build

* fix: run linter

* move @babel deps -> dev deps

* move webpack looking things from deps -> dev deps

* move pa11y-ci to optional dep

* explicitly include optional deps for pa11y

* allow heroku dev deps to be installed

* fix: update postcss module

* fix: update dockerfile build

* tmp: disable renderReact

* see if another deploy is slower/faster

* move a few more packages to devDeps

* upgrade to package-lock v2

* use dayjs instead of date-fns

* move cross-env to devDeps

* remove unused 'del' package

* commit husky precommit hooks

* add hrtime to clone-for-build.js

* Revert "add hrtime to clone-for-build.js"

This reverts commit 70ee647bacce833f4ed2f621f62c63c1d85e5413.

* update babel/eslint

* fix: remove unused plugin

* try a .slugignore

* fix: heroku-postbuild to use npm run build

* fix: i cannot spell dereferenced

* add .next/cache to heroku cacheDirectories

* test cached build

* remove aws-sdk, see what breaks

* move jest-puppeteer to optional deps

* fix: update browser-test.yml to use newer node version

* move jimp to optional dependencies

* move puppeteer to optional dependencies

* fix: ci optional include

* fix: bad copy pasta

* remove previous react experiment

* update tests/README.md with note about optional deps

* bump node test version back to 14

* convert package-lock back to v1

* fix: use node 15.x to leverage npm optional deps

* fix: optional dep install

* test: see what happens with heroku/nodejs-typescript buildpack

* back to heroku/nodejs buildpack

* move jest to optional

* revert jest move

* remove .slugignore

* cleanup dockerfile, move xlsx-population to optional, add comment about optional deps

* Update Dockerfile

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

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-05-24 15:40:50 -07:00
Sarah Schneider
221de41388 more merge updates 2021-05-24 12:10:58 -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
8b7804e5b7 error out so we do not recurse forever 2021-05-21 15:09:02 -04:00
Sarah Schneider
b835125fc1 Merge branch 'middleware-perf-part2' of github.com:github/docs-internal into middleware-perf 2021-05-21 12:32:41 -04:00
Sarah Schneider
0e39e763c4 update var name 2021-05-21 12:32:16 -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
7c7d9bf6b0 Merge branch 'main' of github.com:github/docs-internal into middleware-perf 2021-05-21 12:07:10 -04:00
Sarah Schneider
e4d464e9b6 remove unnecessary sortBy 2021-05-21 12:06:39 -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
d0dba82787 add new helper module to recursively find a segment in the site tree that matches a given path 2021-05-21 12:03:47 -04:00
github-openapi-bot
1064f71c24 Update OpenAPI Descriptions (#19482) 2021-05-21 07:18:38 +00:00
Kevin Heis
afa551f2ee Upgrade AJV (#19443)
* Upgrade AJV

* Fixes for AJV upgrade

* lint fix

* Update index.tsx
2021-05-20 17:46:04 +00:00
Sarah Schneider
5978edb47b remove feature flagged code 2021-05-20 10:01:33 -04:00
Sarah Schneider
b4ab2c52b6 delete no longer used files 2021-05-20 10:01:08 -04:00
github-openapi-bot
7fa69df9e9 Update OpenAPI Descriptions (#19447) 2021-05-19 23:15:32 +00:00
Sarah Schneider
ddcfe2d21a more algolia client updates from v3->v4 (#19437)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-05-19 19:44:13 +00:00
Kevin Heis
65243cd39e listIndexes -> listIndices (#19434)
https://www.algolia.com/doc/api-client/getting-started/upgrade-guides/javascript/
2021-05-19 18:22:22 +00:00
Kevin Heis
54887bc66b Sort topics on guide page (#19404) 2021-05-19 17:52:56 +00:00
Kevin Heis
f6acb1f08a Update dependencies (#19408)
* Update dependencies 2

* Lint fixes

* Update graphql packages

* Update changelog-entry.json

* Update @octokit/rest

* Update commander with help from @rachmari

@rachmari

* Upgrade helmet

* Upgrade js-yaml

* Update server.js

* Update cheerio

* Revert "Update cheerio"

This reverts commit 8aa17c39fbf564ee554037d89e7a473027d16984.
2021-05-19 17:32:47 +00:00
rachmari
91ee802932 🤖 ran script/update-enterprise-dates.js 2021-05-18 03:11:38 +00:00
github-openapi-bot
0894e10749 Update OpenAPI Descriptions (#19383)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
Co-authored-by: Leona B. Campbell <3880403+runleonarun@users.noreply.github.com>
2021-05-18 01:15:34 +00:00
hubwriter
f3234ad1d1 Code scanning API: revert changes on GHES 2.22 (#19285)
* Add temporary version of JSON files

* update to fix badly versioned examples

* Remove development mode JSON files

* Update OpenAPI Descriptions (#19362)

* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>

Co-authored-by: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com>
Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
Co-authored-by: Laura Coursen <lecoursen@github.com>
2021-05-17 16:55:54 +01:00