Skip to content

Commit

Permalink
as requested by endiliey. Do not merge this commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmrachel committed Dec 9, 2018
1 parent 9697e15 commit ebf7ad8
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/subcategory1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
id: subcategory1
title: subcategory1
---

Hi! i'm a test subcategory page (1)
6 changes: 6 additions & 0 deletions docs/subcategory2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
id: subcategory2
title: subcategory2
---

Hi! i'm a test subcategory page (2)
17 changes: 17 additions & 0 deletions v1/website/sidebars.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
{
"docs": {
"My Example Category": [
"examples",
{
"type": "subcategory",
"label": "My Example Subcategory",
"ids": [
"subcategory1"
]
},
{
"type": "subcategory",
"label": "My Next Subcategory",
"ids": [
"subcategory2"
]
}
],
"Getting Started": [
"installation",
"site-preparation",
Expand Down
2 changes: 1 addition & 1 deletion v1/website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const siteConfig = {
enableUpdateTime: true,
enableUpdateBy: true,
customDocsPath: '../docs',
docsSideNavCollapsible: false,
docsSideNavCollapsible: true,
};

module.exports = siteConfig;

0 comments on commit ebf7ad8

Please sign in to comment.