docs: define sidebar manually
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
97908e8fc2
commit
7364951e95
@ -1,5 +1,4 @@
|
||||
---
|
||||
sidebar_position: 2
|
||||
slug: /1001/install/
|
||||
---
|
||||
|
||||
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"label": "Administrator Manual",
|
||||
"position": 6,
|
||||
"collapsed": false
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
---
|
||||
sidebar_position: 2
|
||||
slug: /1002/vs/
|
||||
---
|
||||
|
||||
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"label": "Introduction",
|
||||
"position": 1,
|
||||
"collapsed": false
|
||||
}
|
@ -1,7 +1,5 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
slug: /
|
||||
sidebar_label: What is Dagger?
|
||||
---
|
||||
|
||||
# What is Dagger?
|
||||
|
@ -1,7 +1,5 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
slug: /1005/what-is-cue/
|
||||
sidebar_label: What is Cue?
|
||||
---
|
||||
|
||||
# What is Cue?
|
||||
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"label": "Learn Dagger",
|
||||
"position": 2,
|
||||
"collapsed": false
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"label": "Universe - API Reference",
|
||||
"position": 5,
|
||||
"collapsed": false
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"label": "Use Cases",
|
||||
"position": 3,
|
||||
"collapsed": false
|
||||
}
|
@ -10,19 +10,57 @@
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
// By default, Docusaurus generates a sidebar from the docs folder structure
|
||||
tutorialSidebar: [
|
||||
{ type: 'autogenerated', dirName: '.' },
|
||||
],
|
||||
|
||||
// But you can create a sidebar manually
|
||||
/*
|
||||
tutorialSidebar: [
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Tutorial',
|
||||
items: ['hello'],
|
||||
type: "category",
|
||||
label: "Introduction",
|
||||
collapsible: false,
|
||||
items: ["introduction/what_is", "introduction/vs"],
|
||||
},
|
||||
{
|
||||
type: "doc",
|
||||
id: "install",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Learn Dagger",
|
||||
collapsible: false,
|
||||
items: [
|
||||
"learn/what_is_cue",
|
||||
"learn/get-started",
|
||||
"learn/first-env",
|
||||
"learn/google-cloud-run",
|
||||
"learn/kubernetes",
|
||||
"learn/aws-cloudformation",
|
||||
"learn/github-actions",
|
||||
"learn/dev-cue-package",
|
||||
"learn/package-manager",
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Use Cases",
|
||||
collapsible: false,
|
||||
items: ["use-cases/ci"],
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Universe - API Reference",
|
||||
collapsible: true,
|
||||
collapsed: false,
|
||||
// generate the sidebar for reference doc automatically
|
||||
items: [
|
||||
{
|
||||
type: "autogenerated",
|
||||
dirName: "reference",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Administrator Manual",
|
||||
collapsible: false,
|
||||
items: ["administrator/operator-manual"],
|
||||
},
|
||||
],
|
||||
*/
|
||||
};
|
||||
|
Reference in New Issue
Block a user