Skip to content

Commit 8db87df

Browse files
authored
Adjust osism guides location (#118)
* fix new location of guides Signed-off-by: Max Wolfs <[email protected]> * remove old location Signed-off-by: Max Wolfs <[email protected]> * remove empty entry Signed-off-by: Max Wolfs <[email protected]> * fix links Signed-off-by: Max Wolfs <[email protected]> --------- Signed-off-by: Max Wolfs <[email protected]>
1 parent 75405a7 commit 8db87df

File tree

5 files changed

+25
-42
lines changed

5 files changed

+25
-42
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Content Dependencies from docs.package.json
22
/repo_to_be_edited_
33
/docs/02-iaas/components
4+
/docs/02-iaas/guides
45
/docs/02-iaas/guides/configuration-guides
56
/docs/02-iaas/guides/deploy-guide
67
/docs/02-iaas/guides/operations-guide

docs.package.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@
3535
"target": "standards",
3636
"label": ""
3737
},
38-
{
39-
"repo": "osism/osism.github.io",
40-
"source": "docs/advanced-guides",
41-
"target": "docs/02-iaas/deployment-examples",
42-
"label": "cloud-in-a-box"
43-
},
4438
{
4539
"repo": "osism/osism.github.io",
4640
"source": "docs/guides",

docusaurus.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ const config = {
4848
'@docusaurus/plugin-client-redirects',
4949
{
5050
redirects: [
51-
{
52-
to: '/docs/iaas/deployment-examples/testbed',
53-
from: '/docs/category/osism-testbed/'
54-
}
51+
// {
52+
// to: '/docs/iaas/deployment-examples/testbed',
53+
// from: '/docs/category/osism-testbed/'
54+
// }
5555
],
5656
createRedirects(existingPath) {
5757
if (existingPath.includes('/community')) {

sidebarsDocs.js

Lines changed: 19 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -37,37 +37,25 @@ const sidebarsDocs = {
3737
// // 'iaas/overview/knowledge'
3838
// ]
3939
// },
40-
{
41-
type: 'category',
42-
label: 'Deployment Examples',
43-
link: {
44-
type: 'generated-index'
45-
},
46-
items: [
47-
{
48-
type: 'category',
49-
label: 'Testbed',
50-
link: {
51-
slug: 'iaas/deployment-examples/testbed',
52-
type: 'generated-index'
53-
},
54-
items: [
55-
'iaas/deployment-examples/cloud-in-a-box/advanced-guides/testbed'
56-
]
57-
},
58-
{
59-
type: 'category',
60-
label: 'Cloud in a Box',
61-
link: {
62-
slug: 'iaas/deployment-examples/cloud-in-a-box',
63-
type: 'generated-index'
64-
},
65-
items: [
66-
'iaas/deployment-examples/cloud-in-a-box/advanced-guides/cloud-in-a-box'
67-
]
68-
}
69-
]
70-
},
40+
// {
41+
// type: 'category',
42+
// label: 'Deployment Examples',
43+
// link: {
44+
// type: 'generated-index'
45+
// },
46+
// items: [
47+
// {
48+
// type: 'doc',
49+
// label: 'Testbed',
50+
// id: 'iaas/guides/deploy-guide/examples/testbed'
51+
// },
52+
// {
53+
// type: 'doc',
54+
// label: 'Cloud in a Box',
55+
// id: 'iaas/guides/deploy-guide/examples/cloud-in-a-box'
56+
// }
57+
// ]
58+
// },
7159
// {
7260
// type: 'category',
7361
// label: 'Guides',

src/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const AdditionalResourcesData = [
5656
{
5757
title: 'Deployment Examples',
5858
body: 'Get to know different ways to deploy SCS with cloud resources or on bare metal.',
59-
url: '/docs/category/deployment-examples',
59+
url: '/docs/iaas/guides/deploy-guide/examples',
6060
buttonText: 'Explore Cases'
6161
}
6262
]

0 commit comments

Comments
 (0)