On Fri, Dec 2, 2011 at 11:27 AM, Alastair Dent <[email protected]> wrote:
> Can I do something like the following in conf.py:
You can but you'll have to use Python syntax (conf.py is a Python
module), so instead of
> if ifconf_product=’mini’ then
>
> exclude_patterns = ['interface/*.rst',’dialogs/*.rst’]
>
> elseif ifconf_product=’main’ then
>
> exclude_patterns = ['mini-indexes.rst]
>
>
>
> endif
it should be something like
if ifconf_product==’mini’:
exclude_patterns = ['interface/*.rst',’dialogs/*.rst’]
elif ifconf_product==’main’:
exclude_patterns = ['mini-indexes.rst]
--
Ernesto Posse
Modelling and Analysis in Software Engineering
School of Computing
Queen's University - Kingston, Ontario, Canada
--
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.