Commit graph

599 commits

Author SHA1 Message Date
sebastien
1796741129 add tests for sidebar item keys props + ensure the key attribute is forwarded to frontend as props for all sidebar items 2025-06-27 16:52:24 +02:00
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
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
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
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
7f05848713 Attempt to fix translation content conflict 2025-06-02 16:58:11 +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
5d858f5e66
refactor: remove unnecessary undefined & use optional chain (#11192) 2025-05-26 13:07:56 +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
f6bdc3123b
refactor(theme): refactor CodeBlock parseLines logic + use inline snapshots to ease review (#11058)
* refactor codeblock parseLines logic + use inline snapshots

* refactor: apply lint autofix

* eslint

---------

Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-04-04 13:22:51 +02:00
ozaki
7f4a37949e
refactor: replace unmaintained shelljs dependency by execa (#10358)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2025-02-28 14:31:01 +01:00
Sébastien Lorber
e641568e7f
feat(core): Docusaurus Faster - Rspack Persistent Cache (#10931) 2025-02-21 11:39:48 +01:00
Sébastien Lorber
af272bdefa
fix(docs): fix mdx loader cache invalidation bug on versions changes (#10934) 2025-02-14 17:46:41 +01:00
Sébastien Lorber
a72a06ecb1
fix(plugins): add missing validateOptions types (#10929)
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-02-13 15:29:51 +01:00
John Reilly
45065e8d2b
fix(seo): docs breadcrumb structured data should use JSON-LD and filter unliked categories (#10888)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2025-02-07 19:03:10 +01:00
jkboxomine
3b72bb43db
fix(docs): versioning CLI should copy localized translation file current.json to version-<v>.json (#10875)
Co-authored-by: Sungchang Ha <bryan98@naver.com>
2025-01-31 12:50:13 +01:00
Sébastien Lorber
67207bc5e5
fix(theme): Fix <DocCardList> usage on docs at root of a sidebar (#10847)
Fix `<DocCardList>` usage on docs at root of a sidebar
2025-01-16 21:53:41 +01:00
Sébastien Lorber
71d682c53b
chore: release Docusaurus 3.7.0 (#10812) 2025-01-03 18:11:21 +01:00
Sébastien Lorber
0f29a37b3a
feat: Add React 19 support to Docusaurus v3 (#10763) 2024-12-24 14:43:03 +01:00
Sébastien Lorber
91c0b5bf35
fix(docs): fix sidebar item visibility bug for category index (#10754) 2024-12-10 13:06:21 +01:00
Sébastien Lorber
f9825af43e
refactor: prepare types for React 19 (#10746) 2024-12-06 18:03:04 +01:00
Sébastien Lorber
fd43036ab8
chore: release Docusaurus 3.6.3 (#10713) 2024-11-22 17:13:56 +01:00
Sébastien Lorber
90e85e83a5
chore: release Docusaurus 3.6.2 (#10698) 2024-11-19 19:07:06 +01:00
Sébastien Lorber
f1272788a4
chore: release Docusaurus 3.6.1 (#10659) 2024-11-08 18:47:43 +01:00
Sébastien Lorber
ed2cdf391f
chore: release Docusaurus v3.6 (#10633) 2024-11-04 12:03:54 +01:00
Sébastien Lorber
2495d059de
refactor(core): prepare codebase for swappable bundler (#10497) 2024-09-13 09:30:30 +02:00
Sébastien Lorber
5bab0b5432
feat(core, mdx-loader): deduplicate MDX compilation - siteConfig.future.experimental_faster.mdxCrossCompilerCache (#10479) 2024-09-06 16:07:09 +02:00
Sébastien Lorber
a47e8dda2d
refactor(mdx-loader): re-export metadata module instead of serializing it (#10470) 2024-09-02 17:54:29 +02:00
Sébastien Lorber
a4329d3388
refactor(mdx-loader): read metadata from memory (loaded content) instead of fs (#10457)
* mdx loader shouldn't read metadata from file system but from memory

* comments

* refactor: apply lint autofix

* apply same for blog

* apply same for blog

* refactor: apply lint autofix

* apply same for pages
2024-08-30 08:02:26 +02:00
Sébastien Lorber
d5885c0c5d
refactor(mdx-loader): refactor mdx-loader, expose loader creation utils (#10450) 2024-08-27 13:52:45 +02:00
Sébastien Lorber
418247ec87
feat(core): faster transpiler option - siteConfig.future.experimental_faster.swcJsLoader (#10435) 2024-08-23 13:48:52 +02:00
Sébastien Lorber
655ce94c0f
chore: release 3.5.2 (#10400) 2024-08-13 14:47:19 +02:00
Sébastien Lorber
bde4414614
chore: release v3.5.1 (#10385) 2024-08-09 23:42:06 +02:00
Sébastien Lorber
daa6b87f24
chore: release Docusaurus v3.5 (#10379) 2024-08-09 17:14:21 +02:00
Bharatesh
44ddada37a
fix(docs): the _category_.json description attribute should display on generated index pages (#10324)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-08-09 11:32:21 +02:00
ozaki
fb4e32fb81
fix(theme): docsVersionDropdown navbar item not showing the appropriate version (#10309)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-07-25 12:34:34 +02:00
Sébastien Lorber
026a317fc4
refactor(docs): theme-common shouldn't depend on docs content (#10316) 2024-07-23 10:50:07 +02:00
Sébastien Lorber
6dd9a5076e
chore: simplify TypeScript configs, use TS 5.5 configDir placeholder (#10256) 2024-07-01 17:34:40 +02:00
Sébastien Lorber
cc506c8950
feat(mdx): support recma plugins (#10241) 2024-06-21 19:25:32 +02:00
Sébastien Lorber
dbdd4dfb2e
chore: release Docusaurus v3.4 (#10186) 2024-05-31 19:09:06 +02:00
Sébastien Lorber
a7afd9cc87
fix(docs, blog): Markdown link resolution does not support hot reload (#10185) 2024-05-31 17:47:36 +02:00