Docz sidebar no longer displays subheaders and closes on click
See original GitHub issueI upgraded docz and docz-theme-default recently and the sidebar has since stopped working as it used to.
This is how it looked before:
Now subheaders in the markdown no longer create submenu entries, and additionally, when you click on an item, the whole parent menu closes.
It looks like this:
My docz dependencies are:
"docz": "^0.13.7",
"docz-plugin-css": "^0.11.0",
"docz-theme-default": "^0.13.7",
It’s basically the same as #247.
The solution there was to use yarn…Surely I don’t have to use yarn just to make docz work?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:10
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Looks like sidebar navigation was broken · Issue #247 · doczjs/docz ...
So it works well in v0.8.0: But after v0.9.0 it does not work:... ... Docz sidebar no longer displays subheaders and closes on...
Read more >st.sidebar - Streamlit Docs
st.sidebar displays items in a sidebar. ... Not only can you add interactivity to your app with widgets, you can organize them into...
Read more >Add a title, heading, or table of contents in a document
Make a title or heading · On your computer, open a document in Google Docs. · Select the text you want to change....
Read more >Master the Docs Outline Tool | Workspace Tips
On the left side of the document next to "Document outline," click Close . The outline will stay closed until you open it...
Read more >How do I restore missing Finder sidebar? - Apple Community
Haha hopefully this solves your problem too. Close all finder windows so when you click the finder icon it opens a new finder...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I also encountered this problem when I built the example from the repository without using symlinks (everything is OK with it). Having drunk a fair amount of cups of tea, I discovered the problem in the way to the path-to-regexp library. In one case, the paths went to node_modules/path-to-regexp (0.1.7), and in the other, node_modules/react-router/node_modules/path-to-regexp (1.7.0). I have a suspicion that using symlinks changes the work of the rezolver (https://github.com/pedronauck/docz/blob/master/packages/docz-core/src/webpack/config.ts#L117).
@akharkhonov Have a try of docz 1.0. Does this bug still exist in 1.0?