Hi,

I was trying to add an sidebar in *all* pages, using html_sidebars.
I ended up adding in conf.py a loop that lists all files in my Sphinx
source directory, to  generate a dict for html_sidebars.

Is there a simpler way to do this ? if not I would like to suggest
adding a glob-style pattern in html_sidebars, so one may
configure it like this:

html_sidebars = {'*': 'my_sidebar.html'}   -> the side bar will be
added in all pages

html_sidebars = {'foo*': 'my_sidebar.html'}   -> the side bar will be
added in all pages that starts with foo


Regards
Tarek

-- 
Tarek Ziadé | http://ziade.org

--

You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.


Reply via email to