Commit graph

2458 commits

Author SHA1 Message Date
sebastienlorber
98957bbeaf prettier 2022-08-25 13:28:57 +02:00
adventure-yunfei
31591a3877
Update packages/docusaurus/src/client/preload.ts
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-08-25 16:41:34 +08:00
adventure-yunfei
021158a02d fix: preload with encoded page links 2022-08-19 12:28:28 +08:00
Sébastien Lorber
eac3239757
feat(docs): allow to configure noIndex per doc version (#7963) 2022-08-17 16:55:49 +02:00
Sébastien Lorber
a335a69982
fix(sitemap): filter all routes with robots meta containing noindex (#7964) 2022-08-17 16:41:41 +02:00
Bagdasar Ovsepyan
2052482e20
feat(theme): adds Ukrainian default theme translations (#7953) 2022-08-16 18:57:14 +02:00
Sébastien Lorber
de526e1ab2
feat(plugin-docs): docs sidebar item link: support "autoAddBaseUrl" attribute (#7949) 2022-08-12 12:50:12 +02:00
Sébastien Lorber
53bb0307dd
refactor(theme-classic): split AnnouncementBar, increase z-index, use shadow (#7940) 2022-08-12 12:34:54 +02:00
Sébastien Lorber
ad15605545
feat(theme-classic): use lang attribute in navbar locale dropdown items (#7942) 2022-08-12 12:33:53 +02:00
Sébastien Lorber
b4279dfee7
feat(core): add new Webpack file-loader extensions: avif, mov, mkv, mpg, avi... (#7941) 2022-08-11 19:42:13 +02:00
Sébastien Lorber
2a6f116a85
chore: bad remark-admonition readme link (#7939) 2022-08-11 10:38:35 +02:00
Kevin Østerkilde
221b114b2c
refactor(theme-classic): make tag text visually certered (#7876) 2022-08-09 20:00:43 +02:00
Joshua Chen
308d3e1f89
docs: remove mention of beta (#7905)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-08-09 19:26:23 +02:00
Ngô Quốc Đạt
efcfa1dd35
chore(theme-translations): complete vi translations (#7928)
docs: update Vietnamese translations
2022-08-10 00:50:08 +08:00
Yangshun Tay
0bc4a7ddb1
fix: revert "update FB template headers (#7842)" (#7926)
Revert "chore: update FB template headers (#7842)"

This reverts commit 9150c7aefc.
2022-08-09 09:42:27 +08:00
Sébastien Lorber
b7ea00a917
chore: bump main to 3.0.0-alpha.0 (#7923) 2022-08-08 19:13:49 +02:00
yzhe819
d938ff7430
fix(theme-classic): code block line number display with line wrapping (#7910)
* fix: line numbers display issue of code block

* test: add dogfooding test page

* chore: lint

* test: move to code-block-tests
2022-08-07 23:01:31 +08:00
Joshua Chen
1bf5c0d36e
chore: upgrade dependencies (#7883) 2022-08-02 16:44:02 +08:00
Joshua Chen
40827c6c72
fix(utils): always match exclusion root dirs as complete folder paths (#7864)
* fix(utils): always match exclusion root dirs as complete folder paths

* fix

* fix?

* fix for real
2022-08-01 15:23:01 +08:00
Markshawn
f6835898bc
chore: fix CSS import order ESLint rule (#7852)
* enhance: added ESLint ruler for CSS import

* chore: added ruler for default import of css, and fixed all exsting files

* chore: reverted changes on css header rulers
2022-08-01 00:05:00 +08:00
Yangshun Tay
9150c7aefc
chore: update FB template headers (#7842) 2022-07-28 14:48:03 +08:00
Joshua Chen
960637a090
chore: upgrade dependencies (#7822) 2022-07-23 22:26:48 +08:00
Joshua Chen
1dd65eee50
fix(utils): recognize ~~~ as code fences in link replacement (#7801) 2022-07-18 19:16:00 +08:00
Joshua Chen
17ec6bbde7
chore: upgrade dependencies (#7794) 2022-07-17 12:44:46 +08:00
whiteand
cf134a5308
fix: collapse siblings when first category is selected (#7786)
fix: not collapsing when first category is selected
2022-07-15 16:54:09 +08:00
Joshua Chen
1065e558d2
refactor(core): log Docusaurus & Node version before exiting (#7781) 2022-07-14 19:50:57 +02:00
Sébastien Lorber
965a01e589
chore: port-2.0.0-rc.1 (#7782) 2022-07-14 19:30:17 +02:00
Sébastien Lorber
f913af0d69
docs: release process, versioning, breaking changes, public API surface (#7706)
Co-authored-by: Paul O’Shannessy <paul@oshannessy.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-07-14 17:07:34 +02:00
Sébastien Lorber
9788944df4
refactor(theme): fix duplicate page metadata usage (#7777) 2022-07-14 14:44:45 +02:00
Sébastien Lorber
c48f33800c
fix(core): swizzle --eject js should not copy theme .d.ts files (#7776) 2022-07-14 12:23:06 +02:00
Joshua Chen
c3d2e0d30b
fix(sitemap): complete gracefully when all pages have noIndex meta (#7774) 2022-07-14 08:59:01 +08:00
Sébastien Lorber
665c3117af
chore: bump Infima to 0.2.0-alpha.42, fix a:hover link bug (#7771) 2022-07-13 13:57:35 +02:00
Wes McNamee
542228ee1b
fix(deploy): revert "feat(deploy): copy local git config to tmp repo (#7702)" (#7750) 2022-07-12 14:06:18 +02:00
Joshua Chen
a4b4a7f28d
fix(migrate): import siteConfig with file extension (#7766)
* fix(migrate): import siteConfig with file extension

* fix test

* Revert "fix test"

This reverts commit f5d00ab0e6.
2022-07-12 16:08:20 +08:00
Sunghyun Cho
337463ae1c
chore(theme-translations): complete ko translations (#7762)
* Improve Algolia Search Korean Translations

* Update theme-search-algolia.json

* Remove Duplicate Colon

* remove redundnacy

* Update theme-search-algolia.json

* Translate Search By

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-07-12 12:33:01 +08:00
Joshua Chen
cba8be01a3
fix(theme-classic): validate options properly (#7755)
* fix(theme-classic): validate options properly

* improve normalization

* fix doc
2022-07-11 19:24:46 +08:00
Joshua Chen
636d47060e
refactor(core): use has instead of get to test for existence in ExecEnv (#7763)
refactor(core): use has instead of get to test for existence
2022-07-11 19:19:17 +08:00
Arthur Brugière
1ad97843ac
fix(algolia-search): test for canUseIntersectionObserver (#7761)
[FIX] Update observer condition

Replace condition canUseDOM to canUseIntersectionObserver as check is done for IntersectionObserver usage
2022-07-11 19:03:54 +08:00
LichLord91
cd7da6113e
fix(theme-classic): fix Layout theme height CSS (#7752)
* fix(theme-classic):  fix Layout theme css height

This fixes html and body tags height from bug report

https://github.com/facebook/docusaurus/issues/7746

* Update styles.module.css

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-07-10 00:32:48 +08:00
Joshua Chen
07641ae53d
chore: upgrade dependencies (#7754) 2022-07-10 00:32:32 +08:00
Sébastien Lorber
f0f97f29f9
chore: prepare v2.0.0-beta.22 release (#7741) 2022-07-08 18:34:05 +02:00
Sébastien Lorber
d3d22d3a72
refactor(theme): nest theme icons under subfolder @theme/Icon/* (#7740) 2022-07-08 16:56:53 +02:00
Sébastien Lorber
c3ff131110
refactor(theme): split BlogPostItem into smaller theme subcomponents (#7716) 2022-07-08 13:28:53 +02:00
Rein van Haaren
c7f18801da
feat(theme-translations): Dutch translation (#7732)
Dutch translation
2022-07-08 13:47:47 +08:00
Forresst
a9406e7cb9
fix(theme-translations): improve fr translation (#7731) 2022-07-07 15:48:47 +08:00
赤城结衣
bb110e5400
fix(theme-translations): improve grammar of zh translation (#7696)
* fix: a grammar mistake

* Update packages/docusaurus-theme-translations/locales/zh-Hans/theme-common.json

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-07-07 11:52:00 +08:00
Sunghyun Cho
a25e18ce32
fix(theme): show blog post edit link even when no tag & not truncated (#7727)
Show edit link even when no tag & not truncated.
2022-07-06 18:46:49 +02:00
Forresst
ae2ba5e37a
feat(algolia-search): allow translating search modal (#7666)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-07-06 18:21:55 +02:00
Sébastien Lorber
713dcdf7a8
refactor(types): split into multiple files (#7710) 2022-07-06 18:00:57 +02:00
Sébastien Lorber
bc0538f6fa
refactor(theme-common): move useDocsPreferredVersion() to public api (#7729) 2022-07-06 17:58:18 +02:00