Skip to content

Commit 46ba932

Browse files
authored
fix: 404 page not found for /docs/ (#289)
1 parent 5c968d9 commit 46ba932

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+51
-39
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
position: 5.0
2+
position: 6.0
33
label: Deployment
44
collapsible: true
55
collapsed: true
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
position: 5
2+
position: 6.0
33
label: Deployment
44
collapsible: true
55
collapsed: true

docs/08-docker/04-versions.mdx

+1

versioned_docs/version-1/intro.md docs/index.mdx

+2-1

docusaurus.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const config = {
112112
items: [
113113
{
114114
type: 'doc',
115-
docId: 'introduction/index',
115+
docId: 'index',
116116
position: 'left',
117117
label: 'Docs',
118118
},
@@ -193,7 +193,7 @@ const config = {
193193
items: [
194194
{
195195
label: 'Welcome to GameCI',
196-
to: '/docs/introduction/index',
196+
to: '/docs/index',
197197
},
198198
{
199199
label: 'Getting Started with Github',

sidebars.js

+2-27
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,6 @@
1-
/**
2-
* Creating a sidebar enables you to:
3-
- create an ordered group of docs
4-
- render a sidebar for each doc of that group
5-
- provide next/previous navigation
6-
7-
The sidebars can be generated from the filesystem, or explicitly defined here.
8-
9-
Create as many sidebars as you want.
10-
*/
11-
121
// @ts-check
132

143
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
15-
const sidebars = {
16-
// By default, Docusaurus generates a sidebar from the docs folder structure
17-
tutorialSidebar: [{ type: 'autogenerated', dirName: '.' }],
18-
19-
// But you can create a sidebar manually
20-
/*
21-
tutorialSidebar: [
22-
{
23-
type: 'category',
24-
label: 'Tutorial',
25-
items: ['hello'],
26-
},
27-
],
28-
*/
4+
module.exports = {
5+
defaultSidebar: [{ type: 'autogenerated', dirName: '.' }],
296
};
30-
31-
module.exports = sidebars;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
position: 3.0
3+
label: Docker
4+
collapsible: true
5+
collapsed: true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
position: 6.0
3+
label: Deployment
4+
collapsible: true
5+
collapsed: true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
position: 4.0
3+
label: GitHub
4+
collapsible: true
5+
collapsed: true

versioned_docs/version-1/05-gitlab/01-getting-started.md versioned_docs/version-1/05-gitlab/01-getting-started.mdx

+7-1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
position: 6.0
3+
label: Deployment
4+
collapsible: true
5+
collapsed: true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
position: 5.0
3+
label: GitLab
4+
collapsible: true
5+
collapsed: true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
position: 6.0
3+
label: Troubleshooting
4+
collapsible: true
5+
collapsed: true

docs/01-introduction/index.mdx versioned_docs/version-1/index.mdx

+4
+1-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
{
2-
"tutorialSidebar": [
3-
{
4-
"type": "autogenerated",
5-
"dirName": "."
6-
}
7-
]
2+
"defaultSidebar": [{ "type": "autogenerated", "dirName": "." }]
83
}

0 commit comments

Comments
 (0)