dependabot[bot]
dbc4ed2c15
chore(deps): bump actions/dependency-review-action from 4.6.0 to 4.7.0 ( #11174 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-13 14:39:38 +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
Sébastien Lorber
91d95a9ac1
fix: fix docs lint issue ( #11154 )
2025-05-06 11:20:14 +02:00
David King Roderos
42223ef9eb
docs: Use tabs on choosing a GitHub action file ( #11145 )
...
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2025-05-06 10:34:48 +02:00
Jack Howard
fef6c4c8cb
fix(theme): improve color contrast of live code block header ( #11120 )
...
fix: Ensure accessibility of live code block contrast with background update
2025-05-02 13:52:38 -04:00
JiPai
5d0df96554
docs(deploy): remove layer0
from deployment docs ( #11137 )
2025-05-02 19:21:54 +02:00
Shreedhar Bhat
fadb6d2607
test(reading-time): Unit tests for calculating reading time ( #11116 )
2025-04-30 12:47:51 +02:00
dependabot[bot]
16ebd55ef6
chore(deps): bump http-proxy-middleware from 2.0.7 to 2.0.9 ( #11135 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-29 10:16:22 +02:00
dependabot[bot]
67924ca979
chore(deps): bump marocchino/sticky-pull-request-comment from 2.9.1 to 2.9.2 ( #11103 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-15 09:31:05 +02:00
dependabot[bot]
bf6f574383
chore(deps): bump actions/setup-node from 4.3.0 to 4.4.0 ( #11102 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-15 09:30:51 +02:00
Sébastien Lorber
730ce485ba
feat(theme): make it possible to provide your own page title formatter ( #11090 )
2025-04-11 19:16:17 +02:00
Sébastien Lorber
5b944d6b64
feat(pages): Support frontMatter.slug
like docs and blog plugins ( #11088 )
2025-04-11 14:44:19 +02:00
Sébastien Lorber
ac0a6f7d5b
chore: add pr: translations
GitHub + lerna changelog label ( #11087 )
...
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-04-11 12:51:42 +02:00
Sébastien Lorber
72b8621515
fix(theme): add missing rel="tag"
attribute for docs/blog tags ( #11085 )
...
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-04-11 11:44:12 +02:00
Sébastien Lorber
535c1c9835
docs: remove ref to Docusaurus v2 ( #11084 )
...
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-04-11 11:05:44 +02:00
Sébastien Lorber
29d19a6884
refactor(live-codeblock): refactor live code block theme components ( #11077 )
2025-04-10 15:55:02 +02:00
Ben McCann
387157205a
chore(deps): upgrade cspell ( #11078 )
...
* chore(deps): upgrade cspell
* Add word
---------
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2025-04-08 19:37:04 -04:00
Sébastien Lorber
e9dfecbce7
fix(c): fix yarn lint:spelling:fix
script ( #11075 )
...
* fix lint:spelling:fix
* fix lint:spelling:fix
2025-04-08 16:11:41 +02:00
Sébastien Lorber
df5f465605
chore: upgrade Rspack 1.3.3 ( #11073 )
...
upgrade Rspack
2025-04-08 14:24:21 +02:00
Sébastien Lorber
67248f8e66
perf(core): remove bundler optimization.removeAvailableModules
( #11072 )
...
remove removeAvailableModules
2025-04-08 11:53:45 +02:00
dependabot[bot]
e8e67e9b9e
chore(deps): bump estree-util-value-to-estree from 3.1.2 to 3.3.3 ( #11070 )
...
Bumps [estree-util-value-to-estree](https://github.com/remcohaszing/estree-util-value-to-estree ) from 3.1.2 to 3.3.3.
- [Release notes](https://github.com/remcohaszing/estree-util-value-to-estree/releases )
- [Commits](https://github.com/remcohaszing/estree-util-value-to-estree/compare/v3.1.2...v3.3.3 )
---
updated-dependencies:
- dependency-name: estree-util-value-to-estree
dependency-version: 3.3.3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-08 11:29:46 +02:00
dependabot[bot]
08467e5f51
chore(deps): bump actions/dependency-review-action from 4.5.0 to 4.6.0 ( #11069 )
...
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action ) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](3b139cfc5f...ce3cf9537a
)
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
dependency-version: 4.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-08 11:29:33 +02:00
Sébastien Lorber
abdd0c7995
fix(blog): fix blog Atom feed item url / XSL bug ( #11068 )
...
Fix blog Atom feed XSL
2025-04-07 19:10:01 +02:00
Sébastien Lorber
979ae084a7
feat(core): enable Rspack parallelCodeSplitting
( #11067 )
...
re-enable parallelCodeSplitting
2025-04-07 18:55:27 +02:00
Sébastien Lorber
6215983cdd
chore: upgrade mermaid, fix diagram labels bug ( #11066 )
...
* fix mermaid bug
* refactor: apply lint autofix
---------
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-04-07 18:30:01 +02:00
Sébastien Lorber
b7ba0b54fb
chore: upgrade image-size deps to v2 ( #11065 )
...
* upgrade image-size to v2
* fix resizeImage script
* fix tests
2025-04-07 18:29:15 +02:00
Sébastien Lorber
31b279fea6
refactor(theme): introduce CodeBlockContextProvider + split into smaller components ( #11062 )
...
* introduce CodeBlockContextProvider
* refactor: apply lint autofix
* add comment
* move wordWrap to context
* Refactor button components
* remove console logs
* Extract more code block components
* Extract CodeBlockLineToken subcomponent
* add TODOs
---------
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-04-04 20:11:40 +02:00
Sébastien Lorber
d28210d35b
refactor(theme): CodeBlock, centralize metadata parsing + refactor theme component ( #11059 )
...
* fix import duplicated
* centralize parsing of code block metadata
* split logic into many subcomponents
* extract getCodeBlockClassName
* fix duplicate useCodeWordWrap() call
* simplify JSX
* move ensureLanguageClassName logic to theme-common
* fix line highlighting bug
* rename tokens to lines
* Extract Pre/Code subcomponents
* Add tests for metadata language
* Add tests for metadata className
* Add tests for metadata title
* Add tests for metadata line highlighting
* Add tests for metadata lineNumbersStart
2025-04-04 18:15:34 +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
Sébastien Lorber
16e3002911
fix(theme): navbar mobile sidebar should allow clicking dropdown parent link ( #11053 )
...
* try to repro + initial fix
* Use HTML button
* extract useItemCollapsible()
* Split DropdownNavbarItem into Mobile/Desktop subcomponents
* Add aria labels to button
* cleanup prop types
* aria label
* add translations
* cleanup types
* Split DefaultNavbarItem into Mobile/Desktop subcomponents
* revert change
* type fix
2025-04-03 18:40:45 +02:00
Sébastien Lorber
a05629eeb5
chore: use rspack 1.3.0 ( #11039 )
...
* upgrade rspack
* disable parallelCodeSplitting temporarily
2025-04-01 15:33:09 +02:00
程序员小墨
3176a2ccba
fix(theme): Fix code block magic comments with CRLF line breaks bug ( #11046 )
...
* fix: with CRLF line breaks, an extra empty line was rendered with // highlight-end at end of code blocks
See: #11036
* Add unit tests
---------
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2025-04-01 15:14:02 +02:00
Daniel Kuschny
c0f3755d51
test(theme-common): Add tests for getLineNumbersStart ( #11017 )
2025-03-28 17:20:50 +01:00
Sébastien Lorber
dae29a2782
refactor(core): remove clean-webpack-plugin ( #11037 )
...
* remove clean-webpack-plugin
* refactor: apply lint autofix
* remove clean-webpack-plugin
---------
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-03-27 18:44:48 +01:00
Sébastien Lorber
37d8844506
fix(cli): fix CLI write-translation bug ( #11027 )
...
* fix write-translation bug
* fix write-translation bug
2025-03-27 12:22:44 +01:00
Tatsunori Uchino
8881fd1a59
fix(theme-translation): add missing Japanese translation for System Mode ( #11030 )
2025-03-27 11:58:10 +01:00
Sébastien Lorber
e64e0e7c96
fix(ideal-image): fix waypoint initial scroll bug ( #11026 )
...
fiw waypoint initial scroll bug
2025-03-24 15:31:37 +01:00
Sébastien Lorber
43fdb825e8
fix(ideal-image): Internalize react-waypoint
dependency, fix React 19 compatibility ( #11014 )
...
* copy waypoint, remove logs
* remove propTypes
* remove debug
* remove scrollableAncestor prop
* remove onPositionChange
* remove horizontal prop
* remove fireOnRapidScroll
* remove useless render code
* remove ensureRefIsUsedByChild
* remove children prop
* inline constants
* remove consolidated-events
* copy getCurrentPosition
* remove computeOffsetPixels
* extract findScrollableAncestor
* extract getBounds
* remove hasWindow
* remove onNextTick()
* fixes
* make it work, replace waypoint
* slim down
* slim down
* slim down
* use TypeScript
* slim down
* slim down
* revert
2025-03-20 12:33:27 +01:00
Sébastien Lorber
fcee060f40
refactor(ideal-image-plugin): internalize legacy component code ( #11010 )
...
* almost working
* refactor: apply lint autofix
* cspell ignore
* refactor: apply lint autofix
* type fixes
---------
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-03-19 18:21:09 +01:00
Sébastien Lorber
502b9007be
perf(core): Optimize docusaurus start/serve
, fix openBrowser()
perf issue on macOS ( #11007 )
...
Optimize openBrowser() util
2025-03-19 13:18:32 +01:00
Sébastien Lorber
3782244ce7
feat(core): Add bundler tracing/profiling ( #11006 )
...
* Add rspack tracing/profiling
* Add CLI start PerfLogger
* cleanup BundlerCPUProfilerPlugin
2025-03-19 12:14:06 +01:00