Commit graph

5585 commits

Author SHA1 Message Date
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
Raphaël Barbazza
509189e61f
docs: update broken links theme configuration page (#8976)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2023-05-15 14:37:24 +02:00
Sébastien Lorber
d746f689ae
fix: remove useless js-loader in front of mdx-loader (#8972) 2023-05-12 16:31:39 +02:00
Sébastien Lorber
905fe7f4b4
fix(theme): fix collapsible sidebar behavior when prefers-reduced-motion (#8971) 2023-05-12 12:18:34 +02:00
conlacda
3170515c89
docs: fix broken link to Prism includeLangs.js default list of languages (#8904) 2023-05-12 12:15:09 +02:00
Sébastien Lorber
07ad635b69
fix: allow html syntax in MDX v2 with format md (#8960)
* attempt to support html embeds in mdx with format md

* refactor mdx loader + support embedding html in commonmark thanks to rehype-raw

* extract processor code

* refactor processor code

* extract format + unit test

* try to refactor processor

* try to refactor processor

* adjust md page

* do not apply rehype-raw when format is mdx

* fix lint issue
2023-05-12 11:36:42 +02:00
dependabot[bot]
af9a4f2a2e
chore(deps): bump github/codeql-action from 2.3.2 to 2.3.3 (#8964)
* chore(deps): bump github/codeql-action from 2.3.2 to 2.3.3

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](f3feb00acb...29b1f65c5e)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Apply suggestions from code review

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2023-05-08 20:16:49 -04:00
Thad Guidry
fb4a5fb197
docs: mention equivalent config syntaxes (#8951)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-05-05 12:41:50 +02:00
samatt14
8beeb81c8a
docs(plugin-ideal-image): mention plugin changes type of imported images (#8948)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-05-03 19:38:05 +02:00
Thad Guidry
cf9fa2e78f
docs: bidirectional link between api config and guide config (#8950)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2023-05-03 19:14:41 +02:00
Thad Guidry
2a96ec01de
polish(create-docusaurus): add comment in config to mention different ways to declare config + doc link (#8944)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2023-05-03 18:36:29 +02:00
allyw2002
7e01f36f37
docs: mention blog truncating marker edge case (#8953) 2023-05-03 18:17:27 +02:00
dependabot[bot]
1be4585f49
chore(deps): bump github/codeql-action from 2.3.0 to 2.3.2 (#8955)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-03 17:59:23 +02:00
MetuMortis
090316e66d
fix(theme-translations): fix Turkish translation for aria label "Enter key" (#8933) 2023-04-29 19:28:34 +02:00
Sébastien Lorber
44b5b06814
test: add visual regression tests with Argos CI (#8947) 2023-04-28 16:04:22 +02:00
Sébastien Lorber
7e09ae0c57
docs: rewrite some docs for mdx v2 (#8941)
Co-authored-by: Balthasar Hofer <lebalz@outlook.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2023-04-28 15:49:41 +02:00
Thad Guidry
2cae24fe5f
docs: mention docusaurus.community site in resources (#8943)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2023-04-28 12:46:55 +02:00
Joshua Chen
9e0b62fe6c
fix(utils): make Markdown link replacement much more rigorous (#8927) 2023-04-27 17:57:11 +02:00
John Cao
41f1c1e3c2
docs: mdx-js is using v2 for next edition (#8920) 2023-04-26 17:57:37 +02:00
Joshua Chen
1279765f75
chore: upgrade TypeScript to v5.0 (#8926) 2023-04-25 03:10:16 -04:00
dependabot[bot]
85b108aed2
chore(deps): bump marocchino/sticky-pull-request-comment from 2.5.0 to 2.6.2 (#8922) 2023-04-24 19:59:03 -04:00
dependabot[bot]
a1129167da
chore(deps): bump treosh/lighthouse-ci-action from 9.6.8 to 10.1.0 (#8923) 2023-04-24 19:50:11 -04:00
dependabot[bot]
08f2b6828b
chore(deps): bump github/codeql-action from 2.2.12 to 2.3.0 (#8924) 2023-04-24 19:48:32 -04:00
Sébastien Lorber
bf913aea2a
feat: upgrade to MDX v2 (#8288)
Co-authored-by: Armano <armano2@users.noreply.github.com>
2023-04-21 19:48:57 +02:00
Will Ceolin
10f161d578
feat(theme): add queryString option to localeDropdown (#8915)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2023-04-21 12:35:02 +02:00
Sébastien Lorber
4a4a8be062
chore: migrate website config to createConfigAsync (#8911) 2023-04-21 12:00:09 +02:00
Andrew Lyons
41a52161fd
fix(core): Correct yarn upgrade command for yarn 2.x (#8908)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-04-20 16:54:04 +02:00
Sébastien Lorber
d220f481a7
fix(theme): add __ prefix to technical anchors, search crawlers (Algolia) should ignore them (#8909) 2023-04-20 16:39:50 +02:00
Sébastien Lorber
f154b2f870
fix(theme-common): fix collapsible component with prefers-reduced-motion (#8906) 2023-04-19 19:07:31 +02:00
Aqueeb
9c7e29a157
docs: changing shopping card to shopping cart (#8898)
* docs: changing shopping card to shopping cart

* docs: changing shoppping card to shoppint cart (retriggering builds)
2023-04-18 22:56:56 -04:00
dependabot[bot]
f852ea631f
chore(deps): bump github/codeql-action from 2.2.11 to 2.2.12 (#8899) 2023-04-17 20:50:24 -04:00
dependabot[bot]
4f7ff9448d
chore(deps): bump actions/checkout from 3.5.0 to 3.5.2 (#8900) 2023-04-17 20:50:03 -04:00
Tarun Chauhan
b169404efd
feat(theme-common): code block MagicComments support for Lua/Haskell -- and WebAssembly ;; (#8870)
Co-authored-by: Tarun Chauhan <tarun.chauhan@tripjack.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2023-04-14 12:01:28 +02:00
Sébastien Lorber
08cfe4e3c9
fix(theme-common): fix confusing theme error message: bad sidebar id suggestions (#8873) 2023-04-13 16:41:29 +02:00
Sébastien Lorber
f76fc1bfac
feat(theme): create more generic ThemedComponent util from ThemedImage (#8890) 2023-04-13 16:29:02 +02:00
Sébastien Lorber
14586895ae
docs: improve sidebar items custom props docs (#8888) 2023-04-13 12:24:27 +02:00
Eduardo Mínguez
35183d7d87
docs: add "permissions.content: write" to GH workflow examples (#8877)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2023-04-13 10:04:07 +02:00
Aleksandr Vladykin
2b994262b0
fix(utils): handle Markdown links with spaces to route correctly (#8874) 2023-04-12 19:14:26 +02:00
dependabot[bot]
3d31c55fe7
chore(deps): bump actions/github-script from 6.4.0 to 6.4.1 (#8879)
Bumps [actions/github-script](https://github.com/actions/github-script) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](98814c53be...d7906e4ad0)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 21:22:11 -04:00
dependabot[bot]
54f66c9e4e
chore(deps): bump github/codeql-action from 2.2.9 to 2.2.11 (#8878)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.9 to 2.2.11.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](04df1262e6...d186a2a36c)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 21:21:55 -04:00
Sébastien Lorber
a9a5f89b9f
fix(core): better error logging on SSR/dev failures + log stacktraces and error causes (#8872) 2023-04-07 19:00:59 +02:00
Chua Chee How
46d2aa231d
docs: add description on blog post file/folder naming conventions and date extraction patterns (#8845)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2023-04-06 15:51:01 +02:00
Armano
1d42955d67
refactor(theme): expose copy, success and word-wrap icons as standalone components (#8862) 2023-04-06 15:46:52 +02:00
Tarun Chauhan
59a0b7ae15
fix(theme-translations): remove redundant navigation text in aria label (#8842)
Co-authored-by: Tarun Chauhan <tarun.chauhan@tripjack.com>
2023-04-06 15:05:43 +02:00