aaranxu / adidoks

AdiDoks is a mordern documentation theme, which is a port of the Hugo theme Doks for Zola.

Home Page:https://adidoks.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

stevenroose opened this issue · comments

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.

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):

  • 4555998f33d770eb236be1db4a84ccabc31039fb
  • 8768526ac781ab610f70d1b63ff2fdd1ee813bd6

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