Am 01.01.2010 16:48, schrieb Tarek Ziadé:
> 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 fooYou're not the first to bring this up -- looks like there is really use for it... What would you propose for the case of multiple matching entries? Georg
signature.asc
Description: OpenPGP digital signature
