Skip to content

Commit a6ecc3f

Browse files
author
Jan Schoone
committed
docs(container): make path shorter
Signed-off-by: Jan Schoone <[email protected]>
1 parent a749e4d commit a6ecc3f

File tree

2 files changed

+62
-80
lines changed

2 files changed

+62
-80
lines changed

docs.package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
{
1515
"repo": "SovereignCloudStack/cluster-stack-provider-openstack",
1616
"source": "docs",
17-
"target": "docs/03-container/components/cluster-stacks/components",
17+
"target": "docs/03-container/components",
1818
"label": "cluster-stack-provider-openstack"
1919
},
2020
{
@@ -109,19 +109,19 @@
109109
{
110110
"repo": "SovereignCloudStack/csctl",
111111
"source": "docs/*.md",
112-
"target": "docs/03-container/components/cluster-stacks/components",
112+
"target": "docs/03-container/components",
113113
"label": "csctl"
114114
},
115115
{
116116
"repo": "SovereignCloudStack/cluster-stacks",
117117
"source": "docs/*",
118-
"target": "docs/03-container/components/cluster-stacks/components",
118+
"target": "docs/03-container/components",
119119
"label": "cluster-stacks"
120120
},
121121
{
122122
"repo": "SovereignCloudStack/cluster-stack-operator",
123123
"source": ["docs/*"],
124-
"target": "docs/03-container/components/cluster-stacks/components",
124+
"target": "docs/03-container/components",
125125
"label": "cluster-stack-operator"
126126
},
127127
{

sidebarsDocs.js

Lines changed: 58 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -74,123 +74,105 @@ const sidebarsDocs = {
7474
items: [
7575
{
7676
type: 'category',
77-
label: 'Overview',
77+
label: 'Guides',
7878
link: {
7979
type: 'generated-index'
8080
},
81-
items: [
82-
// 'container/overview/architecture',
83-
// 'container/overview/knowledge'
84-
]
81+
items: ['container/guides/guide1']
8582
},
8683
{
8784
type: 'category',
88-
label: 'Deployment Examples',
85+
label: 'Components',
8986
link: {
9087
type: 'generated-index'
9188
},
9289
items: [
90+
'container/components/cluster-stacks/overview',
91+
{
92+
type: 'category',
93+
label: 'Cluster Stack Operator',
94+
link: {
95+
type: 'generated-index'
96+
},
97+
items: [
98+
'container/components/cluster-stack-operator/architecture/overview',
99+
'container/components/cluster-stack-operator/topics/quickstart',
100+
'container/components/cluster-stack-operator/topics/troubleshoot',
101+
'container/components/cluster-stack-operator/develop/develop'
102+
]
103+
},
104+
{
105+
type: 'category',
106+
label: 'Cluster Stack Provider OpenStack',
107+
items: [
108+
'container/components/cluster-stack-provider-openstack/docs/overview',
109+
'container/components/cluster-stack-provider-openstack/docs/quickstart',
110+
'container/components/cluster-stack-provider-openstack/docs/controllers',
111+
'container/components/cluster-stack-provider-openstack/docs/develop'
112+
]
113+
},
114+
{
115+
type: 'category',
116+
label: 'csctl',
117+
items: [
118+
'container/components/csctl/overview',
119+
'container/components/csctl/quickstart',
120+
'container/components/csctl/getting_started',
121+
'container/components/csctl/developing-and-testing-csctl'
122+
]
123+
},
93124
{
94125
type: 'category',
95-
label: 'Deployment A',
126+
label: 'Container Registry',
96127
link: {
97128
type: 'generated-index'
98129
},
99130
items: [
100-
// 'container/deployment-examples/a/index',
101-
// 'container/deployment-examples/a/hardware',
102-
// 'container/deployment-examples/a/software'
131+
'container/components/container-registry/docs/quickstart',
132+
'container/components/container-registry/docs/scs-deployment',
133+
'container/components/container-registry/docs/rate_limit',
134+
'container/components/container-registry/docs/upgrade',
135+
'container/components/container-registry/docs/backup_and_restore',
136+
'container/components/container-registry/docs/migration',
137+
'container/components/container-registry/docs/persistence',
138+
'container/components/container-registry/docs/ha-deployment'
103139
]
140+
},
141+
{
142+
type: 'category',
143+
label: 'Cluster Gen',
144+
items: ['container/deployment-examples/a/software']
104145
}
105146
]
106147
},
107148
{
108149
type: 'category',
109-
label: 'Guides',
110-
link: {
111-
type: 'generated-index'
112-
},
113-
items: [
114-
// 'container/guides/guide1'
115-
]
116-
},
117-
{
118-
type: 'category',
119-
label: 'Components',
150+
label: 'Deployment Examples',
120151
link: {
121152
type: 'generated-index'
122153
},
123154
items: [
124155
{
125156
type: 'category',
126-
label: 'Cluster Stacks',
127-
link: {
128-
type: 'generated-index'
129-
},
157+
label: 'Predefined Cluster Stacks',
130158
items: [
131-
'container/components/cluster-stacks/components/cluster-stacks/overview',
132-
{
133-
type: 'category',
134-
label: 'Cluster Stack Operator',
135-
items: [
136-
'container/components/cluster-stacks/components/cluster-stack-operator/architecture/overview',
137-
'container/components/cluster-stacks/components/cluster-stack-operator/topics/quickstart',
138-
'container/components/cluster-stacks/components/cluster-stack-operator/topics/troubleshoot',
139-
'container/components/cluster-stacks/components/cluster-stack-operator/develop/develop'
140-
]
141-
},
142-
{
143-
type: 'category',
144-
label: 'Cluster Stack Provider OpenStack',
145-
items: [
146-
'container/components/cluster-stacks/components/cluster-stack-provider-openstack/docs/overview',
147-
'container/components/cluster-stacks/components/cluster-stack-provider-openstack/docs/quickstart',
148-
'container/components/cluster-stacks/components/cluster-stack-provider-openstack/docs/controllers',
149-
'container/components/cluster-stacks/components/cluster-stack-provider-openstack/docs/develop'
150-
]
151-
},
152159
{
153160
type: 'category',
154-
label: 'csctl',
161+
label: 'Openstack',
155162
items: [
156-
'container/components/cluster-stacks/components/csctl/overview',
157-
'container/components/cluster-stacks/components/csctl/quickstart',
158-
'container/components/cluster-stacks/components/csctl/getting_started',
159-
'container/components/cluster-stacks/components/csctl/developing-and-testing-csctl'
160-
]
161-
},
162-
{
163-
type: 'category',
164-
label: 'Predefined Cluster Stacks',
165-
items: [
166-
{
167-
type: 'category',
168-
label: 'Openstack',
169-
items: [
170-
'container/components/cluster-stacks/components/cluster-stacks/providers/openstack/quickstart',
171-
'container/components/cluster-stacks/components/cluster-stacks/providers/openstack/configuration'
172-
]
173-
}
163+
'container/components/cluster-stacks/providers/openstack/quickstart',
164+
'container/components/cluster-stacks/providers/openstack/configuration'
174165
]
175166
}
176167
]
177168
},
178169
{
179170
type: 'category',
180-
label: 'Container Registry',
171+
label: 'Moin Cluster',
181172
link: {
182173
type: 'generated-index'
183174
},
184-
items: [
185-
'container/components/container-registry/docs/quickstart',
186-
'container/components/container-registry/docs/scs-deployment',
187-
'container/components/container-registry/docs/rate_limit',
188-
'container/components/container-registry/docs/upgrade',
189-
'container/components/container-registry/docs/backup_and_restore',
190-
'container/components/container-registry/docs/migration',
191-
'container/components/container-registry/docs/persistence',
192-
'container/components/container-registry/docs/ha-deployment'
193-
]
175+
items: ['container/deployment-examples/a/software']
194176
}
195177
]
196178
}

0 commit comments

Comments
 (0)