mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-17 11:07:07 +02:00
Use information from "docSidebar.js" file instead of doc front matters for sidebars.
This commit is contained in:
parent
69ba05e4f1
commit
abc5e325cd
9 changed files with 190 additions and 35 deletions
10
examples/docSidebar.js
Normal file
10
examples/docSidebar.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
module.exports = {
|
||||
docs: {
|
||||
Docusaurus: ["doc1"],
|
||||
"First Category": ["doc2"],
|
||||
"Second Category": ["doc3"]
|
||||
},
|
||||
"docs-other": {
|
||||
"First Category": ["doc4", "doc5"]
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue