Skip to content

Commit 0d566ca

Browse files
committed
Updated to docusaurus beta18
1 parent f6d5a3d commit 0d566ca

File tree

4 files changed

+2212
-1224
lines changed

4 files changed

+2212
-1224
lines changed

docusaurus.config.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,6 @@ module.exports = {
175175
"defaultMode": "dark",
176176
"disableSwitch": false,
177177
"respectPrefersColorScheme": true,
178-
"switchConfig": {
179-
"darkIcon": "🌜",
180-
"darkIconStyle": {},
181-
"lightIcon": "🌞",
182-
"lightIconStyle": {}
183-
}
184178
},
185179
announcementBar: {
186180
id: 'check_spigotmc', // Any value that will identify this message.
@@ -197,11 +191,20 @@ module.exports = {
197191
{
198192
docs: {
199193
sidebarPath: require.resolve('./sidebars.js'),
194+
breadcrumbs: true,
195+
sidebarCollapsible: true,
200196
editUrl:
201197
'https://github.com/Plugily-Projects/plugily-projects.github.io/blob/documentation/',
202198
showLastUpdateAuthor: true,
203199
showLastUpdateTime: true,
204200
routeBasePath: "/",
201+
include: ['**/*.md', '**/*.mdx'],
202+
exclude: [
203+
'**/_*.{js,jsx,ts,tsx,md,mdx}',
204+
'**/_*/**',
205+
'**/*.test.{js,jsx,ts,tsx}',
206+
'**/__tests__/**',
207+
],
205208
},
206209
blog: {
207210
showReadingTime: true,

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"clear": "docusaurus clear"
1313
},
1414
"dependencies": {
15-
"@docusaurus/core": "^2.0.0-beta.15",
16-
"@docusaurus/preset-classic": "^2.0.0-beta.15",
15+
"@docusaurus/core": "^2.0.0-beta.18",
16+
"@docusaurus/preset-classic": "^2.0.0-beta.18",
1717
"@mdx-js/react": "^1.6.21",
1818
"clsx": "^1.1.1",
1919
"react": "^16.8.4",

sidebars.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
module.exports = {
2-
sidebarCollapsible: true,
32
villagedefense: [
43
{
54
type: 'category',

0 commit comments

Comments
 (0)