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

747 Коммитов

Автор SHA1 Сообщение Дата
Grace Park 9d89d42a23 updating createApp 2021-06-21 12:00:06 -07:00
Grace Park bdda363e32
Merge branch 'main' into dynamic-esm 2021-06-21 09:17:42 -07:00
github-openapi-bot 6f9b4aa674
Update OpenAPI Descriptions (#20031) 2021-06-21 17:06:10 +01:00
rachmari b34232659d Action ran graphql script"update-files" 2021-06-20 16:37:15 +00:00
Grace Park 67b32946d0 exporting createApp function in app.js 2021-06-18 14:15:47 -07:00
Grace Park 9401a8f13a
Merge branch 'main' into upgrade-esm 2021-06-18 13:13:53 -07:00
Grace Park b688ac036c update instrument middleware 2021-06-18 12:14:08 -07:00
rachmari 0ead59e655 Action ran graphql script"update-files" 2021-06-18 16:37:51 +00:00
Grace Park 8154d3b701 adding mostly readfilesync of path updates to require 2021-06-17 20:22:04 -07:00
Grace Park 0762734b43 fixed easy global requires 2021-06-17 18:39:38 -07:00
Sarah Schneider 3f87580fe5 use __dirname instead of process cwd 2021-06-17 16:02:57 -04:00
Sarah Schneider 62ba27c8ea Merge branch 'main' of github.com:github/docs-internal into feature-versioning 2021-06-17 15:59:50 -04: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 91bf056909
Merge branch 'main' into localized-mini-tocs-bugfix 2021-06-17 11:25:53 -07:00
Sarah Schneider 0947adb8df support feature versions in frontmatter 2021-06-17 11:44:26 -04:00
Sarah Schneider 3ad7f24957 allow feature versioning in frontmatter schema 2021-06-17 11:42:46 -04:00
github-openapi-bot 2c520144a3
Update OpenAPI Descriptions (#19977) 2021-06-17 11:08:43 +00:00
Grace Park 310cc5309b pull in main and conflicts 2021-06-16 14:02:31 -07:00
Grace Park e795a6c79f Merge branch 'main' of https://github.com/github/docs-internal into site-tree-followup 2021-06-16 08:58:55 -07:00
github-openapi-bot f404f77036
Update OpenAPI Descriptions (#19952)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
2021-06-16 11:04:46 +00:00
github-openapi-bot 9c0320c3c6
Update OpenAPI Descriptions (#19938) 2021-06-16 11:40:18 +02:00
Grace Park cbb5b98adb delete lib/pages 2021-06-15 16:34:39 -07:00
sarahs 3bba436bb7 Action ran graphql script"update-files" 2021-06-15 18:20:17 +00:00
Octomerger Bot 3b8a8d684d
Branch was updated using the 'autoupdate branch' Actions workflow. 2021-06-16 02:57:15 +10:00
rachmari a355d3758e Action ran graphql script"update-files" 2021-06-15 16:37:57 +00:00
Sarah Schneider f33250e441
Merge branch 'main' into support-short-versions-in-frontmatter 2021-06-15 09:55:52 -04:00
github-openapi-bot 8e382eb90b
Update OpenAPI Descriptions (#19904) 2021-06-15 07:40:23 +00:00
Sarah Schneider 66a1dc493c support short versions in frontmatter 2021-06-14 19:51:38 -04:00
Sarah Schneider 8ed8a8e68b add comments to clarify what is borrowed and what is an override 2021-06-14 16:27:22 -04:00
Sarah Schneider d96fa5e2f0 add convience props to context and put supported ops in a separate module 2021-06-14 16:24:48 -04:00
Sarah Schneider 47d78cc105 Merge branch 'main' of github.com:github/docs-internal into support-short-versions 2021-06-14 16:16:43 -04:00
Sarah Schneider 7466e24a9b Merge branch 'main' of github.com:github/docs-internal into support-short-versions 2021-06-11 15:25:20 -04:00
Grace Park 3f248976ad Merge branch 'main' of https://github.com/github/docs-internal into grace-header-styling 2021-06-10 18:08:33 -07:00
github-openapi-bot 997956ac67
Update OpenAPI Descriptions (#19759) 2021-06-11 09:55:33 +10:00
Felicity Chapman 23b0b84111
Add Code security landing and guides pages (#19650) 2021-06-10 20:14:56 +00:00
Sarah Schneider 5c2046987f comment 2021-06-10 14:16:00 -04:00
Sarah Schneider 37ed508ebe support not keyword and operator 2021-06-10 14:14:45 -04:00
Sarah Schneider 6076350495 Merge branch 'main' of github.com:github/docs-internal into support-short-versions 2021-06-10 14:13:34 -04:00
rachmari 8adcd7397b Action ran graphql script"update-files" 2021-06-10 16:37:54 +00:00
Grace Park c8ceeb35f2 Merge branch 'main' of https://github.com/github/docs-internal into grace-header-styling 2021-06-10 09:37:13 -07:00
Grace Park e0c6211b65 adding more styling and graphql changes - should be ready to run script 2021-06-10 09:32:16 -07:00
Sarah Schneider 0835de30ab Merge branch 'support-short-versions' of github.com:github/docs-internal into support-short-versions 2021-06-10 11:54:38 -04:00
Sarah Schneider 534996d81c change ifver to ifversion 2021-06-10 11:53:56 -04:00
Sarah Schneider 6b2df4de54
Update lib/liquid-tags/ifver.js 2021-06-09 17:12:14 -04:00
Sarah Schneider 5d6d2d2cb7 Merge branch 'main' of github.com:github/docs-internal into support-short-versions 2021-06-09 17:00:37 -04:00
Sarah Schneider 49a64c2227 add clarifying comments 2021-06-09 16:57:51 -04:00
Sarah Schneider 1dfd1917ca register new ifver Liquid tag 2021-06-09 16:57:31 -04:00
Sarah Schneider cec28a47c1 add short names to all-versions 2021-06-09 16:57:00 -04:00
Rachael Sewell 830a1c1550
bump css-what to 5.0.1 (#19797) 2021-06-09 17:29:14 +00:00
Sarah Schneider c3b0b302d7 commit the results of the updated script 2021-06-09 09:29:10 -04:00
Sarah Schneider 672262cc69 Merge branch 'main' of github.com:github/docs into localized-mini-tocs-bugfix 2021-06-08 15:08:12 -04:00
Kevin Heis 26a8e61d3a
Update survey to use React/TS (#19728)
* Update survey to use React/TS

* Working survey form in react land

* A little cleanup

* Update Search.tsx

* Update Survey.tsx

* Remove token field from schema entirely, just let it fail validation

* Update events.js

* Update survey.html

* use Link component

* Use enum for state

* Update old to match new
2021-06-08 17:34:45 +00:00
Sarah Schneider ae8e4dfa9b rewrite get-english-headings to use AST instead of regex 2021-06-08 10:03:50 -04:00
rachmari ac5cab4b42 🤖 ran script/update-enterprise-dates.js 2021-06-08 03:08:23 +00:00
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