Skip to content

Commit

Permalink
Change cloud sidebar to prioritize cloud v2
Browse files Browse the repository at this point in the history
  • Loading branch information
SmejkalJakub committed Dec 17, 2024
1 parent 0a000da commit 97d6791
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
1 change: 1 addition & 0 deletions cloud/cloud-v2/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
slug: /
title: Cloud v2
---
import Image from '@theme/IdealImage';
Expand Down
2 changes: 1 addition & 1 deletion cloud/introduction.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: /
slug: /introduction
sidebar_position: 1
title: Introduction
---
Expand Down
15 changes: 13 additions & 2 deletions sidebars-cloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,30 @@
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
docs: [
'introduction', 'overview',
{
type: 'category',
label: 'Cloud v2',
link: {
type: 'doc',
id: 'cloud-v2/index',
},
collapsed: true,
collapsed: false,
items: [
'cloud-v2/devices', 'cloud-v2/messages', 'cloud-v2/tags', 'cloud-v2/connectors', 'cloud-v2/users', 'cloud-v2/downlink',
'cloud-v2/fota', 'cloud-v2/api'
]
},
{
type: 'category',
label: 'Cloud v1',
link: {
type: 'generated-index',
},
collapsed: true,
items: [
'introduction',
'overview',
]
}
],
};
Expand Down

0 comments on commit 97d6791

Please sign in to comment.