Kevin Heis
1cf2a16d21
Merge branch 'main' into revert-16952-revert-16947-optimize-sitetree
2020-12-15 14:05:49 -08:00
Kevin Heis
0f685115f7
Revert file reads from async to sync ( #16979 )
...
* Revert file reads from async to sync
* Async funness
* Fix warm server timers
Co-authored-by: Chiedo John <chiedo@chiedosbmacbook.lan >
2020-12-15 22:04:41 +00:00
Kevin Heis
3dae194793
Merge branch 'main' into revert-16952-revert-16947-optimize-sitetree
2020-12-15 11:01:37 -08:00
Kevin Heis
85ddb82fe8
Avoid mixing sync and async during warmServer ( #16940 )
...
* Avoid mixing sync and async during warmServer
* Update data-directory.js
* Move more sync processing to later
* Update pages.js
* Update pages.js
2020-12-15 10:56:25 -08:00
Kevin Heis
122da9610c
Move redirect calculation from loadPages to loadRedirects ( #16918 )
...
* Move redirect calculation from loadPages to loadRedirects
* Make buildredirects a method for tests
* Update redirects.js
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com >
2020-12-15 18:40:50 +00:00
Sarah Schneider
c859f853dc
refactor map topic module to not use breadcrumbs
2020-12-15 11:52:53 -05:00
Sarah Schneider
dca55a0257
Revert "Revert "sitetree optimizations""
2020-12-14 20:25:01 -05:00
Sarah Schneider
b38eec9964
Revert "sitetree optimizations"
2020-12-14 16:53:04 -05:00
Sarah Schneider
ab7cbda68d
refactor how we get map topic content
2020-12-14 14:55:16 -05:00
Kevin Heis
7dfea2d0d6
Remove stat check from lib/pages per Node recommendations ( #16920 )
2020-12-14 16:44:09 +00:00
Kevin Heis
62889986b6
Revert "Revert "Speed up warmServer by loading pages (and files) asyn… ( #16837 )
...
* Revert "Revert "Speed up warmServer by loading pages (and files) asynchronously (#16752 )" (#16835 )"
This reverts commit a14517115f .
* Move async to regular dependencies
* Update package-lock.json
2020-12-09 17:40:58 +00:00
Jason Etcovitch
a14517115f
Revert "Speed up warmServer by loading pages (and files) asynchronously ( #16752 )" ( #16835 )
...
This reverts commit 1d5e216404 .
2020-12-09 17:12:07 +00:00
Kevin Heis
1d5e216404
Speed up warmServer by loading pages (and files) asynchronously ( #16752 )
...
* Async `new Page`
* Update pages.js
* Update pages.js
* Update pages.js
* Update pages.js
* Update pages.js
* Using mapLimit
* Update pages.js
* Test updates
* Update pages.js
* Move exists to page class
* Test fixes
* Slightly faster localized paths process
2020-12-09 16:57:18 +00:00
Octomerger Bot
218d08f38d
Branch was updated using the 'autoupdate branch' Actions workflow.
2020-12-03 12:53:19 -08:00
Kevin Heis
92ba8d904e
Merge branch 'main' into experiment-with-react-and-mdx
2020-12-03 08:49:34 -08:00
Kevin Heis
11d8e415da
Check repository references ( #16680 )
...
* Check repository references
* Remove "foundRepoNames" that I used to find all the unique names
* A little speed up with Set
* Ignore a few files
* Remove remaining references
* Update README.md
2020-12-03 16:41:03 +00:00
Kevin Heis
791c7c6296
Run lint
2020-12-02 14:15:18 -08:00
Kevin Heis
07a78222ae
Merge branch 'main' into experiment-with-react-and-mdx
2020-12-02 14:10:51 -08:00
James M. Greene
4e1d62b91a
Remove free-pro-team support from Spanish translation of Insights doc ( #16730 )
...
* Remove free-pro-team support from Spanish translation of Insights doc
* Throw errors for mismatched products in non-English content pages as well
2020-12-02 22:07:56 +00:00
Jason Etcovitch
52dbd92144
Rewrite links in Page.intro with language ( #16550 )
...
* Add defaultLanguage behavior
* Add a million logs because I'm confused
* Rewrite intro links
* Undo changes to detect-language
* Add a test
2020-11-19 15:53:35 -05:00
Jason Etcovitch
0730158918
Datadoge ( #16464 )
...
* Install hot-shots
* Add statsd client
* Add some metrics
* Add a comment
* Comment typo fix
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
2020-11-13 15:49:50 -05:00
Jason Etcovitch
174d8539c6
Support arbitrary keys in new featuredLinks frontmatter ( #16239 )
...
* Add featuredLinks to frontmatter
* Parse them in featured-links.js
* Remove old raw setup
* Use them
* Missed a couple
* Update translation files
* Fix frontmatter schema
* Loop over the right object
* Also update translations' usage
* Update docs and tests
* Better README comment
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com >
* Return next()
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com >
2020-10-27 13:53:10 -04:00
Sarah Schneider
095410dcb0
Throw error on mismatched versioning ( #16191 )
...
* throw an error if a page is available in a version that its parent product is not available in
* add tests
* fix one Insights content file versioned for FPT when Insights is only available in GHES currently
2020-10-23 11:13:05 -04:00
Chiedo
3c71bc71ed
Minor patches
2020-10-20 09:06:43 -04:00
Chiedo
8ef2822b48
Add performance optimization
2020-10-20 09:00:22 -04:00
Chiedo
b781e43893
Add experimental react support within markdown
...
Also added fronmatter for interactive: true to turn on React on a file by file
basis and prevent slowing down the builds for non-react files
2020-10-18 14:44:34 -04:00
Sarah Schneider
aa5a62d49d
Remove versions feature flag code ( #15793 )
...
* remove FEATURE_NEW_VERSIONS from feature-flags.json
* remove process.env.FEATURE_NEW_VERSIONS from include files
* remove process.env.FEATURE_NEW_VERSIONS from lib files
* remove process.env.FEATURE_NEW_VERSIONS from middleware files
* remove process.env.FEATURE_NEW_VERSIONS from script files
* remove process.env.FEATURE_NEW_VERSIONS from test files
* update test fixtures to use new versions as canonical fixtures
2020-09-29 13:36:07 -04:00
Vanessa Yuen
3df90fc9b8
Hello git history spelunker!
...
Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
2020-09-27 14:10:11 +02:00