Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .yarn/patches/@docusaurus-core-npm-0.0.0-5566-187f2a3806.patch

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/lib/constants.js b/lib/constants.js
index f91e43f00e1f9160afa6a34ed1df71c90fe45a28..26547fc57dc6b902fef11bb52c9d9553cc892619 100644
index f91e43f00e1f9160afa6a34ed1df71c90fe45a28..db04a015ea2d4474339b1d02f6fbec75ba14c894 100644
--- a/lib/constants.js
+++ b/lib/constants.js
@@ -10,8 +10,8 @@ exports.VERSIONS_JSON_FILE = exports.VERSIONED_SIDEBARS_DIR = exports.VERSIONED_
Expand All @@ -15,7 +15,7 @@ index f91e43f00e1f9160afa6a34ed1df71c90fe45a28..26547fc57dc6b902fef11bb52c9d9553
-exports.VERSIONS_JSON_FILE = 'versions.json';
+exports.VERSIONED_BASE_DIR = 'docs/versioned';
diff --git a/lib/versions/files.js b/lib/versions/files.js
index deaadb4357a348c8071b70d72a3c6d9e4e61459f..66f369dc5d98550299d3a5778de38be3f084ed31 100644
index deaadb4357a348c8071b70d72a3c6d9e4e61459f..33f7604f2b93d579169681504b3656453c633fec 100644
--- a/lib/versions/files.js
+++ b/lib/versions/files.js
@@ -13,20 +13,20 @@ const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
Expand Down
1 change: 1 addition & 0 deletions config/sidebar.velocity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ const velocity: SidebarsConfig = {
collapsed: true,
items: [
"dev/api/component-api/intro",
"dev/api/component-api/i18n",
]
},
"dev/api/event",
Expand Down
2 changes: 0 additions & 2 deletions docs/paper/admin/how-to/basic-troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ If you don't have any backup of your world before the chunk version update, you

</details>

<!-- Another examples -->

## Find Out What Plugin Is Causing The Problem

If you can't find the name of any plugin in the thread dump or stack trace, try these steps.
Expand Down
2 changes: 0 additions & 2 deletions docs/paper/admin/reference/configuration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ slug: /reference/configuration

# Paper Configuration

<!-- ## Global Configuration -->

## Per World Configuration

One of the most powerful yet least understood features of the Paper configuration is setting
Expand Down
7 changes: 3 additions & 4 deletions docs/paper/dev/api/component-api/i18n.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
---
slug: /dev/component-api/i18n
description: How to use internationalization within Paper.
description: How to use Adventure's internationalization.
title: Internationalization
---

# Internationalization

Generally it's a good idea to support translations in your plugin, especially if you want to
appeal to the largest user base. Paper and Adventure make this simple by adding a server-side
appeal to the largest user base. Adventure makes this simple by adding a server-side
translation layer to almost all text that ends up being displayed to clients.

:::info[Javadocs]
Expand Down
3 changes: 1 addition & 2 deletions docs/paper/dev/api/component-api/intro.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
slug: /dev/component-api/introduction
description: An introduction to how components work.
title: Introduction
---

# Introduction

:::note

This documentation page applies to both the Paper and Velocity projects
Expand Down
9 changes: 9 additions & 0 deletions docs/velocity/dev/api/component-api/i18n.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
slug: /dev/component-api/i18n
description: How to use Adventure's internationalization.
title: Internationalization
---

import Internationalization from '@site/docs/paper/dev/api/component-api/i18n.md';

<Internationalization/>
1 change: 0 additions & 1 deletion docs/velocity/dev/api/component-api/intro.md

This file was deleted.

9 changes: 9 additions & 0 deletions docs/velocity/dev/api/component-api/intro.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
slug: /dev/component-api/introduction
description: An introduction to how components work.
title: Introduction
---

import Introduction from '@site/docs/paper/dev/api/component-api/intro.md';

<Introduction/>
1 change: 1 addition & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ const config: Config = {
admonitions: false,
headingIds: false,
},
format: "detect",
},

themes: ["@docusaurus/theme-classic", "@docusaurus/theme-search-algolia", "@docusaurus/theme-mermaid"],
Expand Down
33 changes: 16 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,28 @@
"format": "prettier . --write"
},
"dependencies": {
"@docusaurus/core": "0.0.0-5566",
"@docusaurus/plugin-content-docs": "0.0.0-5566",
"@docusaurus/plugin-content-pages": "0.0.0-5566",
"@docusaurus/plugin-debug": "0.0.0-5566",
"@docusaurus/plugin-pwa": "0.0.0-5566",
"@docusaurus/plugin-sitemap": "0.0.0-5566",
"@docusaurus/theme-classic": "0.0.0-5566",
"@docusaurus/theme-common": "0.0.0-5566",
"@docusaurus/theme-mermaid": "0.0.0-5566",
"@docusaurus/theme-search-algolia": "0.0.0-5566",
"@docusaurus/core": "3.0.0",
"@docusaurus/plugin-content-docs": "3.0.0",
"@docusaurus/plugin-content-pages": "3.0.0",
"@docusaurus/plugin-debug": "3.0.0",
"@docusaurus/plugin-pwa": "3.0.0",
"@docusaurus/plugin-sitemap": "3.0.0",
"@docusaurus/theme-classic": "3.0.0",
"@docusaurus/theme-common": "3.0.0",
"@docusaurus/theme-mermaid": "3.0.0",
"@docusaurus/theme-search-algolia": "3.0.0",
"@fontsource/jetbrains-mono": "4.5.12",
"@mdx-js/react": "2.3.0",
"@mdx-js/react": "3.0.0",
"clsx": "1.2.1",
"js-yaml": "4.1.0",
"prism-react-renderer": "2.0.3",
"react": "17.0.2",
"react-dom": "17.0.2",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-markdown": "8.0.7"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "0.0.0-5566",
"@docusaurus/types": "0.0.0-5566",
"@docusaurus/module-type-aliases": "3.0.0",
"@docusaurus/types": "3.0.0",
"@fec/remark-a11y-emoji": "3.1.0",
"@tsconfig/docusaurus": "1.0.7",
"@types/is-ci": "3.0.0",
Expand Down Expand Up @@ -65,7 +65,6 @@
},
"packageManager": "yarn@3.5.0",
"resolutions": {
"@docusaurus/core@0.0.0-5566": "patch:@docusaurus/core@npm%3A0.0.0-5566#./.yarn/patches/@docusaurus-core-npm-0.0.0-5566-187f2a3806.patch",
"@docusaurus/plugin-content-docs@0.0.0-5566": "patch:@docusaurus/plugin-content-docs@npm%3A0.0.0-5566#./.yarn/patches/@docusaurus-plugin-content-docs-npm-0.0.0-5566-e59592d84c.patch"
"@docusaurus/plugin-content-docs@3.0.0": "patch:@docusaurus/plugin-content-docs@npm%3A3.0.0#./.yarn/patches/@docusaurus-plugin-content-docs-npm-3.0.0-a7f297e23e.patch"
}
}
Loading