Commit graph

3052 commits

Author SHA1 Message Date
sebastien
a3ca2d7457 refactor 2025-06-27 16:33:11 +02:00
sebastien
db686bbd37 add some tests for validateCategoryMetadataFile 2025-06-27 16:25:13 +02:00
sebastien
0fcd686f0a improve comment 2025-06-27 16:11:40 +02:00
sebastien
af3ba423ea add test for generator key propagation 2025-06-27 16:05:01 +02:00
sebastien
ff272ad7be do not always add key attribute 2025-06-27 16:00:01 +02:00
sebastien
766549317b Add unit test for docs translation key conflict behavior 2025-06-27 15:56:52 +02:00
sebastien
3a5010a83a Add initial implementation of sidebar keys 2025-06-27 15:45:09 +02:00
sebastien
13828934b4 Merge branch 'main' into slorber/fix-docs-category-index-translation-key-conflict 2025-06-26 18:10:40 +02:00
Sébastien Lorber
d9d7e855c2
feat(faster): Upgrade to Rspack 1.4 (#11294) 2025-06-26 17:10:41 +02:00
Sébastien Lorber
b0df38d317
feat(create-docusaurus): use respectPrefersColorScheme in init template (#11293) 2025-06-26 15:36:46 +02:00
Sébastien Lorber
385102df9f
chore: upgrade website to Rspack 1.4 + fix Rspack internal performance tracing (#11290) 2025-06-25 15:34:44 +02:00
Sébastien Lorber
1592094206
fix(theme): Fix footnote ref scrolling behind the navbar when footnote back reference clicked (#11289) 2025-06-25 11:11:38 +02:00
Sébastien Lorber
e14caf1f78
feat(core): add siteConfig.markdown.emoji config option to disable remark-emoji (#11282) 2025-06-24 16:38:08 +02:00
Sébastien Lorber
96c38d5fdd
feat(core): Add siteConfig.markdown.hooks, deprecate siteConfig.onBrokenMarkdownLinks (#11283) 2025-06-24 15:51:33 +02:00
Sébastien Lorber
1cbc0118b0
fix(docs): Fix empty sidebar item category className lost when post-processed to a doc (#11281) 2025-06-19 19:04:28 +02:00
stubinubin
068d4c63a9
fix(theme-common): Export FooterColumnItem type (#11280) 2025-06-19 18:31:03 +02:00
enumura
a94fdbe21c
fix(dev-server): use correct dev server HTML lang attribute (#11271)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2025-06-17 16:11:14 +02:00
Sébastien Lorber
6cb955987e
fix(theme): make useHistorySelector() hydration-safe + use it read search/hash in theme (#11263) 2025-06-13 18:49:28 +02:00
Sébastien Lorber
b54103be5d
fix(docs): prevent docs ids conflicts within a version (#11251) 2025-06-06 20:12:44 +02:00
Sébastien Lorber
f811e2dbf4
chore: release 3.8.1 (#11249) 2025-06-06 17:45:58 +02:00
Sébastien Lorber
315e3f617e
chore(faster): upgrade Rspack (#11248) 2025-06-06 11:44:59 +02:00
Sébastien Lorber
a36ac15947
fix(bundler): upgrade bundler CSS deps to fix potential bugs (#11243)
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-06-05 18:56:09 +02:00
Sébastien Lorber
60df4936aa
fix(theme): fix unability to navigate to category's page when browsing its children items (#11242) 2025-06-05 18:13:46 +02:00
Sébastien Lorber
d3ab0e63a0
fix(css-cascade-layers): fix windows css cascade layers bug (#11241) 2025-06-05 17:03:41 +02:00
Sébastien Lorber
18b47fdfc1
refactor(docs): extract loadVersion() without changing the behavior (#11230)
* refactor, extract loadVersion() without changing behavior

* Add minimal test case for loadVersion()

* Add minimal test case for loadVersion()

* more refactor, rename index.ts to version.ts

* fix tests

* empty
2025-06-02 18:44:07 +02:00
sebastien
d78dd08ad1 better dogfood 2025-06-02 17:08:05 +02:00
sebastien
7f05848713 Attempt to fix translation content conflict 2025-06-02 16:58:11 +02:00
Sébastien Lorber
ffa7525ff9
fix(bundler): fix docusaurus start using concatenateModules: true (#11222) 2025-05-30 21:07:11 +02:00
Sébastien Lorber
1c454a9430
fix(types): fix future flags public types (#11221) 2025-05-30 19:22:56 +02:00
Weslley Araújo
dd6396dd39
fix: include Arc to supported Chromium Browsers (#11217) 2025-05-30 09:52:22 +02:00
Sébastien Lorber
264774a550
perf: avoid duplicated git log calls in loadContent() and postBuild() for untracked Git files (#11211)
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-05-28 14:03:10 +02:00
Sébastien Lorber
68aa3c876b
fix(core): fix docusaurus start error for macOS users with no Chromium-based browser (#11205) 2025-05-27 17:13:32 +02:00
Sébastien Lorber
b126e643d1
chore: release Docusaurus 3.8 (#11200)
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-05-27 12:21:15 +02:00
Noritaka Kobayashi
8958c11c58
chore: fix typos in comment-out (#11197) 2025-05-27 10:38:35 +02:00
Ben McCann
ba18a8b8b9
chore: simplify construction of test paths (#11196) 2025-05-26 13:29:23 +02:00
Noritaka Kobayashi
5d858f5e66
refactor: remove unnecessary undefined & use optional chain (#11192) 2025-05-26 13:07:56 +02:00
Sébastien Lorber
abd04a2b71
feat(theme): new CSS cascade layers plugin + built-in v4.useCssCascadeLayers future flag (#11142)
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-05-22 19:55:02 +02:00
Shreedhar Bhat
9f6360ba82
refactor(content-blog): replace reading-time with Intl.Segmenter API (#11138)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2025-05-15 13:22:00 +02:00
Sébastien Lorber
f3e3f54e5c
fix(mdx-loader): remove opt-in for mdx dependency file (#11179) 2025-05-14 20:48:05 +02:00
Sébastien Lorber
e839b67034
perf(core): disable Rspack parallelCodeSplitting temporarily (#11178)
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-05-14 17:01:54 +02:00
Sébastien Lorber
d6be84a1e6
perf(core): fix bad value for mergeDuplicateChunks (typo) (#11177) 2025-05-13 14:38:03 +02:00
Sébastien Lorber
2371ca7b74
perf(bundler): fine-tuning of Webpack/Rspack optimizations (#11176) 2025-05-13 13:48:11 +02:00
Sébastien Lorber
dee76f8042
perf(core): add default for DOCUSAURUS_SSG_WORKER_THREAD_RECYCLER_MAX_MEMORY (#11170) 2025-05-09 19:26:15 +02:00
Sébastien Lorber
4af8982278
chore: add Node 24 to CI + fix deprecation warnings (#11168) 2025-05-09 18:29:07 +02:00
Sébastien Lorber
8061f2267b
feat(core): expose opt-in env variable for SSG thread recycling (#11166) 2025-05-09 17:40:58 +02:00
Sébastien Lorber
b7cd1061fd
perf(utils): implement git command queue (#11163)
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-05-09 16:31:05 +02:00
Sébastien Lorber
33811e38fe
perf(core): optimize SSG collected data memory and worker thread communication (#11162) 2025-05-09 13:34:02 +02:00
Arien Shibani
53fa0ecb1f
fix(create-docusaurus): Improve init template README, fix headings and remove $ in bash code blocks (#11157) 2025-05-08 18:10:21 +02:00
Sébastien Lorber
e905b93c90
feat(core): add internal flag to skip bundling (#11156) 2025-05-06 16:30:35 +02:00
Sébastien Lorber
59e9eb20fa
fix(theme): restore former code block theme-common internal APIs (#11153)
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-05-06 11:34:19 +02:00