Skip to content

Commit

Permalink
fix: docusaurus build + upgrade to v3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
iSCJT committed Oct 3, 2024
1 parent edd4487 commit 89db9e4
Show file tree
Hide file tree
Showing 6 changed files with 4,071 additions and 1,952 deletions.
2 changes: 1 addition & 1 deletion packages/documentation/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Website

This website is built using [Docusaurus 2](https://v2.docusaurus.io/), a modern static website generator.
This website is built using [Docusaurus 3](https://docusaurus.io/), a modern static website generator.

## Installation

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Strikethrough uses two tildes. ~~Scratch this.~~

Or leave it empty and use the [link text itself].

URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com/ or <http://www.example.com/> and sometimes example.com (but not on GitHub, for example).
URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com/ or \<http://www.example.com/\> and sometimes example.com (but not on GitHub, for example).

Some text to show that the reference links can follow later.

Expand Down
2 changes: 1 addition & 1 deletion packages/documentation/docusaurus.config.gh-pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module.exports = {
[
'@docusaurus/preset-classic',
{
// https://v2.docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-docs/
// https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-docs/
docs: {
sidebarPath: require.resolve('./sidebars.js'),
routeBasePath: '/',
Expand Down
2 changes: 1 addition & 1 deletion packages/documentation/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module.exports = {
[
'@docusaurus/preset-classic',
{
// https://v2.docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-docs/
// https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-docs/
docs: {
sidebarPath: require.resolve('./sidebars.js'),
routeBasePath: '/',
Expand Down
16 changes: 9 additions & 7 deletions packages/documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,22 @@
"hoistingLimits": "workspaces"
},
"scripts": {
"start": "env-cmd -r ../../.env-cmdrc.js -e webpack yarn docusaurus start --port 3001",
"build": "env-cmd -r ../../.env-cmdrc.js -e webpack yarn docusaurus build",
"start": "docusaurus start --port 3001",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"serve": "docusaurus serve",
"clear": "docusaurus clear"
},
"dependencies": {
"@docusaurus/core": "2.3.1",
"@docusaurus/preset-classic": "2.3.1",
"@mdx-js/react": "^1.6.22",
"@docusaurus/core": "3.5.2",
"@docusaurus/preset-classic": "3.5.2",
"@mdx-js/react": "3.0.1",
"@polka/url": "^0.5.0",
"clsx": "^1.2.1",
"react": "^17.0.2",
"react-dom": "^17.0.2"
"react": "^18.3.1",
"react-dom": "^18.3.1",
"totalist": "^3.0.1"
},
"devDependencies": {
"env-cmd": "^10.1.0"
Expand Down
Loading

0 comments on commit 89db9e4

Please sign in to comment.