Comments (5)
The way to do this is through the sidebarDepth
option. You'll notice we have it set at sidebarDepth = 0
on line 7 of the config file. This sets the behaviour for all files, but you can adjust/override this by section if you want. Depth of 0 means that no headers are expanded when you click on a file, whereas sidebarDepth = 1 means all headers level 1 will unroll and you can click to quickly get to them. 2 is the same, it will pull all header1 and header2 tags.
Here is an example on the FAQ section:
# FAQ Wasabi sidebar
# ----------------------------------------
[[themeConfig.sidebar."/FAQ/"]]
title = ""
sidebarDepth = 3
collapsable = false
children = [
"/FAQ/",
"/FAQ/FAQ-Introduction.md",
"/FAQ/FAQ-Installation.md",
"/FAQ/FAQ-UseWasabi.md",
"/FAQ/FAQ-GeneralBitcoinPrivacy.md",
"/FAQ/FAQ-Contribution.md",
]
I do not have an opinion on what value to choose, I just wanted to explain how it works. Have you tried a few @MaxHillebrand ? What do you think? I do like it for the FAQ potentially, depending on how long the list is haha.
from wasabidoc.
Also I just noticed that your link to the VuePress documentation is for vuepress 0.something. It is a bit older and does not contain all the explanations for the stuff we are implementing, so you might have not been able to find something you were looking for... Check out the version 1 instead. Honestly I don't know why they don't put a banner on the old version making sure users know that this is not the docs related to the current version, the one that downloads by default!
https://v1.vuepress.vuejs.org/guide/
from wasabidoc.
As always, fantastic explanation, thank you so much @thunderbiscuit !!
As I read it here, the maximum depth is 2, and I think that is good for most pages. I'll set it manually for all of the four pillars so that it can be modified individually without much hassle.
from wasabidoc.
Yeah I think that's a better approach than what I had. Explicit is better than implicit. This will make it clear to newcomers to the file.
from wasabidoc.
This is implemented by 64bb9cd.
from wasabidoc.
Related Issues (20)
- SideBar menu color HOT 1
- update history images
- replace youtube links with yewtu.be HOT 5
- create video's pillar and add it to the navbar HOT 3
- Update speed up/cancel transaction FAQ regarding hardware wallets HOT 3
- update privacy suggestions HOT 1
- Update pictures for discreet mode HOT 1
- Update RPC documentation HOT 2
- Open a new subpage for Error messages
- Update history list pictures HOT 1
- Update Wasabi documentation on Bitcoin Optech
- Create RPC Documentation for Windows
- Search in content HOT 32
- searchbar is broken HOT 2
- How to add missing mempool transaction
- searchbar not working properly HOT 3
- Changing background color while browsing HOT 2
- update/add wallet rename HOT 1
- document configurable Tor port
- update/check initial wallet creation workflow
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wasabidoc.