thuliteio / doks

Everything you need to build a stellar documentation website. Fast, accessible, and easy to use.
https://getdoks.org
MIT License
2.1k stars 359 forks source link

Add multiple 'docs' section and the possibility to rename them #1058

Closed Voralberg closed 1 year ago

Voralberg commented 1 year ago

Summary

As more or less shown in the original Doks website, could be added the possibility to have multiple 'docs' section, each one with the respective lateral panel submenus? And consequently the possibility to rename the 'docs' sections in arbitrary names?

Basic example

Something similar in the original Doks website where both the Docs and Showcase section have each their own separate submenus.

Motivation

This would greatly improve the structure of very extended websites with a lot of articles.

h-enk commented 1 year ago

That's where the create command comes in handy:

https://getdoks.org/docs/overview/commands/#docs-based-tree

Voralberg commented 1 year ago

That's where the create command comes in handy:

https://getdoks.org/docs/overview/commands/#docs-based-tree

Well, then I apologize for opening this request. I thank you for this beautiful theme.

binnyg commented 1 year ago

We are able to create multiple docs sections but the sidebar is not working in the new docs section. Do we have to manually create the sidebar folder and code inside the layouts for the left navigation to work?

h-enk commented 1 year ago

See https://github.com/h-enk/doks/discussions/538#discussioncomment-6264981