On Sun, Mar 11, 2012 at 1:23 PM, Pauli Virtanen <pav@iki.fi> wrote:
11.03.2012 17:50, josef.pktd@gmail.com kirjoitti: [clip]
searching with google and on stackoverflow is unsuccessful. The answer maybe: ask at a relevant mainling list. (Sorry for the noise, in that case.)
You can probably use tags.has('html') or tags.has('htmlhelp') as conditionals in the config file.
Thanks tags didn't work because it is empty, {}, in conf.py but this told me where to start and look, sys.argv is available in conf.py if 'htmlhelp' in sys.argv: html_theme = 'statsmodels_htmlhelp' else: html_theme = 'statsmodels' (Although I didn't find a nice css, so I just use default if 'htmlhelp' in sys.argv ) Josef
Pauli
_______________________________________________ SciPy-Dev mailing list SciPy-Dev@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-dev