1
0
mirror of synced 2026-01-24 06:01:08 -05:00
Commit Graph

786 Commits

Author SHA1 Message Date
GitHub Actions
35695c1d24 update search indexes 2021-08-05 22:16:26 +00:00
GitHub Actions
7da3a998e3 update search indexes 2021-08-05 22:01:59 +00:00
GitHub Actions
4a5f2d57eb update search indexes 2021-08-05 21:15:06 +00:00
GitHub Actions
d02e45045d update search indexes 2021-08-05 20:57:50 +00:00
GitHub Actions
117647dad8 update search indexes 2021-08-05 20:02:51 +00:00
Grace Park
2dbea3737a Removing algolia (#20633) 2021-08-05 13:10:51 -04:00
github-openapi-bot
4cf897efc9 Add decorated OpenAPI schema files 2021-08-04 17:28:16 +00:00
github-openapi-bot
9421ce8508 Update OpenAPI Descriptions 2021-08-04 10:22:50 -07:00
rachmari
1be66a3f7e Action ran graphql script"update-files" 2021-08-04 16:36:43 +00:00
rachmari
c91da894ec Action ran graphql script"update-files" 2021-08-03 16:36:15 +00:00
github-openapi-bot
a9d12edffd Add decorated OpenAPI schema files 2021-08-03 13:34:57 +00:00
github-openapi-bot
5b96b06fc6 Update OpenAPI Descriptions 2021-08-03 06:29:39 -07:00
Robert Sese
e387e79f16 Add color mode tracking (#20608)
* Add color_mode for event tracking

* Grab color_mode info from body and media queries

* Make color_mode schema more specific

* Get color mode preference in its own function

* Add 'auto' for potential future color modes
2021-08-02 22:21:00 +00:00
github-openapi-bot
1f0cb214f6 Add decorated OpenAPI schema files 2021-08-02 19:12:24 +00:00
github-openapi-bot
343983d741 Update OpenAPI Descriptions 2021-08-02 12:07:29 -07:00
Octomerger Bot
8a579ff40f Branch was updated using the 'autoupdate branch' Actions workflow. 2021-08-02 20:57:43 +10:00
github-openapi-bot
9d69677c53 Update OpenAPI Descriptions (#20617)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
2021-08-02 11:57:13 +01:00
rachmari
283287e692 Action ran graphql script"update-files" 2021-08-01 16:35:39 +00:00
github-openapi-bot
ba66a36839 Update OpenAPI Descriptions (#20606) 2021-07-29 23:20:01 +01:00
Kevin Heis
b29e37318a Remove import x statements (#20594)
* Clear out most import x

* Update rimraf use

* Move up readme blocks in scripts
2021-07-29 20:28:30 +00:00
Kevin Heis
1ed18e1448 Clear out some non-fn references to Algolia (#20592)
* Clear out some non-fn references to Algolia

* Update .github/workflows/dry-run-sync-search-indices.yml

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

* Update contributing/search.md

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

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-07-29 20:20:55 +00:00
Kevin Heis
0b1ff73a46 Update some readFileSync to await readFile with top level await (#20525)
* Update some readFileSync to await readFile with top level await

* More updates

* Update all-products.js

* Use 'lib/readfile-async.js' in runtime files for better performance

* Remove unnecessary use of 'for await...of' loops

* Revert to importing 'fs/promises'

Co-authored-by: James M. Greene <jamesmgreene@github.com>
2021-07-29 16:45:46 +00:00
Kevin Heis
d68dde17d1 Upgrade pipeline with env COMMONMARK=1 npm start to see new, otherwise parse current (#20508)
* Update the trim nightmare

* Update create-processor.js

* Update other packages in the rendering pipeline

* A few more updates

* Fix tables

* Update lint-files.js

* Fix copy code blocks

* Update render-content.js

* remove whitespace from liquid conditionals

* We no longer need require eslint rules

* Neat, it worked

* Revert test change

* Update create-processor.js

* Without aliases

Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-07-29 14:24:26 +00:00
github-openapi-bot
aaa54074c7 Update OpenAPI Descriptions (#20574) 2021-07-29 12:37:39 +01:00
github-openapi-bot
07e6453cd1 Update OpenAPI Descriptions (#20550) 2021-07-28 10:08:06 +00:00
Kevin Heis
eddadb875e LFS the Lunr Indexes (#20521)
* LFS the Lunr Indexes

* Add a note about installing Git LFS

* Run "install" command

* Update indexes

* Index names
2021-07-27 22:06:31 +00:00
JamesMGreene
c2e14806a9 Action ran graphql script"update-files" 2021-07-27 21:05:51 +00:00
Grace Park
8ba413cabc React Cleanup: Documentation (#20517)
* initial documentation changes

* editing layouts terminology

* update to match other files

* move javascripts to components/lib

* fix: dockerfile

* update based on Mikes updates to the javascripts directory

* update components/README.md

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2021-07-27 09:07:18 -07:00
github-openapi-bot
7ce6dc6de5 Update OpenAPI Descriptions (#20527) 2021-07-27 09:06:42 +00:00
github-openapi-bot
2c051505bf Update OpenAPI Descriptions (#20484)
Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2021-07-22 22:17:59 +00:00
Mike Surowiec
9386571aa4 fix: use named export for all-versions (#20478)
* fix: use named export for all-versions

* run prettier
2021-07-22 19:29:00 +00:00
github-openapi-bot
fa99cdf2b4 Update OpenAPI Descriptions (#20403)
* Update OpenAPI Descriptions

* update the add-and-commit action to latest version

* manually update decorated files

* fix: update allowed-actions

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
Co-authored-by: Sarah Edwards <skedwards88@github.com>
2021-07-22 16:25:52 +00:00
Grace Park
44f451eb09 Removing webpack build step (#20405)
* removing webpack build step

* keep copywebpackplugin and add fonts to assets/fonts

* update marketing font path

* update font path

* update font

* remove builtAssets

* remove copying front end code with dist

* move Inter fonts to /assets/fonts/inter

* move copy-webpack-plugin back to deps

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2021-07-22 09:11:30 -07:00
Grace Park
e58570e28d Part 4: React Cleanup after new 404/500 pages (#20465)
* remove 404 and 500 layouts

* removing unneeded liquid tags

* remove unnecessary includes

* remove javascripts

* adding liquid tags and update Dockerfile

* add tool-switcher
2021-07-22 08:59:34 -07:00
James M. Greene
df301cb5da Remove all code related to Redis page caching (#20457)
Towards simplification for https://github.com/github/docs-engineering/issues/678
2021-07-21 20:44:00 +00:00
James M. Greene
583f5a965f Fix Remark deprecation warning (#20439) 2021-07-21 14:46:24 +00:00
Mike Surowiec
6bc50f7e30 fix: filter hidden pages from the currentProductTree (SidebarProduct) (#20404)
* fix some async test things

* allow eslint to parse top-level awaits

* fix: filter out hidden pages closer to SidebarProduct usage
2021-07-20 12:32:35 -04:00
Sarah Schneider
cc2d10d1b3 Rewrite Liquid deprecation script (#20225) 2021-07-19 22:36:15 +00:00
Grace Park
27aa5d92ea Remove FEATURE_NEXTJS Flag Part 1 (#20176)
* cleanup FEATURE_NEXTJS

* fixing some server tests

* updating article a for server tests

* update h2 to h4 map topic tests

* data off on TOCs

* updating dropdown article versions links

* Update so markdown renders in intros

* updating typo and all server tests are now passing

* remove nextjs feature flag

* head.js tests pass

* updating article-version-picker

* remove nextjs feature flag browser test

* update header.js tests

* fix page-titles.js test

* fix deprecated-enterprise versions

* adding early access

* testing

* getting childTocItem

* fixing table of contents to show child toc items

* updated to 2 because the sidebar article also has the same link

* remove comment

* updating pick

* Update TocLandingContext.tsx

* update package.json and change className to h4 for h2

* updating with mikes feedback

* remove a.active test

* React clean up: Delete unnecessary layouts/includes Part 2 (#20143)

* Delete unnecessary layouts

* setting back tests failing :(

* update layouts

* delete unnecessary includes

* remove github-ae-release-notes and updating layouts

* remove a.active test
2021-07-16 14:54:25 -07:00
Kevin Heis
8a56437c93 Pretty format (#20352)
* Update prettier flow to include JS

* Run prettier

* ...run prettier
2021-07-14 14:35:01 -07:00
Kevin Heis
42e785b0a8 Migrate CommonJS to ESM (#20301)
* First run of script

* Get the app running --- ish

* Get NextJS working

* Remove `node:`

* Get more tests passing in unit directory

* Update FailBot test to use nock

* Update test.yml

* Update Dockerfile

* tests/content fixes

* Update page.js

* Update build-changelog.js

* updating tests/routing

* Update orphan-tests.js

* updating tests/rendering

* Update .eslintrc.js

* Update .eslintrc.js

* Install jest/globals

* "linting" tests

* staging update to server.mjs

* Change '.github/allowed-actions.js' to a ESM export

* Lint

* Fixes for the main package.json

* Move Jest to be last in the npm test command so we can pass args

* Just use 'npm run lint' in the npm test command

* update algolia label script

* update openapi script

* update require on openapi

* Update enterprise-algolia-label.js

* forgot JSON.parse

* Update lunr-search-index.js

* Always explicitly include process.cwd() for JSON file reads pathed from project root

* update graphql/update-files.js script

* Update other npm scripts using jest to pass ESM NODE_OPTIONS

* Update check-for-enterprise-issues-by-label.js for ESM

* Update create-enterprise-issue.js for ESM

* Import jest global for browser tests

* Convert 'script/deploy' to ESM

Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: James M. Greene <jamesmgreene@github.com>
2021-07-14 13:49:18 -07:00
rachmari
0b47e4e101 Action ran graphql script"update-files" 2021-07-13 22:12:38 +00:00
Rachael Sewell
890b5cca18 fix graphql updater script (#20329) 2021-07-13 21:58:40 +00:00
Rachael Sewell
87690bf634 revert to using static content type (#20319) 2021-07-13 09:54:09 -07:00
github-openapi-bot
8948d52184 Update OpenAPI Descriptions (#20307) 2021-07-13 10:56:20 +00:00
Rachael Sewell
25c19c13aa fix typo found by @adityatheoctocatdev (#20303)
Co-authored-by: Aditya Patel adpatel162@outlook.com
2021-07-12 15:15:57 -07:00
James M. Greene
d639f74aed Warm server only once no matter what (#20264) 2021-07-02 19:34:50 +00:00
Sarah Schneider
c032403ec7 add comment 2021-07-01 12:33:37 -04:00
Sarah Schneider
083ba4e1eb Update lib/create-tree.js
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-07-01 12:28:37 -04:00
Sarah Schneider
0333ea39fb initialize Pages for existing translated paths, not just English paths with localized versions of those paths 2021-07-01 12:13:43 -04:00