Skip to content

Commit 4811caa

Browse files
authored
Add Central API in Ops (#189)
* Add Central API in Ops Signed-off-by: Dominik Pataky <[email protected]> * fix: remove docs/ prefix for copied .mds for Central API The glob for the repo source says 'docs/*.md', so the script copies all Markdown files under docs/ into the target directory, removing the folders 'docs/' prefix. { "repo": "SovereignCloudStack/central-api", "source": "docs/*.md", "target": "docs/04-operating-scs/components", "label": "central-api" } Signed-off-by: Dominik Pataky <[email protected]> * fix: add poc-setup for Central API docs; fix architecturalOverviewData Signed-off-by: Dominik Pataky <[email protected]> --------- Signed-off-by: Dominik Pataky <[email protected]>
1 parent b210f9f commit 4811caa

File tree

3 files changed

+31
-7
lines changed

3 files changed

+31
-7
lines changed

docs.package.json

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@
2323
"target": "docs/03-container/components/cluster-stacks/components",
2424
"label": "cluster-stack-provider-openstack"
2525
},
26-
{
27-
"repo": "SovereignCloudStack/status-page-openapi",
28-
"source": "docs",
29-
"target": "docs/04-operating-scs/components",
30-
"label": "status-page"
31-
},
3226
{
3327
"repo": "SovereignCloudStack/standards",
3428
"source": ["Standards/*.md", "Tests/scs-*.yaml"],
@@ -47,6 +41,13 @@
4741
"target": "docs/03-container/components",
4842
"label": "container-registry"
4943
},
44+
45+
{
46+
"repo": "SovereignCloudStack/status-page-openapi",
47+
"source": "docs",
48+
"target": "docs/04-operating-scs/components",
49+
"label": "status-page"
50+
},
5051
{
5152
"repo": "SovereignCloudStack/k8s-observability",
5253
"source": "docs",
@@ -58,5 +59,11 @@
5859
"source": "docs/*.md",
5960
"target": "docs/04-operating-scs/01-guides",
6061
"label": "openstack-health-monitor"
62+
},
63+
{
64+
"repo": "SovereignCloudStack/central-api",
65+
"source": "docs/*.md",
66+
"target": "docs/04-operating-scs/components",
67+
"label": "central-api"
6168
}
6269
]

sidebarsDocs.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,18 @@ const sidebarsDocs = {
244244
'operating-scs/components/monitoring/docs/tracing',
245245
'operating-scs/components/monitoring/docs/tuning'
246246
]
247-
}
247+
},
248+
{
249+
type: 'category',
250+
label: 'Central API',
251+
link: {
252+
type: 'generated-index'
253+
},
254+
items: [
255+
'operating-scs/components/central-api/overview',
256+
'operating-scs/components/central-api/poc-setup'
257+
]
258+
},
248259
]
249260
},
250261
{

static/data/architecturalOverviewData.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717
"url": "/docs/category/monitoring",
1818
"mandatory": "false",
1919
"stable": "true"
20+
},
21+
{
22+
"title": "Central API",
23+
"url": "/docs/operating-scs/components/central-api/overview",
24+
"mandatory": "true",
25+
"stable": "true"
2026
}
2127
]
2228
}

0 commit comments

Comments
 (0)