Joshua Chen
15fb0dacde
Merge branch 'main' into lex111/prism-styles-fouc
2022-05-14 23:49:10 +08:00
Joshua Chen
0838884f67
chore: enable import/order rule ( #7418 )
2022-05-14 23:39:50 +08:00
Nitya Narasimhan
a4c54aba45
docs: add Azure SWA as deployment option ( #7407 )
...
I've linked to the dev.to article (which is a timestamped stable version) - to be consistent with other deployment snippets.
The dev.to article references [this GitHub repo](https://github.com/fearlessly-dev/swa-demo-docusaurus ) and this[#30DaysOfSWA](https://www.azurestaticwebapps.dev/blog/build-with-docusaurus ) site which was the inspiration for writing this article. The repo contains the code for the demo, and its README is the canonical source for the article, in case relevant.
2022-05-14 19:57:43 +08:00
Joshua Chen
c17d745533
refactor(theme-classic): always collocate stylesheets with components in one folder ( #7415 )
2022-05-14 14:08:10 +08:00
Pranab Das
3f110a36bd
fix(theme-classic): autocollapse sidebar categories when navigating with paginator ( #7411 )
...
* fix: autocollapse sidebar categories
Auto collapse sidebar categories when navigating via paginator.
* Add autoCollapseCategories in dependency array
* restore collapse button behavior
* simplify
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
* hopefully a better fix
* refactor
* try this
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-14 13:37:59 +08:00
Joshua Chen
d2ca4a171c
refactor(core): properly code-split NotFound page ( #7405 )
2022-05-12 16:21:28 +08:00
Rui Peres
2bc3ea363f
docs: add Vital to showcase ( #7403 )
...
* Added vital to showcase
* missing tag
* make things work
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-12 16:21:19 +08:00
Akara
92a3ac4857
docs: add akara's blog to showcase ( #7401 )
...
* docs: add akara's blog to showcase
* minor tweaks
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-12 16:20:59 +08:00
Massoud Maboudi
bcf3813dca
chore(theme-translations): complete Farsi translations ( #7400 )
2022-05-12 10:38:49 +08:00
Matthias Koch
fa10d1b1a4
fix(website): use react-lite-youtube-embed for lazy YouTube video ( #7390 )
...
* fix(website): use react-lite-youtube-embed for lazy YouTube video
* fix(website): use react-lite-youtube-embed for lazy YouTube video
* fix(website): use react-lite-youtube-embed for lazy YouTube video
* Update multiple-sidebars.md
* Update installation.md
* refactor intro
* rename file back
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-12 10:30:59 +08:00
Benjamin Diolez
cd0aff443b
docs: add Piano Analytics to showcase ( #7381 )
...
* docs: add Piano Analytics to showcase
* optimize image; add to favorite
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-11 20:29:56 +08:00
Massoud Maboudi
a0b060759d
docs: fix translation config example ( #7396 )
2022-05-11 14:35:19 +08:00
dependabot[bot]
52e466e5de
chore(deps): bump github/codeql-action from 2.1.9 to 2.1.10 ( #7395 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.1.9 to 2.1.10.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](7502d6e991...75b4f1c466
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-11 13:14:28 +08:00
Joshua Chen
8973727de8
chore: use "pr:" prefix for changelog labels; elaborate on labeling process ( #7394 )
2022-05-11 13:02:59 +08:00
Joshua Chen
d3788bd126
fix(mdx-loader): use React.Fragment as fragment factory ( #7392 )
2022-05-11 11:02:41 +08:00
Joshua Chen
60960b471d
chore: upgrade dependencies, fix lint-staged not outputting formatted log ( #7388 )
...
* chore: upgrade dependencies, fix lint-staged not outputting formatted log
* fix
* fix lock...
2022-05-10 22:42:45 +08:00
Joshua Chen
6e10a48059
fix(content-docs): restore functionality when a category only has index page ( #7385 )
...
* fix(content-docs): restore functionality when a category only has index page
* use this internally
2022-05-10 14:50:43 +08:00
Joshua Chen
c3880cc342
refactor(create): clean up logic when prompting for unspecified arguments ( #7374 )
2022-05-08 22:00:28 +08:00
Alexey Pyltsyn
3094b9f4fa
refactor: mitigate FOUC when applying Prism theme
2022-05-08 14:07:38 +03:00
Designatory
cfdd1f7e6d
docs: update GeekyWeb's showcase description ( #7372 )
...
* Docs: Description Edited
* minor edit
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-08 16:09:03 +08:00
Joshua Chen
7c9892888d
refactor: normalize error logging ( #7370 )
2022-05-08 13:40:34 +08:00
Joshua Chen
87c7639a52
fix(cli): output correct path when swizzling bare-file component in subfolder ( #7369 )
...
* fix(cli): output correct path when swizzling bare-file component in subfolder
* fix snapshot
2022-05-08 13:23:40 +08:00
Joshua Chen
f29bb73300
fix(core): make error boundary fallback a component instead of a callback ( #7368 )
2022-05-07 22:35:57 +08:00
Joshua Chen
77fa3d1470
docs: display last canary publish date in human-readable format ( #7367 )
2022-05-07 20:17:58 +08:00
Joshua Chen
5bc50ff71f
chore: upgrade dependencies ( #7366 )
2022-05-07 19:46:21 +08:00
Joshua Chen
c0bd145a29
fix(theme-classic): resolve customCss from site dir ( #7363 )
2022-05-07 18:57:35 +08:00
Designatory
29b015de18
docs: add GeekyWeb to showcase ( #7356 )
...
* Update users.tsx
* geekyweb.png added
* changes
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-07 18:47:20 +08:00
Michael Hughes
204b9a386f
fix(core): allow githubPort in config validation ( #7360 )
...
* Update configValidation.ts
Proposed fix for #7359
* add test case
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-07 13:41:45 +08:00
Romain Dejoux
e32ff04d93
fix(types): declare missing peerDependencies
2022-05-06 17:12:04 +08:00
Joshua Chen
1a3488344b
chore: clean up showcase data, re-order and format ( #7353 )
...
* chore: clean up showcase data, re-order and format
* change image
2022-05-06 13:01:32 +08:00
Ngô Quốc Đạt
2372701463
docs: add Flarum to showcase ( #7352 )
...
* Update users.tsx
* Add image
2022-05-06 12:12:27 +08:00
Sébastien Lorber
386c5901eb
chore: update examples for beta 20 ( #7350 )
2022-05-05 21:38:47 +02:00
Sébastien Lorber
26df8c83ce
chore: prepare v2.0.0-beta.20 release ( #7347 )
2022-05-05 20:26:48 +02:00
Joshua Chen
9207cafec7
feat(website): make canary release page display actual canary version name ( #7334 )
2022-05-05 16:03:53 +02:00
Sébastien Lorber
c892492a12
docs(website): fix code block Crowdin issue ( #7345 )
2022-05-05 15:35:43 +02:00
Sébastien Lorber
dfe743c660
fix: avoid flash of page scrolling to top on refresh ( #7342 )
2022-05-05 19:39:10 +08:00
Joshua Chen
0cc4fa82c1
docs: add page for create-docusaurus API documentation ( #7343 )
...
* docs: add page for create-docusaurus API documentation
* update
2022-05-05 19:36:51 +08:00
Sergey Gromkov
dd4b7c84dd
docs: add Yandex Metrika plugin to community plugins ( #7340 )
...
* Adding Yandex Metrika plugin
* add words
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-05 18:16:22 +08:00
Joshua Chen
49a9f0345c
fix(theme-classic): properly highlight code block line numbers ( #7341 )
2022-05-05 18:07:46 +08:00
Joshua Chen
8f80f6c0b2
fix(website): fix multiple accessibility issues around color contrast ( #7336 )
...
* fix(website): darken breadcrumbs color to ensure contrast
* fix lighthouse
* fix more a11y
* more fix
2022-05-05 15:29:27 +08:00
Joshua Chen
eea27aad68
misc: move lighthouse message formatter to admin folder, refactor ( #7338 )
2022-05-05 14:51:16 +08:00
Alexey Pyltsyn
9cf8d75de8
fix(website): restore showcase ( #7337 )
2022-05-05 09:22:58 +03:00
Reece Dunham
d3f526fd8a
fix(core): inject docusaurus version into SSR as local ( #7329 )
...
* Revert "fix(core): handle case where package.json is not available at CWD (#7187 )"
This reverts commit 3b32a41f22
.
* properly fix
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-05 09:10:47 +08:00
Sébastien Lorber
78400541cb
chore: fix site deployment ( #7328 )
2022-05-04 19:28:06 +02:00
Steven Hicks
9ead309809
docs: add clarity to versioning behavior ( #7327 )
2022-05-05 00:15:50 +08:00
Sébastien Lorber
c31d076aed
chore: fix site deployment Crowdin issue ( #7326 )
2022-05-04 17:48:29 +02:00
Alexey Pyltsyn
6fa51890f0
chore: prepare v2.0.0-beta.19 release ( #7325 )
...
* chore: prepare v2.0.0-beta.19 release
* v2.0.0-beta.19
2022-05-04 18:38:45 +03:00
Alexey Pyltsyn
7944fdd9a2
refactor: minor improvements for breadcrumbs ( #7299 )
...
* refactor: minor improvements for breadcrumbs
* Apply suggestions from code review
* Update packages/docusaurus-theme-translations/locales/fr/theme-common.json
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-05-04 17:54:47 +03:00
Joshua Chen
b3feb01009
fix(theme-classic): remove breadcrumb items without href from microdata ( #7304 )
2022-05-04 16:54:24 +02:00
Alexey Pyltsyn
3a7e6665ad
misc: adjust Lighthouse CI ( #7324 )
...
* misc: adjust Lighthouse CI
* Use MD link
* Format code
2022-05-04 22:48:41 +08:00