vjeantet / hugo-theme-docdock

Declination of @matcornic Learn theme to Hugo

Home Page:https://docdock.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Add-Customization][Docs] Expand each main content upon click and display sub content without show page under main content

opened this issue · comments

About https://docdock.netlify.com documentation sidebar.
  by default when click to view sub-menu ex: "content organisation" then it show a page about "content organisation" while expand sub menus about "logo placeholder" "extra menu entries" etc

Request to add customization option to avoid display that index page

However that already possible do by click on "chevron-right" icon on docdock sidebar so i mean extend it to whole title (as optional) so each main content index page will be remain hidden.

Currently that also possible to solve without customize theme by adding a redirect
<meta http-equiv="refresh" content="0; URL='/page/mypage'" />
(+ able add text/css style as display:none for avoid show page details)


ex: see https://www.zoho.com/subscriptions/help/getting-started/welcome.html
click on "Product" then it'll only expand sub-menus list but not display any page for "Product"
or also if you click back on "getting started" no page for it and only expand contents list.