Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ignite
GitHub Repository: ignite/cli
Path: blob/main/docs/sidebars.js
1007 views
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
12
// @ts-check
13
14
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
15
const sidebars = {
16
// By default, Docusaurus generates a sidebar from the docs folder structure
17
tutorialSidebar: [
18
{ type: "autogenerated", dirName: "." },
19
20
{
21
type: "category",
22
label: "Resources",
23
collapsed: true,
24
items: [
25
{
26
type: "link",
27
label: "Ignite CLI on Github",
28
href: "https://github.com/ignite/cli",
29
},
30
{
31
type: "link",
32
label: "Ignite Tutorials",
33
href: "https://tutorials.ignite.com/",
34
},
35
{
36
type: "link",
37
label: "Cosmos SDK Docs",
38
href: "https://docs.cosmos.network/",
39
},
40
],
41
},
42
],
43
44
// But you can create a sidebar manually
45
/*
46
tutorialSidebar: [
47
{
48
type: 'category',
49
label: 'Tutorial',
50
items: ['hello'],
51
},
52
],
53
*/
54
};
55
56
module.exports = sidebars;
57
58