Commit graph

5987 commits

Author SHA1 Message Date
sebastien
0465e7e018 simplify ssg params 2024-05-17 19:01:11 +02:00
sebastien
b1f2c8d0b6 revert useless serverEntry hack 2024-05-17 18:59:17 +02:00
sebastien
f8edab1ef9 basic router type docs 2024-05-17 18:47:12 +02:00
sebastien
1dad032f48 Add some tests for useBaseUrl with hash router 2024-05-17 17:28:24 +02:00
sebastien
533e307715 Extract StaticDirectoriesCopyPlugin + move it to the client webpack config so that the Hash Router also applies it
Also extracts ForceTerminatePlugin
2024-05-17 16:39:36 +02:00
sebastien
bbc94c7e89 do not emit Algolia opensearch file with hash router 2024-05-17 16:11:57 +02:00
sebastien
f12aeeef0f fix hash router build 2024-05-17 15:59:07 +02:00
sebastien
15cc5554c9 fix dev server with hash router + baseUrl 2024-05-17 15:45:18 +02:00
sebastien
9bbb135dd2 simpler router switch 2024-05-17 15:29:26 +02:00
sebastien
0a24bb7ceb simpler router switch 2024-05-17 15:27:21 +02:00
sebastien
62a25c5950 Fix Docusaurus website config 2024-05-17 13:02:46 +02:00
sebastien
61f453e89a fix unit tests breaking due to missing siteConfig.future 2024-05-17 12:54:24 +02:00
sebastien
520bc929be fix webpack client config 2024-05-17 12:44:39 +02:00
sebastien
2c323f185c Move router config to siteConfig.future.experimental_router + add config validation tests 2024-05-17 12:42:24 +02:00
sebastien
b7d2884d6d Fix router type 2024-05-17 12:19:52 +02:00
sebastien
6282cca413 improve disabled plugin warning 2024-05-17 12:13:18 +02:00
sebastien
e8ef286477 disable blog feeds for hash router 2024-05-17 12:11:46 +02:00
sebastien
b80d22c057 disable sitemap plugin with hash router 2024-05-17 11:52:44 +02:00
sebastien
62fc20e321 rename siteConfig import 2024-05-17 11:49:50 +02:00
sebastien
abc3a315b9 Encapsulate router impl switch in docusaurus core to avoid pnpm / yarn pnp issues 2024-05-17 11:49:09 +02:00
sebastien
b82e8a5f73 add missing route codegen after merge 2024-05-17 11:19:12 +02:00
sebastien
e902401d2a Merge branch 'main' into slorber/offline-mode-poc-2 2024-05-17 11:18:16 +02:00
Sébastien Lorber
b73ad1ece5
fix(core): fix serve workaround regexp (#10145) 2024-05-16 18:29:55 +02:00
Tatsunori Uchino
562a0be392
docs: recommend users to remove hast-util-is-element in migration to v3 (#10143) 2024-05-16 18:29:14 +02:00
Sébastien Lorber
ef627f813b
fix(theme): fix announcement bar layout shift due to missing storage key namespace (#10144) 2024-05-16 18:14:34 +02:00
Sébastien Lorber
87f0023eb3
fix(core): fix docusaurus serve broken for assets when using trailingSlash (#10142) 2024-05-16 14:29:04 +02:00
Sébastien Lorber
ff5039f413
fix(core): configurePostCss() should run after configureWebpack() (#10132) 2024-05-13 15:03:48 +02:00
Sébastien Lorber
29b7a4ddbb
fix(core): codegen should generate unique route prop filenames (#10131) 2024-05-10 18:17:21 +02:00
Sébastien Lorber
394ce84691
fix(core): the broken anchor checker should not be sensitive pathname trailing slashes (#10130) 2024-05-10 16:54:59 +02:00
Sébastien Lorber
02e38d8ccf
refactor: fix i18n bug in node v22 (#10129) 2024-05-10 15:53:23 +02:00
Sébastien Lorber
e48b7818af
chore: fix v3.3 blog post (#10128) 2024-05-10 15:03:35 +02:00
Sébastien Lorber
620e46350a
feat(core): site storage config options (experimental) (#10121) 2024-05-10 14:41:51 +02:00
Mikey O'Toole
cb6895197d
docs: v3 prepare your site blog post should point users to the upgrade guide (#10124) 2024-05-10 10:15:57 +02:00
Sébastien Lorber
ab9a4e751f
fix(theme-translations): fix missing pluralization for label DocCard.categoryDescription.plurals (#10118) 2024-05-09 16:29:07 +02:00
Sébastien Lorber
02f5d70ed0
chore: Ignore more playwright console errors (#10117) 2024-05-09 13:42:50 +02:00
Petar_mc
801964dc49
feat(theme-translations): Add Bulgarian default theme translations (bg) (#10111)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2024-05-09 11:34:28 +02:00
dependabot[bot]
72eefc7623
chore(deps): bump actions/dependency-review-action from 4.3.1 to 4.3.2 (#10112)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-09 10:34:25 +02:00
Sébastien Lorber
caa81e570a
chore: update examples for Docusaurus 3.3.2 (#10104) 2024-05-03 17:31:33 +02:00
Sébastien Lorber
c125f7a272
chore: release Docusaurus 3.3.0 + 3.3.1 + 3.3.2 (#10101) 2024-05-03 17:14:41 +02:00
Sébastien Lorber
2d8281fc03
fix(core): do not recreate ReactDOM Root, fix React warning on hot reload (#10103) 2024-05-03 15:54:49 +02:00
Zwyx
4159b25dd1
docs: Fix déja to déjà in swizzling.mdx (#10096) 2024-05-02 15:25:42 +02:00
dependabot[bot]
10b76d8d53
chore(deps): bump ejs from 3.1.9 to 3.1.10 (#10097)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-02 15:17:01 +02:00
Kai Hoffman
39394135dc
docs: Fix dead Typesense links (#10093) 2024-05-01 10:05:30 +02:00
John Reilly
7057ba4ce8
feat: add createSitemapItems hook (#10083)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-04-30 21:20:54 +02:00
Sébastien Lorber
be9081afc7
chore: Upgrade svgr / svgo / cssnano (#10092) 2024-04-30 18:15:46 +02:00
Guille
2154dccbdf
fix(theme): <Tabs> props should allow overriding defaults (#10091) 2024-04-30 16:37:26 +02:00
Andrea Mazzucchelli
c967ea5b4a
fix(theme): <Admonition> should render properly without heading/icon (#10080) 2024-04-30 14:28:58 +02:00
Sébastien Lorber
3ee776050e
fix(core): docusaurus serve redirects should include the site /baseUrl/ prefix (#10090) 2024-04-30 14:28:39 +02:00
dependabot[bot]
0b49e6c5a2
chore(deps): bump actions/dependency-review-action from 4.2.5 to 4.3.1 (#10089)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-30 12:28:09 +02:00
dependabot[bot]
a6dbd929a0
chore(deps): bump preactjs/compressed-size-action from 2.5.0 to 2.6.0 (#10088)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-30 12:28:00 +02:00