1
0
mirror of synced 2026-01-08 12:01:53 -05:00
Commit Graph

757 Commits

Author SHA1 Message Date
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
github-openapi-bot
f035720d74 Update OpenAPI Descriptions (#20251) 2021-07-01 15:23:43 +00:00
github-openapi-bot
23c63f3291 Update OpenAPI Descriptions (#20245) 2021-07-01 07:17:16 +00:00
Rachael Sewell
4f3761004b OpenAPI form data curl examples (#19507) 2021-06-30 17:33:20 -07:00
github-openapi-bot
b048121a0e Update OpenAPI Descriptions (#20235) 2021-06-30 14:55:01 -07:00
github-openapi-bot
28f90a7aca Update OpenAPI Descriptions (#20232)
* 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-06-30 14:16:23 -07:00
github-openapi-bot
e400d202db Update OpenAPI Descriptions (#20212)
Co-authored-by: Leona B. Campbell <3880403+runleonarun@users.noreply.github.com>
2021-06-30 20:38:40 +00:00
James M. Greene
4cf1794e41 Log Hydro validation failures (#20189)
* Log Hydro validation failures
* Include request body as well
2021-06-29 19:36:12 +00:00
github-openapi-bot
32f3662d7e Update OpenAPI Descriptions (#20154)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
2021-06-25 20:02:48 +00:00
github-openapi-bot
d5c2c13c4a Update OpenAPI Descriptions (#20126)
* 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-06-24 19:01:00 +00:00
Sarah Schneider
cffafaf748 Merge branch 'main' into revert-20087-revert-20069-fix-homepage-versions-dropdown 2021-06-24 12:40:17 -04:00
Kevin Heis
d3403e8653 Address goofy exports (#20113)
* Address a goofy export

* Fix more exports

* Change two exports
2021-06-24 14:59:06 +00:00
github-openapi-bot
8de762191d Update OpenAPI Descriptions (#20118)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
2021-06-24 13:13:38 +00:00
Sarah Schneider
3b78be7ff0 Merge branch 'main' into revert-20087-revert-20069-fix-homepage-versions-dropdown 2021-06-23 18:55:17 -04:00
Kevin Heis
a92d820888 Remove remaining JSON requires (#20110)
* Remove remaining JSON requires

* Lint

* Update feature-flags.js
2021-06-23 14:57:50 -07:00
Sarah Schneider
7e3e75616c Merge branch 'main' of github.com:github/docs-internal into feature-versioning 2021-06-23 15:59:37 -04:00
Sarah Schneider
d454e4032e Merge branch 'main' of github.com:github/docs-internal into feature-versioning 2021-06-23 15:16:52 -04:00
Sarah Schneider
96e6c909bb feedback from @heiskr 2021-06-23 15:05:14 -04:00
Sarah Schneider
92dc4e2929 ensure that ghes versioning in a feature gets combined with ghes versioning frontmatter, and does NOT overwrite it 2021-06-23 15:03:34 -04:00
Grace Park
cbdd722cac Merge branch 'main' into dynamic-esm 2021-06-23 10:46:25 -07:00
Grace Park
15e446b9c7 Update lib/app.js
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-06-23 09:58:59 -07:00
Sarah Schneider
15e33f05e7 Revert "Revert "Fix homepage versions dropdown" (#20087)"
This reverts commit f9f0b2ce86.
2021-06-23 10:12:36 -04:00
Matt Pollard
f9f0b2ce86 Revert "Fix homepage versions dropdown" (#20087) 2021-06-23 09:11:51 +02:00
github-openapi-bot
60e5417deb Update OpenAPI Descriptions (#20074)
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: github-openapi-bot <github-openapi-bot@users.noreply.github.com>
2021-06-22 21:50:34 +00:00
James M. Greene
7ee7a1aaaa Merge branch 'main' into feature-versioning 2021-06-22 15:28:34 -05:00
Grace Park
bcb11e607e Merge branch 'main' into dynamic-esm 2021-06-22 12:55:26 -07:00
Sarah Schneider
bc071c7dff remove homepage-specific version, no longer needed 2021-06-22 15:15:11 -04:00
Grace Park
23f586bb93 merge and fix conflicts 2021-06-22 11:41:10 -07:00
Grace Park
d3d1902414 Merge pull request #20017 from github/upgrade-esm
Enforce and Move to Top Level require
2021-06-22 11:27:48 -07:00
rachmari
b5586e31b9 Action ran graphql script"update-files" 2021-06-22 16:38:22 +00:00