tomjoht / documentation-theme-jekyll

A Jekyll-based theme designed for documentation and help systems. See the link for detailed instructions on setting up and configuring everything.
http://idratherbewriting.com/documentation-theme-jekyll/
Other
1.17k stars 1.19k forks source link

How to Stop Sidebar from Collapsing #202

Closed FA5I closed 4 years ago

FA5I commented 4 years ago

Hi,

This is a cool theme and I am excited to use it for my project.

One question I did have was is there a way to stop the sidebar from collapsing by default?

I set accordion = false in my sidebar.yml file but it did nothing. Any guidance is much appreciated.

DelfCo commented 4 years ago

My quick read of mydoc_sidebar_navigation.md is that there are two ways to get what you want. One involves editing the _includes/sidebar.html file, and the other involves changes to get yourself a fixed position sidebar. I don't get the impression that either one is a simple as setting accordion = false in a .yml file.

FA5I commented 4 years ago

Thanks @DelfCo! I will take a look at that

FA5I commented 4 years ago

I resolved by just disabling Navgoco, works good enough for my purposes.