Skip to content

Commit

Permalink
Adjust osism guides location (#118)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
maxwolfs authored Nov 22, 2023
1 parent 75405a7 commit 8db87df
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 42 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Content Dependencies from docs.package.json
/repo_to_be_edited_
/docs/02-iaas/components
/docs/02-iaas/guides
/docs/02-iaas/guides/configuration-guides
/docs/02-iaas/guides/deploy-guide
/docs/02-iaas/guides/operations-guide
Expand Down
6 changes: 0 additions & 6 deletions docs.package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@
"target": "standards",
"label": ""
},
{
"repo": "osism/osism.github.io",
"source": "docs/advanced-guides",
"target": "docs/02-iaas/deployment-examples",
"label": "cloud-in-a-box"
},
{
"repo": "osism/osism.github.io",
"source": "docs/guides",
Expand Down
8 changes: 4 additions & 4 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ const config = {
'@docusaurus/plugin-client-redirects',
{
redirects: [
{
to: '/docs/iaas/deployment-examples/testbed',
from: '/docs/category/osism-testbed/'
}
// {
// to: '/docs/iaas/deployment-examples/testbed',
// from: '/docs/category/osism-testbed/'
// }
],
createRedirects(existingPath) {
if (existingPath.includes('/community')) {
Expand Down
50 changes: 19 additions & 31 deletions sidebarsDocs.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,37 +37,25 @@ const sidebarsDocs = {
// // 'iaas/overview/knowledge'
// ]
// },
{
type: 'category',
label: 'Deployment Examples',
link: {
type: 'generated-index'
},
items: [
{
type: 'category',
label: 'Testbed',
link: {
slug: 'iaas/deployment-examples/testbed',
type: 'generated-index'
},
items: [
'iaas/deployment-examples/cloud-in-a-box/advanced-guides/testbed'
]
},
{
type: 'category',
label: 'Cloud in a Box',
link: {
slug: 'iaas/deployment-examples/cloud-in-a-box',
type: 'generated-index'
},
items: [
'iaas/deployment-examples/cloud-in-a-box/advanced-guides/cloud-in-a-box'
]
}
]
},
// {
// type: 'category',
// label: 'Deployment Examples',
// link: {
// type: 'generated-index'
// },
// items: [
// {
// type: 'doc',
// label: 'Testbed',
// id: 'iaas/guides/deploy-guide/examples/testbed'
// },
// {
// type: 'doc',
// label: 'Cloud in a Box',
// id: 'iaas/guides/deploy-guide/examples/cloud-in-a-box'
// }
// ]
// },
// {
// type: 'category',
// label: 'Guides',
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const AdditionalResourcesData = [
{
title: 'Deployment Examples',
body: 'Get to know different ways to deploy SCS with cloud resources or on bare metal.',
url: '/docs/category/deployment-examples',
url: '/docs/iaas/guides/deploy-guide/examples',
buttonText: 'Explore Cases'
}
]
Expand Down

0 comments on commit 8db87df

Please sign in to comment.