Laura Coursen
60b0d95f0d
Hide the GitHub Insights docs ( #20414 )
2021-08-25 18:36:35 +00:00
Laura Coursen
0f03dac1ea
Create "Account and profile" top-level docset ( #20982 )
2021-08-24 15:08:25 +00:00
Grace Park
5bf7cca35d
remove liquid tags ( #20937 )
2021-08-18 15:52:44 +00:00
Lucas Costi
fd84dcb3e5
Fix test markup to be CommonMark compliant ( #20790 )
2021-08-11 23:35:55 +00:00
Rachael Sewell
a92853e40d
reapply some classes for lunr indexing ( #20765 )
2021-08-11 15:06:01 +00: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
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
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
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
Laura Coursen
88dd272f29
Rename GitHub product ( #20347 )
2021-07-21 12:22:30 +01: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
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
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
Sarah Schneider
d3b794f5b7
remove out of date test
2021-06-24 10:26:22 -04:00
Sarah Schneider
7de66fe4ef
Merge branch 'main' of github.com:github/docs-internal into script-to-use-short-versions
2021-06-24 10:14:50 -04:00
Matt Pollard
46cca06438
Merge branch 'main' into revert-20087-revert-20069-fix-homepage-versions-dropdown
2021-06-24 08:57:17 +02:00
Matt Pollard
4e99bceff3
Change title for admin product from "GitHub Enterprise" back to "Enterprise administrators" ( #20089 )
2021-06-24 06:15:42 +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
a8709c42ee
lint
2021-06-23 15:16:16 -04:00
Sarah Schneider
2427f92893
write tests to ensure that ghes versioning in a feature gets combined with ghes versioning frontmatter, and does NOT overwrite it
2021-06-23 15:03:12 -04:00
Sarah Schneider
5e10cea9ac
Merge branch 'main' of github.com:github/docs-internal into script-to-use-short-versions
2021-06-23 14:45:10 -04:00
Grace Park
00ed3e945a
Update tests/unit/versions.js
...
Co-authored-by: James M. Greene <JamesMGreene@github.com >
2021-06-23 11:20:35 -07:00
Grace Park
cb69acf071
Update tests/unit/products.js
...
Co-authored-by: James M. Greene <JamesMGreene@github.com >
2021-06-23 11:20:26 -07:00
Grace Park
cbdd722cac
Merge branch 'main' into dynamic-esm
2021-06-23 10:46:25 -07:00
Grace Park
24bf653228
Update tests/unit/versions.js
...
Co-authored-by: James M. Greene <JamesMGreene@github.com >
2021-06-23 10:21:04 -07:00
Grace Park
dce2a7b629
Update tests/unit/products.js
...
Co-authored-by: James M. Greene <JamesMGreene@github.com >
2021-06-23 10:20:43 -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
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
d0f130734e
update tests
2021-06-22 15:16:31 -04:00
Grace Park
26f70c5563
updating tests for usefaketimers
2021-06-22 11:53:47 -07: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
Sarah Schneider
0c35c0233b
Merge branch 'main' of github.com:github/docs-internal into script-to-use-short-versions
2021-06-22 12:50:47 -04:00
Sarah Schneider
1188fa557e
Merge branch 'main' into feature-versioning
2021-06-22 11:07:27 -04:00
Sarah Schneider
04b6c07c8e
Merge branch 'main' of github.com:github/docs-internal into feature-versioning
2021-06-22 10:26:02 -04:00
Grace Park
4850cceca2
Merge branch 'dynamic-esm' of https://github.com/github/docs-internal into dynamic-esm
2021-06-21 13:02:32 -07:00
Grace Park
2385f1407d
updating faketimers to be used in tests with setTimeout
2021-06-21 13:02:18 -07:00
Grace Park
0beb64935f
Merge branch 'main' into dynamic-esm
2021-06-21 12:12:35 -07:00
Grace Park
9a00195746
adding useFakeTimers
2021-06-21 12:11:15 -07:00
Sarah Schneider
235282974c
Merge branch 'main' of github.com:github/docs-internal into fix-early-access-tocs
2021-06-21 14:41:05 -04:00
Sarah Schneider
7919725e0f
add a few more early access tests
2021-06-21 14:40:56 -04:00
Grace Park
7b078820d0
Updating test to skip since Crowdin has a delay in updating the translations directory
2021-06-21 09:44:27 -07:00
Grace Park
9401a8f13a
Merge branch 'main' into upgrade-esm
2021-06-18 13:13:53 -07:00