Skip to content

Toggling the sidebar in the docs page. #1208

Closed Answered by h-enk
amirfarzamnia asked this question in Q&A
Discussion options

You must be logged in to vote

That's not an easy one (I guess you mean something like this: https://nextra.site/docs) — probably a solution using Bootstrap's Collapse plugin

You would have to copy node_modules/@hyas/doks-core/layouts/_default/single.html and paste as layouts/_default/single.html (and make changes there)

BTW If you'd like to have more space, you could also set in params.toml:

# Doks (@hyas/doks-core)
[doks]
  # Navbar
  containerBreakpoint = "fluid" # "", "sm", "md", "lg" (default), "xl", "xxl", or "fluid"

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@h-enk
Comment options

@h-enk
Comment options

@amirfarzamnia
Comment options

Answer selected by amirfarzamnia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants