Use information from "docSidebar.js" file instead of doc front matters for sidebars.

This commit is contained in:
Frank Li 2017-07-24 13:33:58 -07:00
parent 69ba05e4f1
commit abc5e325cd
9 changed files with 190 additions and 35 deletions

10
examples/docSidebar.js Normal file
View file

@ -0,0 +1,10 @@
module.exports = {
docs: {
Docusaurus: ["doc1"],
"First Category": ["doc2"],
"Second Category": ["doc3"]
},
"docs-other": {
"First Category": ["doc4", "doc5"]
}
};