Commit graph

5828 commits

Author SHA1 Message Date
Sébastien Lorber
09ea3bcfab
feat(client-redirects-plugin): support fully qualified urls and querystring/hash in destination/to url (#9171) 2023-07-21 19:54:40 +02:00
Ori Shalom
4ea0a70f93
fix(theme): canonical url should be not change after hydration if url accessed with/without trailing slash (#9130)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-07-21 19:22:26 +02:00
Joshua Chen
cd61c7bddc
fix(core): handle single quotes inside file paths (#9160) 2023-07-21 15:16:10 +02:00
Webber Takken
43d070ec55
docs: improve yarn deps upgrade command (#9149) 2023-07-20 12:08:06 +02:00
ModupeD
f295e4fd64
docs: add Flightcontrol as a deployment option (#9139)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-07-20 11:46:44 +02:00
Joshua Chen
ff227283d2
chore: upgrade dependencies (non-major) (#9148)
* chore: upgrade dependencies (non-major)

* Downgrade
2023-07-16 23:44:17 +08:00
Tatsunori Uchino
16a366b5ec
fix(init): change initial site URL to one that is safe for the future (#9133)
RFC 2606 reserves the `.example` domain for illustrative purposes.
2023-07-13 21:59:23 +08:00
Ahmad Shrif
26ae4164d6
feat(cli): deploy command should allow customizing git config user.name / user.email in deployment branch (#9101) (#9102)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-07-03 09:51:50 +02:00
Sébastien Lorber
e8c1312793
fix(debug-plugin): upgrade react-json-view to maintained React-18 compatible fork (#9116) 2023-06-30 19:12:47 +02:00
Sébastien Lorber
cde35d0f1f
chore: optimize Argos CI setup (#9115) 2023-06-30 18:12:46 +02:00
thedevwonder
8ea1945f35
fix(core): throw error if build folder already exists on initial clean (#9112)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2023-06-30 17:58:24 +02:00
Mikey O'Toole
c8e7ce33f5
fix(theme): only set classname on ul elements if they have an existing class (#9099)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-06-30 15:39:07 +02:00
TheCatLady
9391a33c41
fix(content-docs): sidebar generator should return customProps for doc items (#9107) 2023-06-29 12:13:48 +02:00
TheCatLady
05156d05b9
feat(theme-classic): add description & keywords microdata to blog posts (#9108) 2023-06-29 12:02:22 +02:00
Sébastien Lorber
ae2a09359a
fix(mdx): fix for html multi-line comments (#9100) 2023-06-23 19:33:03 +02:00
Sébastien Lorber
cc6d9696f0
feat(mdx): add siteConfig.markdown.format to configure the default content parser (MDX / CommonMark) (#9097) 2023-06-23 18:15:05 +02:00
dependabot[bot]
be4e67caa9
chore(deps): bump semver from 7.3.8 to 7.5.2 (#9096)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-23 09:18:49 +02:00
Sébastien Lorber
3b85f0713a
fix(theme): support details/summary in CommonMark + add md dogfood test cases (#9093) 2023-06-22 18:33:07 +02:00
Kolja Lampe
7225d80271
docs: fix themeConfig.prism.defaultLanguage table api ref docs (#9082)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2023-06-22 18:30:39 +02:00
Sébastien Lorber
0b3d5cb59e
fix(mdx-loader): loader error message should display stacktrace if no extra MDX details (#9091) 2023-06-22 16:44:01 +02:00
Shun Wakatsuki
48df4f1f0d
docs: fix filenames in docs/swizzling.mdx (#9074) 2023-06-16 17:40:17 +02:00
Sébastien Lorber
7d033cc8c0
chore: v3.0.0-alpha.0 release (#9072) 2023-06-15 17:48:55 +02:00
Sébastien Lorber
9866af7f44
feat(pages): add support for missing SEO front matter + improve SEO docs (#9071)
Co-authored-by: Thad Guidry <thadguidry@gmail.com>
2023-06-15 16:07:00 +02:00
Sujal Gupta
117cbac702
docs: update link for commonly used languages (#9065) 2023-06-14 17:33:23 +02:00
Manuel
adebab969c
docs: update outdated links in showcase (#9055) 2023-06-14 17:24:30 +02:00
Marie
ae1e49de5e
docs: add @markprompt/docusaurus-theme-search (#9063)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2023-06-14 17:23:25 +02:00
dependabot[bot]
d7a9c9f18e
chore(deps): bump github/codeql-action from 2.3.6 to 2.13.4 (#9061)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.3.6 to 2.13.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](83f0fe6c49...cdcdbb5797)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2023-06-13 12:01:22 +08:00
Sébastien Lorber
012b285805
feat: create official TypeScript base config @docusaurus/tsconfig (#9050) 2023-06-09 15:21:46 +02:00
Sanjaiyan Parthipan
6102a5a671
feat: use React 18 startTransition for hydration (#9051) 2023-06-09 12:18:25 +02:00
Sébastien Lorber
187e5aa218
feat: React 18 + automatic JSX runtime + build --dev (#8961) 2023-06-08 19:40:15 +02:00
Joshua Chen
76f920359b
fix(utils): better handling of code blocks in link replacement (#9046) 2023-06-08 12:16:56 +02:00
Grégory Heitz
dcce8ff3cd
docs: update info for community plugin docusaurus2-graphql-doc-generator (#9033) 2023-06-08 11:45:53 +02:00
Adithya Krishna
9d686bd7c8
docs: fix prism theme broken link in code blocks docs (#9044) 2023-06-08 10:53:33 +02:00
Adam Patterson
c6c619e2f6
docs: fix grammar typo in swizzling.mdx (#9043) 2023-06-08 10:50:33 +02:00
dependabot[bot]
ee15dec809
chore(deps): bump github/codeql-action from 2.3.5 to 2.3.6 (#9038)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-07 17:55:28 +02:00
dependabot[bot]
31da9a96e7
chore(deps): bump actions/dependency-review-action from 3.0.4 to 3.0.6 (#9039)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-07 17:55:15 +02:00
Akshay Bhalotia
4ac900da24
fix: typo in the sample site structure (#9042) 2023-06-07 01:57:28 +08:00
Sébastien Lorber
2d35edf911
feat(theme): add ability to inject data attributes from query-string - possibility to create an iframe/embed variant of a page (#9028) 2023-05-31 16:22:25 +02:00
bitpredator
444c1576ca
chore(theme-translations): complete it translations (#9025)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2023-05-31 14:35:15 +02:00
Sébastien Lorber
ffcc68d1cf
chore: remove facebook template (#9026) 2023-05-31 12:54:40 +02:00
Wan Sim
b4087720cb
fix(core): docusaurus CLI should detect the correct yarn version when suggesting upgrades (#9006)
* fix(core): Correct yarn version detection

Correct yarn version detection by checking `yarnPath` value inside `.yarnrc.yml` file
Add js-yaml in package.json

* Change to use `shelljs` instead of `js-yaml`

* Change echo mode to silent

* Check `yarn.lock` exist, before version checking

* Remove unnecessary optional chaining

Nullish coalescing operator still provides the fallback value

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>

---------

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2023-05-31 11:54:44 +02:00
0x24Karthick
6939444c31
docs: remove Meta Data Policy footer link on website (#9024) 2023-05-31 11:37:05 +02:00
Mogyuchi
07d85af144
docs: fix link to rehype (#9018) 2023-05-30 17:17:52 +02:00
Gustav Tonér
8fb6057e31
fix(theme-transalations): fix Swedish translation of "last updated" (#9021) 2023-05-30 17:15:22 +02:00
JJ Style
30a4181290
feat(theme-common): code block MagicComments support for TeX/LaTeX/Matlab (#8982)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2023-05-30 15:28:28 +02:00
Naman Garg
4f3901b932
docs: fix broken link in code blocks docs (#8993) 2023-05-30 15:02:02 +02:00
dependabot[bot]
e6533ca2f1
chore(deps): bump github/codeql-action from 2.3.3 to 2.3.5 (#9019) 2023-05-30 14:15:35 +08:00
Sébastien Lorber
9af32ae0d5
chore: update examples to Docusaurus 2.4.1 (#8981) 2023-05-15 15:50:54 +02:00
Sébastien Lorber
ec3cb1f67d
docs: create Docusaurus v2.4.1 release docs + changelog (#8980) 2023-05-15 15:40:37 +02:00
Raphaël Barbazza
8b109342c8
docs: update link in md code blocks section (#8975)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2023-05-15 14:38:07 +02:00