aaranxu / adidoks

AdiDoks is a mordern documentation theme, which is a port of the Hugo theme Doks for Zola.
https://adidoks.org
MIT License
220 stars 80 forks source link

Skip homepage/landing page and land directly into a documentation page #66

Closed stevenroose closed 8 months ago

stevenroose commented 8 months ago

I've spent quite some time now trying to get rid of the landing page and instead directly land into any page so that the sidebar shows and I don't need /docs/ in my URLs.

It seems harder than expected. If someone knows a way to do this or would be willing to do this for some payment, please contact me.

stevenroose commented 8 months ago

I managed to get this to work with a custom overwrite of some templates. I'll close this issue as I suppose other people wouldn't be interested in this.

If anyone is interested in how to do this, look at https://github.com/stevenroose/covenants.info. Specifically commits (in chronological order):

And the following commits on my fork of the adidoks theme (https://github.com/stevenroose/zola-adidoks):