From 1aeb9b862a689791c8dbc5f98645b18666fae2ed Mon Sep 17 00:00:00 2001 From: Max Wolfs Date: Thu, 14 Mar 2024 00:08:01 +0100 Subject: [PATCH] add sidebar entry and location fixes Signed-off-by: Max Wolfs --- .gitignore | 1 + docs.package.json | 6 ++--- docs/04-operating-scs/01-guides/guide-1.md | 3 --- sidebarsDocs.js | 26 ++++++++++------------ 4 files changed, 16 insertions(+), 20 deletions(-) delete mode 100644 docs/04-operating-scs/01-guides/guide-1.md diff --git a/.gitignore b/.gitignore index 9389c0f337..36765dc82a 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ /docs/02-iaas/deployment-examples/testbed /docs/03-container/components /docs/04-operating-scs/components +/docs/04-operating-scs/01-guides /docs/06-releases /standards/*.md /standards/*/*.md diff --git a/docs.package.json b/docs.package.json index 9a19764adf..df8fa3090a 100644 --- a/docs.package.json +++ b/docs.package.json @@ -55,8 +55,8 @@ }, { "repo": "SovereignCloudStack/openstack-health-monitor", - "source": "docs", - "target": "docs/04-operating-scs/guides", - "label": "openStack-health-monitor" + "source": "docs/*.md", + "target": "docs/04-operating-scs/01-guides", + "label": "openstack-health-monitor" } ] diff --git a/docs/04-operating-scs/01-guides/guide-1.md b/docs/04-operating-scs/01-guides/guide-1.md deleted file mode 100644 index 33c3de00fe..0000000000 --- a/docs/04-operating-scs/01-guides/guide-1.md +++ /dev/null @@ -1,3 +0,0 @@ -# Guide 1 - -TODO diff --git a/sidebarsDocs.js b/sidebarsDocs.js index 955ab24bd2..fc31cb2410 100644 --- a/sidebarsDocs.js +++ b/sidebarsDocs.js @@ -351,16 +351,16 @@ const sidebarsDocs = { } ] }, - // { - // type: 'category', - // label: 'Guides', - // link: { - // type: 'generated-index' - // }, - // items: [ - // 'operating-scs/guides/guide-1' - // ] - // }, + { + type: 'category', + label: 'Guides', + link: { + type: 'generated-index' + }, + items: [ + 'operating-scs/guides/openstack-health-monitor/Debian12-Install' + ] + }, // { // type: 'category', // label: 'Monitoring', @@ -435,11 +435,9 @@ const sidebarsDocs = { link: { type: 'generated-index' }, - items: [ - 'iam/domain-manager-setup-and-usage', - ] + items: ['iam/domain-manager-setup-and-usage'] }, - 'iam/intra-SCS-federation-setup-description-for-osism-doc-operations', + 'iam/intra-SCS-federation-setup-description-for-osism-doc-operations' ] }, {