Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from facebook:main #4

Open
wants to merge 1,070 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1070 commits
Select commit Hold shift + click to select a range
cb68951
docs: v3 prepare your site blog post should point users to the upgrad…
homotechsual May 10, 2024
620e463
feat(core): site storage config options (experimental) (#10121)
slorber May 10, 2024
e48b781
chore: fix v3.3 blog post (#10128)
slorber May 10, 2024
02e38d8
refactor: fix i18n bug in node v22 (#10129)
slorber May 10, 2024
394ce84
fix(core): the broken anchor checker should not be sensitive pathname…
slorber May 10, 2024
29b7a4d
fix(core): codegen should generate unique route prop filenames (#10131)
slorber May 10, 2024
ff5039f
fix(core): `configurePostCss()` should run after `configureWebpack()`…
slorber May 13, 2024
87f0023
fix(core): fix `docusaurus serve` broken for assets when using traili…
slorber May 16, 2024
ef627f8
fix(theme): fix announcement bar layout shift due to missing storage …
slorber May 16, 2024
562a0be
docs: recommend users to remove hast-util-is-element in migration to …
tats-u May 16, 2024
b73ad1e
fix(core): fix serve workaround regexp (#10145)
slorber May 16, 2024
17f3e02
feat(core): hash router option - browse site offline (experimental) (…
slorber May 19, 2024
284b97a
chore: fix build-hash-router.yml workflow to trigger on main (#10149)
slorber May 19, 2024
3595fb0
docs(showcase): remove butterfly (#10147)
CodeDoctorDE May 19, 2024
b8ccc0c
chore: fix invalid CI workflow build-hash-router.yml (#10150)
slorber May 19, 2024
2da1d78
chore: fix ci? (#10153)
slorber May 20, 2024
410a15f
chore(deps): bump github/codeql-action from 2.13.4 to 3.25.6 (#10154)
dependabot[bot] May 21, 2024
a503fb6
chore(deps): bump peaceiris/actions-gh-pages from 3 to 4 (#10155)
dependabot[bot] May 21, 2024
6a5e186
fix(theme-translations): complete Vietnamese theme translations (#10157)
namnguyenthanhwork May 21, 2024
b6644d8
feat(theme-translations): Added Turkmen (tk) default theme translatio…
ilmedova May 21, 2024
0ce7c13
fix(search): fix algolia search container bug (#10164)
slorber May 23, 2024
aab332c
fix(theme-translation): add missing Korean (ko) theme translations (#…
revi May 23, 2024
e346149
fix(mdx-loader): resolve Markdown/MDX links with Remark instead of Re…
slorber May 24, 2024
6c7f2fd
docs: suggest using `{<...>...</...>}` if don't use Markdown in migra…
tats-u May 27, 2024
61f71f6
docs: improve how to use `<details>` (#10173)
tats-u May 30, 2024
bc71803
docs: add community plugin docusaurus-graph (#10176)
Arsero May 30, 2024
1049294
fix(theme): SearchPage should respect `contextualSearch: false` setti…
ncoughlin May 30, 2024
0eb7b64
feat(docs, blog): add support for `tags.yml`, predefined list of tags…
OzakIOne May 31, 2024
a7afd9c
fix(docs, blog): Markdown link resolution does not support hot reload…
slorber May 31, 2024
dbdd4df
chore: release Docusaurus v3.4 (#10186)
slorber May 31, 2024
99825f6
chore: update examples for v3.4.0 (#10188)
slorber May 31, 2024
189bb3d
chore: unlock site deploy for i18n with onInlineTags warn (#10191)
slorber Jun 2, 2024
2b67ba9
docs: fix missing ` (#10194)
johnnyreilly Jun 3, 2024
32d5ab0
chore(deps): bump github/codeql-action from 3.25.6 to 3.25.7 (#10195)
dependabot[bot] Jun 3, 2024
71ba685
fix: escape period (#10223)
d4nyll Jun 17, 2024
904b96c
fix(core): fix sites unable to start/build without a static dir (#10225)
slorber Jun 17, 2024
15b7f3f
chore(deps): bump github/codeql-action from 3.25.7 to 3.25.8 (#10208)
dependabot[bot] Jun 17, 2024
bc60f62
chore(deps): bump actions/dependency-review-action from 4.3.2 to 4.3.…
dependabot[bot] Jun 17, 2024
1f845e6
chore(deps): bump braces from 3.0.2 to 3.0.3 (#10210)
dependabot[bot] Jun 17, 2024
a7c515a
chore(deps): bump ws from 7.5.9 to 7.5.10 (#10227)
dependabot[bot] Jun 18, 2024
88788ce
chore(deps): bump github/codeql-action from 3.25.8 to 3.25.10 (#10226)
dependabot[bot] Jun 18, 2024
591914c
fix(theme): ignored className attribute on lazy loaded TabItem (#10219)
lebalz Jun 18, 2024
a05f265
docs(search): update docsearch api url (#10233)
dhayab Jun 20, 2024
2eecd70
fix(theme-translation): add missing German (de) theme.admonition tran…
franzd1 Jun 20, 2024
97630b4
fix(core): fail fast if plugin has no name (#10239)
slorber Jun 20, 2024
3a0a2a7
fix(markdown): mdx-code-block should support intentation (#10240)
slorber Jun 20, 2024
91cef62
docs: backport #10173 to v3.3 + v3.4 & revise the content (#10180)
tats-u Jun 21, 2024
4ad425a
chore: CI upgrade to Node 22 + TS 5.5 (#10119)
slorber Jun 21, 2024
cc506c8
feat(mdx): support recma plugins (#10241)
slorber Jun 21, 2024
1405b25
docs: add emoji for consistency (#10245)
Paneedah Jun 24, 2024
de59621
feat(blog): warn duplicate and inline authors (#10224)
OzakIOne Jun 27, 2024
10830ce
chore(deps): bump treosh/lighthouse-ci-action from 11.4.0 to 12.1.0 (…
dependabot[bot] Jun 27, 2024
aab1f48
feat(blog): group sidebar items by year (`themeConfig.blog.sidebar.gr…
alicelovescake Jun 28, 2024
6dd9a50
chore: simplify TypeScript configs, use TS 5.5 configDir placeholder …
slorber Jul 1, 2024
03e11dc
chore: lighthouse report has no PWA section anymore (#10258)
Josh-Cena Jul 1, 2024
d2bb74a
chore(theme-translations): add more Traditional Chinese(zh-Hant) tran…
pjchender Jul 2, 2024
fa743c8
chore(deps): bump github/codeql-action from 3.25.10 to 3.25.11 (#10259)
dependabot[bot] Jul 2, 2024
8c29434
chore: add lockfile-lint to CI (#10285)
slorber Jul 9, 2024
80203b3
feat(core): allow plugins to self-disable by returning null (#10286)
slorber Jul 10, 2024
8b877d2
fix(theme): fix DocsVersionDropdownNavbarItem version link target (#1…
slorber Jul 10, 2024
a6de0f2
feat(blog): author header social icons (#10222)
OzakIOne Jul 12, 2024
0acd637
chore(deps): bump github/codeql-action from 3.25.11 to 3.25.12 (#10300)
dependabot[bot] Jul 16, 2024
49cf559
chore(deps): bump actions/dependency-review-action from 4.3.3 to 4.3.…
dependabot[bot] Jul 16, 2024
2494661
docs: remove deprecated partial toc warning (#10310)
slorber Jul 18, 2024
7544a23
chore: fix CI, use Node 22.4 instead of 22.* (#10314)
slorber Jul 19, 2024
61d6858
refactor(blog): theme-common shouldn't depend on blog content plugins…
slorber Jul 19, 2024
868d72f
fix(core): revert wrong anchor link implementation change (#10311)
slorber Jul 19, 2024
d426469
chore(deps): bump github/codeql-action from 3.25.12 to 3.25.13 (#10330)
dependabot[bot] Jul 23, 2024
026a317
refactor(docs): theme-common shouldn't depend on docs content (#10316)
slorber Jul 23, 2024
afa9fcc
docs(plugin-google-gtag): replace the broken Google Developers links …
bohyunjung Jul 25, 2024
5e9e1d0
docs: fix default value for `docRootComponent` (#10337)
ultimate Jul 25, 2024
fb4e32f
fix(theme): docsVersionDropdown navbar item not showing the appropria…
OzakIOne Jul 25, 2024
23dbf9c
feat(mdx-loader): wrap mdx content title (`# Title`) in `<header>` fo…
OzakIOne Jul 25, 2024
029e8a1
feat(translations): Indonesian translation (#10325)
priyadi Jul 25, 2024
9404d57
feat(translation): add Estonian default translation (#10339)
chirbard Jul 25, 2024
40676cd
chore(deps): update infima npm dependency to version 0.2.0-alpha.44 (…
hichemfantar Jul 29, 2024
95990c6
docs: Add @getcanary/docusaurus-pagefind in docs (#10345)
yujonglee Jul 29, 2024
347070b
fix(translations): Fix and Improve Spanish translations (#10360)
sergioalmela Aug 1, 2024
50f9fce
docs: rename @getcanary/docusaurus-pagefind in docs (#10361)
yujonglee Aug 1, 2024
f356e29
feat(blog): authors page (#10216)
OzakIOne Aug 1, 2024
08a893a
chore: add prettier-xml plugin (#10364)
slorber Aug 2, 2024
7be1fea
feat(blog): add feed xlst options to render beautiful RSS and Atom fe…
Xebec19 Aug 2, 2024
087a329
fix(cli): Fix bad docusaurus CLI behavior on for --version, -V, --hel…
ashiq-firoz Aug 8, 2024
c58fcbd
feat(ci): continuous releases for main and PRs with pkg.pr.new (#10369)
Aslemammad Aug 8, 2024
95ab9f8
feat(theme): show unlisted/draft banners in dev mode (#10376)
OzakIOne Aug 8, 2024
44ddada
fix(docs): the _category_.json description attribute should display o…
bharateshwq Aug 9, 2024
a2e30be
fix(search): fix algolia search ignore ctrl + F in search input (#10342)
mxschmitt Aug 9, 2024
f43be85
fix(translations): fix wrong Estonian (et) translations and typos (#1…
Gekd Aug 9, 2024
a096bbc
feat(blog): add `onUntruncatedBlogPosts` blog options (#10375)
OzakIOne Aug 9, 2024
daa6b87
chore: release Docusaurus v3.5 (#10379)
slorber Aug 9, 2024
a56bd2e
chore: update examples for v3.5 (#10381)
slorber Aug 9, 2024
584eec9
fix(theme-algolia): useDocusaurusContext import error (#10382)
anaclumos Aug 9, 2024
9c5eb35
fix(core): algolia context import (#10384)
slorber Aug 9, 2024
bde4414
chore: release v3.5.1 (#10385)
slorber Aug 9, 2024
e60de09
chore: update examples for v3.5.1 (#10387)
slorber Aug 9, 2024
471f0d4
fix(theme): Adjust blog authors line height to show descenders in low…
josh-wong Aug 12, 2024
547979a
fix(create-docusaurus): Improve init templates blog setup + fix warni…
slorber Aug 12, 2024
419d559
fix(core): always alias React/ReactDOM to site dependency so that imp…
slorber Aug 12, 2024
140570b
docs(showcase): remove sites not using Docusaurus anymore (#10393)
GatienBoquet Aug 12, 2024
685730e
chore(deps): bump github/codeql-action from 3.25.13 to 3.26.0 (#10396)
dependabot[bot] Aug 13, 2024
221ced7
fix(theme-common): restore useContextualSearchFilters public API for …
slorber Aug 13, 2024
a1edf51
fix(translations): change casing of some en labels (#10394)
cstangerup Aug 13, 2024
655ce94
chore: release 3.5.2 (#10400)
slorber Aug 13, 2024
16a7899
chore: update examples for v3.5.2 (#10401)
slorber Aug 13, 2024
ae5328d
docs(website): small spellfix on 3.5 update notes (#10405)
Zenahr Aug 15, 2024
3a0b4bf
refactor(core): remove useless build forceTerminate exit (#10410)
slorber Aug 19, 2024
0b640ca
fix(translations): fix Spanish translation for "breadcrumbs" (#10413)
TheMineWay Aug 19, 2024
2d55ca4
fix(types): fix type of PluginModule (#10420)
slorber Aug 19, 2024
6652ed1
docs: corrected typo in search.mdx (#10416)
B0r1sD Aug 19, 2024
bb49992
refactor(mdx-loader): remove useless usage of mdx loader this.query (…
slorber Aug 19, 2024
aba22af
docs: fix Twitter => X link in repo README (#10414)
Radovenchyk Aug 20, 2024
473d144
chore(website): add Rsdoctor plugin (#10418)
slorber Aug 20, 2024
1c56fa5
chore(deps): bump github/codeql-action from 3.26.0 to 3.26.3 (#10425)
dependabot[bot] Aug 20, 2024
97bd815
refactor(core): improve handling of server bundle (#10429)
slorber Aug 21, 2024
2b28b06
fix(core): always use hash for CSS module class names (#10423)
slorber Aug 21, 2024
349a584
docs: Fix typo on changelog (#10437)
kenrick95 Aug 23, 2024
418247e
feat(core): faster transpiler option - `siteConfig.future.experimenta…
slorber Aug 23, 2024
84c2412
fix(theme): upgrade infima, fix footer link width bug (#10439)
slorber Aug 23, 2024
afd2374
chore(ci): fix setup-node, use LTS by default (#10438)
slorber Aug 23, 2024
aa65f39
fix(blog): authors count incorrectly rendered (#10431)
OzakIOne Aug 23, 2024
bb90e35
feat(core): faster JS minimizer - `siteConfig.future.experimental_fas…
slorber Aug 23, 2024
1b906a5
fix(core): use serve-handler fork to remove annoying punycode warning…
slorber Aug 23, 2024
c0b86f4
chore(deps): bump micromatch from 4.0.5 to 4.0.8 (#10444)
dependabot[bot] Aug 24, 2024
08da5c2
refactor(core): Restore null-loader (#10448)
slorber Aug 26, 2024
db6c2af
chore(deps): bump github/codeql-action from 3.26.3 to 3.26.5 (#10449)
dependabot[bot] Aug 27, 2024
d5885c0
refactor(mdx-loader): refactor mdx-loader, expose loader creation uti…
slorber Aug 27, 2024
9588028
chore: upgrade npm-to-yarn to v3 (#10454)
slorber Aug 29, 2024
02ed7d9
fix(blog): apply baseUrl to relative image in blog authors (#10440)
OzakIOne Aug 29, 2024
200b38b
chore(deps): bump webpack from 5.88.1 to 5.94.0 (#10455)
dependabot[bot] Aug 29, 2024
2aef92c
fix(blog): normalize inline authors socials (#10424)
OzakIOne Aug 29, 2024
a4329d3
refactor(mdx-loader): read metadata from memory (loaded content) inst…
slorber Aug 30, 2024
3d69ff3
docs: Update README.md twitter links (#10468)
Olexandr88 Sep 2, 2024
a47e8dd
refactor(mdx-loader): re-export metadata module instead of serializin…
slorber Sep 2, 2024
897ebbe
refactor: move PerfLogger from core to @docusaurus/logger (#10480)
slorber Sep 6, 2024
5bab0b5
feat(core, mdx-loader): deduplicate MDX compilation - `siteConfig.fut…
slorber Sep 6, 2024
e8c6787
docs: fix v3.5 blog post typo - `onUntruncatedBlogPosts` (#10484)
slorber Sep 9, 2024
1a70734
chore: upgrade to TS 5.6 + temporarily use skipLibCheck for TS 5.6 (#…
slorber Sep 10, 2024
3725dc3
refactor(core): rewrite Webpack ChunkAssetPlugin with RuntimeModule (…
slorber Sep 10, 2024
611842a
chore(deps): bump express from 4.19.2 to 4.20.0 (#10488)
dependabot[bot] Sep 11, 2024
2495d05
refactor(core): prepare codebase for swappable bundler (#10497)
slorber Sep 13, 2024
dd4fe63
docs: Fix link to GitHub workflow file docs (#10498)
ccho-mongodb Sep 13, 2024
d6dcf16
docs: Update twitter links in introducing-docusaurus blog post (#10503)
Olexandr88 Sep 19, 2024
f1d4d55
docs: update twitter link in introduction docs (#10502)
Olexandr88 Sep 19, 2024
a435fbd
chore(deps): bump dompurify from 3.0.5 to 3.1.6 (#10505)
dependabot[bot] Sep 19, 2024
95e2d46
chore: Rename Twitter links/labels to X (#10509)
slorber Sep 19, 2024
ce159b1
fix(theme-translations): add missing Vietnamese translations (#10507)
namnguyenthanhwork Sep 19, 2024
fd14d6a
feat(theme-mermaid): support Mermaid 11+ including new types of diagr…
slorber Sep 19, 2024
9ecff80
refactor: create `@docusaurus/bundler` and `@docusaurus/babel` packag…
slorber Sep 21, 2024
a5fd530
fix: remove babel.config.js from init templates + website (#10514)
slorber Sep 22, 2024
7d03458
chore(deps): bump actions/setup-node from 4.0.2 to 4.0.4 (#10518)
dependabot[bot] Sep 24, 2024
0692fe9
docs: fix typo (#10520)
k-seltzer Sep 25, 2024
539412e
chore: fix formatLighthouseReport() CI (#10527)
slorber Sep 27, 2024
3b7c828
chore: fix interverted condition in formatLighthouseReport.js (#10528)
slorber Sep 27, 2024
cba1e02
feat(core): faster CSS minimizer - `siteConfig.future.experimental_fa…
slorber Sep 27, 2024
c093dfd
chore(deps): bump rollup from 2.79.1 to 2.79.2 (#10530)
dependabot[bot] Sep 27, 2024
0794ebd
chore(deps): bump preactjs/compressed-size-action from 2.6.0 to 2.7.0…
dependabot[bot] Oct 1, 2024
0657e58
docs: clarify component naming for markdown import (#10545)
jackrabbit128 Oct 2, 2024
e8545b5
docs: add tip about harmless vulnerabilities (#10535)
ilg-ul Oct 3, 2024
7f6472a
fix(website): APITable component should navigate to anchor less agres…
flixyudh Oct 3, 2024
5de4832
fix(tsconfig): add `@docusaurus/tsconfig` target es2022 (#10547)
slorber Oct 3, 2024
05f3c20
chore: upgrade Webpack to 5.95 and related deps (#10548)
slorber Oct 3, 2024
9e473bd
fix(mdx-loader): fix cross-compiler cache randomly loading mdx with c…
slorber Oct 3, 2024
126d395
fix(translations): complete missing slovenian theme translations (#10…
patik123 Oct 4, 2024
912c495
feat(core): faster HTML minimizer - `siteConfig.future.experimental_f…
slorber Oct 4, 2024
5400690
docs: rename Facebook to Meta in GitHub-related Markdowns (#10566)
raghav2005 Oct 9, 2024
c7fd8d1
fix(core): move @docusaurus/faster to bundler peerDeps (#10573)
slorber Oct 10, 2024
74c09ae
feat(core): Replace Webpack with Rspack - `siteConfig.future.experime…
slorber Oct 11, 2024
97e6c42
refactor(core): remove useless Webpack wait plugin (#10579)
slorber Oct 11, 2024
904b53b
fix(core): fix handling of Swc html minifier warnings (#10581)
slorber Oct 13, 2024
f6a6ca8
refactor(core): replace serve-handler fork by official deps (#10587)
slorber Oct 17, 2024
2471678
feat: new Rsdoctor official plugin (#10588)
slorber Oct 17, 2024
762f7b1
feat(core): add Node.js memory perf logging (#10590)
slorber Oct 17, 2024
c201fd5
docs: update google analytics plugin message to past tense (#10591)
moskalakamil Oct 18, 2024
14579cb
docs: resource add docusaurus-i18n (#10592)
moonrailgun Oct 18, 2024
c9f231a
refactor(core): refactor SSG infrastructure (#10593)
slorber Oct 18, 2024
9457833
fix(theme): light & dark mode checkbox doesn't announce state switche…
andrewasche Oct 18, 2024
776b3ee
fix(core): fix i18n sites SSG memory leak - require.cache (#10599)
slorber Oct 22, 2024
dbdd254
feat(cli): build/deploy should allow multiple `--locale` options (#10…
slorber Oct 22, 2024
d3f110c
perf(ci): Add CI checks to prevent memory, build-time and build-size …
slorber Oct 22, 2024
6eeab42
chore: fix ci typo in build-perf.yml (#10606)
slorber Oct 23, 2024
1a2b8b7
fix(core): Use proper swc loader options (#10605)
slorber Oct 23, 2024
35aa39b
docs: mention config/sidebars run in Node.js runtime (#10608)
slorber Oct 23, 2024
4892f3a
chore: upgrade faster packages (#10609)
slorber Oct 24, 2024
28f6a49
chore: upgrade minor dependencies (#10610)
slorber Oct 24, 2024
c1349fe
fix(core): fix DOCUSAURUS_CURRENT_LOCALE = 'undefined' (#10611)
slorber Oct 24, 2024
85fd8f2
chore: fix canary version prefix (#10612)
slorber Oct 25, 2024
3c8dc5b
chore: fix canary trigger (#10613)
slorber Oct 25, 2024
87c1965
fix(faster): fix error message typo + add color (#10614)
slorber Oct 25, 2024
d723a1e
fix(faster): add missing tslib dependency (#10616)
slorber Oct 25, 2024
52e50d2
fix(theme): Restore former globalThis.Prism (#10618)
slorber Oct 25, 2024
34f9a36
fix(faster): allow Rspack + babel-loader (#10617)
slorber Oct 25, 2024
a0aa7d8
chore(deps): bump actions/dependency-review-action from 4.3.4 to 4.4.…
dependabot[bot] Oct 29, 2024
a4fa4c2
chore(deps): bump actions/setup-node from 4.0.4 to 4.1.0 (#10623)
dependabot[bot] Oct 29, 2024
e700106
docs: Add missing API ref docs for Docusaurus Faster options (#10630)
slorber Oct 31, 2024
5c1ce01
docs: fix frontMatter.mdx.format docs (#10631)
slorber Oct 31, 2024
5cf2c39
feat(blog): Add `frontMatter.title_meta` to override title for SEO (#…
ilg-ul Oct 31, 2024
fce0884
fix(core): restore Rspack ProgressBar colors (#10632)
slorber Oct 31, 2024
ed2cdf3
chore: release Docusaurus v3.6 (#10633)
slorber Nov 4, 2024
5a883b4
chore: update examples with docusaurus 3.6 (#10642)
slorber Nov 4, 2024
1955002
fix(faster,utils): fix faster/types peerDependencies (#10649)
slorber Nov 7, 2024
e32aa60
chore: Argos screenshot dogfooding test pages (#10650)
slorber Nov 7, 2024
bdf55ed
refactor(mdx-loader): streamline typescript usage for remark plugin t…
lebalz Nov 7, 2024
bcfa3b1
refactor(faster,bundler,core): improve js loader DX (#10655)
slorber Nov 8, 2024
ae46d11
test(argos): skip screenshot for /tests/pages/react-18 (#10656)
slorber Nov 8, 2024
0c791fb
docs: fix old base ts config ref (#10657)
slorber Nov 8, 2024
d268a20
fix(core): bundler should not minimize static assets (#10658)
slorber Nov 8, 2024
f127278
chore: release Docusaurus 3.6.1 (#10659)
slorber Nov 8, 2024
0c86355
docs: fix package name in babel config docs (#10666)
kyletsang Nov 11, 2024
dfea969
fix(faster): Upgrade to Rspack 1.1.1, fix build progress bar display …
slorber Nov 14, 2024
2b8ddb9
fix(create-docusaurus): add ts exclude to TS init template (#10676)
slorber Nov 14, 2024
33a35a4
fix(bundler): allow CSS nesting by default, restore postcss-preset-en…
slorber Nov 15, 2024
36fc11d
fix(homepage): typo corrections and updated twitter handles (#10678)
goffxnca Nov 15, 2024
e3c1329
fix(cli): `docusaurus --help` should print plugin commands using `ext…
slorber Nov 15, 2024
e6b7397
docs: fix description of `feedOptions.xslt` (#10687)
Zwyx Nov 16, 2024
a53ddf6
fix(theme-translation): complete and fix Japanese translations (#10688)
Ryoga-exe Nov 18, 2024
e5bdb0b
chore(ci): retry `yarn install` to ignore temporary network errors (#…
slorber Nov 18, 2024
644bc49
fix(theme-live-codeblock): fix live editor border-radius (#10689)
slorber Nov 18, 2024
be7bace
fix(types): add missing ambiant TS declarations for .md / .mdx partia…
slorber Nov 18, 2024
5344bc1
fix(create-docusaurus): Fix TS issues on newly initialized sites (#10…
slorber Nov 19, 2024
90e85e8
chore: release Docusaurus 3.6.2 (#10698)
slorber Nov 19, 2024
8561826
fix(core): disable Rspack incremental in dev (#10712)
slorber Nov 22, 2024
fd43036
chore: release Docusaurus 3.6.3 (#10713)
slorber Nov 22, 2024
60499e2
docs: fix example typo for migration-versioned-sites.mdx (#10717)
codimiracle Nov 25, 2024
ffdd415
chore(deps): bump actions/dependency-review-action from 4.4.0 to 4.5.…
dependabot[bot] Nov 26, 2024
fb7ad2c
fix(mdx-loader): fix md image paths with spaces bug related to transf…
slorber Nov 28, 2024
1777b14
chore: upgrade to TS 5.7 (#10725)
slorber Nov 28, 2024
8098741
fix(core): fix codegen routesChunkName possible hash collision (#10727)
slorber Nov 29, 2024
750edc7
refactor(theme-common): change storageUtils useSyncExternalCode getSn…
slorber Nov 29, 2024
df6f53a
feat(svgr): create new Docusaurus SVGR plugin (#10677)
slorber Nov 29, 2024
a995865
feat(blog): Add `frontMatter.sidebar_label` (#10729)
slorber Nov 29, 2024
01cad20
docs: Link initialization docs together (#10740)
waldyrious Dec 5, 2024
e9f0641
docs: Removed AgileTs from the Showcase (#10742)
alvinometric Dec 6, 2024
f9825af
refactor: prepare types for React 19 (#10746)
slorber Dec 6, 2024
4966dce
refactor(core): swizzle wrap should use ReactNode instead of JSX.Elem…
slorber Dec 6, 2024
91c0b5b
fix(docs): fix sidebar item visibility bug for category index (#10754)
slorber Dec 10, 2024
9cefca4
docs: add swizzle delete tip (#10759)
effozen Dec 13, 2024
c5a6c26
fix(theme-translation): add missing Korean (ko) theme translations (#…
effozen Dec 13, 2024
b5359db
refactor(website): remove pure-react-carousel (#10784)
slorber Dec 20, 2024
87a5ab9
fix(theme-translations): Add missing Dutch (nl) theme translations (#…
janaukema Dec 20, 2024
2565601
fix(theme-common): code block magic comments should support SQL block…
WillBlack403 Dec 20, 2024
f196a1e
fix(core): fix React hydration errors, change html minifier settings …
slorber Dec 23, 2024
0f29a37
feat: Add React 19 support to Docusaurus v3 (#10763)
slorber Dec 24, 2024
e5ed9a3
docs(showcase): Update Prismatic.io showcase image, description, and …
taylorreece Dec 24, 2024
37184e5
fix(theme): Footer Column/Link should merge provided className (#10796)
slorber Dec 26, 2024
4a1ec52
chore(algolia): upgrade algoliasearch to v5 (#10672)
millotp Dec 26, 2024
092238d
chore(deps): bump nanoid from 3.3.7 to 3.3.8 (#10771)
dependabot[bot] Dec 26, 2024
e7a8c9d
refactor(core): Use Intl native API to get locale direction, remove r…
slorber Dec 26, 2024
e8ad392
fix(algolia): properly forward placeholder/translations to DocSearch …
slorber Dec 26, 2024
cc97d66
refactor(algolia): simplify SearchBar component (#10801)
slorber Dec 26, 2024
43795fc
feat(blog): Add author social icons for bluesky, mastodon, threads, t…
GingerGeek Dec 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
12 changes: 10 additions & 2 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,20 @@
"yarn.lock",
"project-words.txt",
"__snapshots__",
"admin/scripts",
"website/src/data/users.tsx",
"website/src/data/tweets.tsx",
"website/docusaurus.config.localized.json",
"website/_dogfooding/_pages tests/diagrams.mdx",
"*.xyz",
"*.docx",
"*.xsl",
"*.xslt",
"*.gitignore",
"versioned_docs",
"*.min.*"
"*.min.*",
"jest/vendor"
],
"ignoreRegExpList": ["Email", "Urls", "#[\\w-]*"]
"ignoreRegExpList": ["Email", "Urls", "#[\\w-]*"],
"enableFiletypes": ["mdx"]
}
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"image": "mcr.microsoft.com/vscode/devcontainers/base:ubuntu-20.04",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-22.04",
"settings": {
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
Expand All @@ -26,7 +26,7 @@
"waitFor": "postCreateCommand", // otherwise automated jest tests fail
"features": {
"node": {
"version": "14"
"version": "18"
},
"github-cli": "latest"
}
Expand Down
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ __mocks__
dist
node_modules
.yarn
.history
build
coverage
jest.config.js
jest.transform.js
jest/vendor
examples/

packages/lqip-loader/lib/
Expand All @@ -19,3 +21,4 @@ packages/create-docusaurus/lib/*
packages/create-docusaurus/templates/facebook

website/_dogfooding/_swizzle_theme_tests
website/_dogfooding/_asset-tests/badSyntax.js
123 changes: 105 additions & 18 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@ const OFF = 0;
const WARNING = 1;
const ERROR = 2;

// Prevent importing lodash, usually for browser bundle size reasons
const LodashImportPatterns = ['lodash', 'lodash.**', 'lodash/**'];

// Prevent importing content plugins, usually for coupling reasons
const ContentPluginsImportPatterns = [
'@docusaurus/plugin-content-blog',
'@docusaurus/plugin-content-blog/**',
// TODO fix theme-common => docs dependency issue
// '@docusaurus/plugin-content-docs',
// '@docusaurus/plugin-content-docs/**',
'@docusaurus/plugin-content-pages',
'@docusaurus/plugin-content-pages/**',
];

module.exports = {
root: true,
env: {
Expand All @@ -20,7 +34,7 @@ module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
// tsconfigRootDir: __dirname,
// project: ['./tsconfig.json', './website/tsconfig.json'],
// project: ['./tsconfig.base.json', './website/tsconfig.base.json'],
},
globals: {
JSX: true,
Expand Down Expand Up @@ -54,6 +68,8 @@ module.exports = {
'@docusaurus',
],
rules: {
'react/jsx-uses-react': OFF, // JSX runtime: automatic
'react/react-in-jsx-scope': OFF, // JSX runtime: automatic
'array-callback-return': WARNING,
camelcase: WARNING,
'class-methods-use-this': OFF, // It's a way of allowing private variables.
Expand All @@ -71,13 +87,14 @@ module.exports = {
ignorePattern: '(eslint-disable|@)',
},
],
'arrow-body-style': OFF,
'no-await-in-loop': OFF,
'no-case-declarations': WARNING,
'no-console': OFF,
'no-constant-binary-expression': ERROR,
'no-continue': OFF,
'no-control-regex': WARNING,
'no-else-return': [WARNING, {allowElseIf: true}],
'no-else-return': OFF,
'no-empty': [WARNING, {allowEmptyCatch: true}],
'no-lonely-if': WARNING,
'no-nested-ternary': WARNING,
Expand Down Expand Up @@ -189,7 +206,10 @@ module.exports = {
})),
],
'no-template-curly-in-string': WARNING,
'no-unused-expressions': [WARNING, {allowTaggedTemplates: true}],
'no-unused-expressions': [
WARNING,
{allowTaggedTemplates: true, allowShortCircuit: true},
],
'no-useless-escape': WARNING,
'no-void': [ERROR, {allowAsStatement: true}],
'prefer-destructuring': WARNING,
Expand All @@ -211,10 +231,12 @@ module.exports = {
],

'import/extensions': OFF,
// Ignore certain webpack aliases because they can't be resolved
// This rule doesn't yet support resolving .js imports when the actual file
// is .ts. Plus it's not all that useful when our code is fully TS-covered.
'import/no-unresolved': [
ERROR,
OFF,
{
// Ignore certain webpack aliases because they can't be resolved
ignore: [
'^@theme',
'^@docusaurus',
Expand All @@ -235,8 +257,19 @@ module.exports = {
'type',
],
pathGroups: [
// always put css import to the last, ref:
// https://github.com/import-js/eslint-plugin-import/issues/1239
{
pattern: '*.+(css|sass|less|scss|pcss|styl)',
group: 'unknown',
patternOptions: {matchBase: true},
position: 'after',
},
{pattern: '@jest/globals', group: 'builtin', position: 'before'},
{pattern: 'react', group: 'builtin', position: 'before'},
{pattern: 'react-dom', group: 'builtin', position: 'before'},
{pattern: 'react-dom/**', group: 'builtin', position: 'before'},
{pattern: 'stream', group: 'builtin', position: 'before'},
{pattern: 'fs-extra', group: 'builtin'},
{pattern: 'lodash', group: 'external', position: 'before'},
{pattern: 'clsx', group: 'external', position: 'before'},
Expand All @@ -251,6 +284,10 @@ module.exports = {
{pattern: '@theme-original/**', group: 'internal'},
],
pathGroupsExcludedImportTypes: [],
// example: let `import './nprogress.css';` after importing others
// in `packages/docusaurus-theme-classic/src/nprogress.ts`
// see more: https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/order.md#warnonunassignedimports-truefalse
warnOnUnassignedImports: true,
},
],
'import/prefer-default-export': OFF,
Expand Down Expand Up @@ -313,10 +350,7 @@ module.exports = {
ERROR,
{'ts-expect-error': 'allow-with-description'},
],
'@typescript-eslint/consistent-indexed-object-style': [
WARNING,
'index-signature',
],
'@typescript-eslint/consistent-indexed-object-style': OFF,
'@typescript-eslint/consistent-type-imports': [
WARNING,
{disallowTypeAnnotations: false},
Expand Down Expand Up @@ -346,8 +380,17 @@ module.exports = {
// We don't provide any escape hatches for this rule. Rest siblings and
// function placeholder params are always ignored, and any other unused
// locals must be justified with a disable comment.
'@typescript-eslint/no-unused-vars': [ERROR, {ignoreRestSiblings: true}],
'@typescript-eslint/no-unused-vars': [
ERROR,
{
ignoreRestSiblings: true,
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
},
],
'@typescript-eslint/prefer-optional-chain': ERROR,
'@docusaurus/no-html-links': ERROR,
'@docusaurus/prefer-docusaurus-heading': ERROR,
'@docusaurus/no-untranslated-text': [
WARNING,
{
Expand All @@ -360,6 +403,7 @@ module.exports = {
'@',
'WebContainers',
'Twitter',
'X',
'GitHub',
'Dev.to',
'1.x',
Expand All @@ -369,19 +413,14 @@ module.exports = {
},
overrides: [
{
files: [
'packages/docusaurus-*/src/theme/**/*.{js,ts,tsx}',
'packages/docusaurus/src/client/**/*.{js,ts,tsx}',
],
files: ['packages/docusaurus/src/client/**/*.{js,ts,tsx}'],
rules: {
'no-restricted-imports': [
'error',
{
patterns: [
// Prevent importing lodash in client bundle for bundle size
'lodash',
'lodash.**',
'lodash/**',
...LodashImportPatterns,
...ContentPluginsImportPatterns,
// Prevent importing server code in client bundle
'**/../babel/**',
'**/../server/**',
Expand All @@ -392,6 +431,44 @@ module.exports = {
],
},
},
{
files: [
'packages/docusaurus-theme-common/src/**/*.{js,ts,tsx}',
'packages/docusaurus-utils-common/src/**/*.{js,ts,tsx}',
],
excludedFiles: '*.test.{js,ts,tsx}',
rules: {
'no-restricted-imports': [
'error',
{
patterns: [
...LodashImportPatterns,
...ContentPluginsImportPatterns,
],
},
],
},
},
{
files: ['packages/docusaurus-*/src/theme/**/*.{js,ts,tsx}'],
excludedFiles: '*.test.{js,ts,tsx}',
rules: {
'no-restricted-imports': [
'error',
{
patterns: LodashImportPatterns.concat(
// Prevents relative imports between React theme components
[
'../**',
'./**',
// Allows relative styles module import with consistent filename
'!./styles.module.css',
],
),
},
],
},
},
{
files: [
'packages/docusaurus-*/src/theme/**/*.{js,ts,tsx}',
Expand Down Expand Up @@ -449,6 +526,7 @@ module.exports = {
'admin/**',
'jest/**',
'website/**',
'packages/docusaurus-theme-common/removeThemeInternalReexport.mjs',
'packages/docusaurus-theme-translations/update.mjs',
'packages/docusaurus-theme-translations/src/utils.ts',
],
Expand All @@ -460,5 +538,14 @@ module.exports = {
files: ['packages/eslint-plugin/**/*.{js,ts}'],
extends: ['plugin:eslint-plugin/recommended'],
},
{
files: [
'packages/docusaurus-plugin-debug/**',
'packages/docusaurus/src/**',
],
rules: {
'@docusaurus/prefer-docusaurus-heading': OFF,
},
},
],
};
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ body:
attributes:
label: Have you read the Contributing Guidelines on issues?
options:
- label: I have read the [Contributing Guidelines on issues](https://github.com/facebook/docusaurus/blob/main/CONTRIBUTING.md#reporting-new-issues).
- label: I have read the [Contributing Guidelines on issues](https://github.com/facebook/docusaurus/blob/main/CONTRIBUTING.md#issues).
required: true

- type: checkboxes
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ body:
attributes:
label: Have you read the Contributing Guidelines on issues?
options:
- label: I have read the [Contributing Guidelines on issues](https://github.com/facebook/docusaurus/blob/main/CONTRIBUTING.md#reporting-new-issues).
- label: I have read the [Contributing Guidelines on issues](https://github.com/facebook/docusaurus/blob/main/CONTRIBUTING.md#issues).
required: true

- type: textarea
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ body:
attributes:
label: Have you read the Contributing Guidelines on issues?
options:
- label: I have read the [Contributing Guidelines on issues](https://github.com/facebook/docusaurus/blob/main/CONTRIBUTING.md#reporting-new-issues).
- label: I have read the [Contributing Guidelines on issues](https://github.com/facebook/docusaurus/blob/main/CONTRIBUTING.md#issues).
required: true

- type: textarea
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/proposal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ body:
attributes:
label: Have you read the Contributing Guidelines on issues?
options:
- label: I have read the [Contributing Guidelines on issues](https://github.com/facebook/docusaurus/blob/main/CONTRIBUTING.md#reporting-new-issues).
- label: I have read the [Contributing Guidelines on issues](https://github.com/facebook/docusaurus/blob/main/CONTRIBUTING.md#issues).
required: true

- type: textarea
Expand Down
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@ updates:
open-pull-requests-limit: 99
labels:
- 'pr: dependencies'
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'daily'
# Disable version updates for npm dependencies
# https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates#overriding-the-default-behavior-with-a-configuration-file
open-pull-requests-limit: 0
labels:
- 'pr: dependencies'
47 changes: 47 additions & 0 deletions .github/workflows/argos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Argos CI

on:
push:
branches: [main]
pull_request:
branches: [main]
types:
# Those 3 are the default PR workflow activity types,
# see https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request
- opened
- synchronize
- reopened
# We want trigger workflow on labeled too!
- labeled

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
take-screenshots:
# Argos is heavy to run
# We only want to trigger Argos on PRs with the 'Argos' label
# See https://stackoverflow.com/questions/62325286/run-github-actions-when-pull-requests-have-a-specific-label
if: ${{ (github.event_name != 'pull_request' && github.ref_name == 'main') || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'Argos')) }}
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Use Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: lts/*

- name: Install dependencies
run: yarn || yarn || yarn

- name: Install Playwright browsers
run: npx playwright install --with-deps chromium

- name: Build website fast
run: yarn argos:build

- name: Take Argos screenshots
run: yarn argos:screenshot
Loading
Loading