Skip to content

Commit

Permalink
update to docusaurus v3
Browse files Browse the repository at this point in the history
  • Loading branch information
compujuckel committed Dec 20, 2023
1 parent 985c37f commit 9b6f339
Show file tree
Hide file tree
Showing 13 changed files with 15,224 additions and 12,048 deletions.
2 changes: 1 addition & 1 deletion docs/intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Additionally, you must preserve the legal notices and author attributions presen
> GNU Affero General Public License for more details.
>
> You should have received a copy of the GNU Affero General Public License
> along with this program. If not, see <https://www.gnu.org/licenses/>.
> along with this program. If not, see &lt;https://www.gnu.org/licenses/&gt;.
>
>
> Additional permission under GNU AGPL version 3 section 7
Expand Down
7 changes: 3 additions & 4 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
import {themes as prismThemes} from 'prism-react-renderer';

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down Expand Up @@ -129,8 +128,8 @@ const config = {
copyright: `Copyright © ${new Date().getFullYear()} AssettoServer. Built with Docusaurus.<br/><a href="/impressum" style="--ifm-link-color: --ifm-footer-color">Impressum</a>`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
theme: prismThemes.github,
darkTheme: prismThemes.oceanicNext,
additionalLanguages: ['ini'],
},
colorMode: {
Expand Down
27,233 changes: 15,205 additions & 12,028 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "2.4.0",
"@docusaurus/preset-classic": "2.4.0",
"@mdx-js/react": "^1.6.22",
"@docusaurus/core": "3.0.1",
"@docusaurus/preset-classic": "3.0.1",
"@mdx-js/react": "^3.0.0",
"clsx": "^1.2.1",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"react-dom": "^17.0.2"
"prism-react-renderer": "^2.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "2.1.0"
Expand Down
2 changes: 1 addition & 1 deletion patreon-docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Please review the [documentation](./plugins/PatreonReservedSlotsPlugin.md).

#### PatreonSafetyRatingPlugin

* Fix chat name colors on CSP <0.1.79
* Fix chat name colors on CSP &lt;0.1.79

#### PatreonSpeedTrapPlugin

Expand Down
2 changes: 1 addition & 1 deletion patreon-docs/plugins/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"position": 2,
"link": {
"type": "generated-index",
"description": "Plugins"
"description": "List of plugins available on the AssettoServer Patreon"
}
}
2 changes: 1 addition & 1 deletion patreon-docs_versioned_docs/version-0.0.36/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ title: Changelog

#### PatreonSafetyRatingPlugin

* Fix chat name colors on CSP <0.1.79
* Fix chat name colors on CSP &lt;0.1.79

#### PatreonSpeedTrapPlugin

Expand Down
2 changes: 1 addition & 1 deletion patreon-docs_versioned_docs/version-0.0.37/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Please review the [documentation](./plugins/PatreonReservedSlotsPlugin.md).

#### PatreonSafetyRatingPlugin

* Fix chat name colors on CSP <0.1.79
* Fix chat name colors on CSP &lt;0.1.79

#### PatreonSpeedTrapPlugin

Expand Down
2 changes: 1 addition & 1 deletion patreon-docs_versioned_docs/version-0.0.38/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Please review the [documentation](./plugins/PatreonReservedSlotsPlugin.md).

#### PatreonSafetyRatingPlugin

* Fix chat name colors on CSP <0.1.79
* Fix chat name colors on CSP &lt;0.1.79

#### PatreonSpeedTrapPlugin

Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-0.0.50/intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Additionally, you must preserve the legal notices and author attributions presen
> GNU Affero General Public License for more details.
>
> You should have received a copy of the GNU Affero General Public License
> along with this program. If not, see <https://www.gnu.org/licenses/>.
> along with this program. If not, see &lt;https://www.gnu.org/licenses/&gt;.
>
>
> Additional permission under GNU AGPL version 3 section 7
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-0.0.51/intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Additionally, you must preserve the legal notices and author attributions presen
> GNU Affero General Public License for more details.
>
> You should have received a copy of the GNU Affero General Public License
> along with this program. If not, see <https://www.gnu.org/licenses/>.
> along with this program. If not, see &lt;https://www.gnu.org/licenses/&gt;.
>
>
> Additional permission under GNU AGPL version 3 section 7
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-0.0.52/intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Additionally, you must preserve the legal notices and author attributions presen
> GNU Affero General Public License for more details.
>
> You should have received a copy of the GNU Affero General Public License
> along with this program. If not, see <https://www.gnu.org/licenses/>.
> along with this program. If not, see &lt;https://www.gnu.org/licenses/&gt;.
>
>
> Additional permission under GNU AGPL version 3 section 7
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-0.0.53/intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Additionally, you must preserve the legal notices and author attributions presen
> GNU Affero General Public License for more details.
>
> You should have received a copy of the GNU Affero General Public License
> along with this program. If not, see <https://www.gnu.org/licenses/>.
> along with this program. If not, see &lt;https://www.gnu.org/licenses/&gt;.
>
>
> Additional permission under GNU AGPL version 3 section 7
Expand Down

0 comments on commit 9b6f339

Please sign in to comment.