~netlandish/django-wiki

6b2cb1a5b23e8c0ca83954cdc4c8dfb7ed6c8787 — Benjamin Bach 8 years ago a6775b5
Generate apidocs on rtd
1 files changed, 2 insertions(+), 0 deletions(-)

M docs/conf.py
M docs/conf.py => docs/conf.py +2 -0
@@ 129,6 129,8 @@ linkcheck_ignore = [

on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if on_rtd:
    os.system("sphinx-apidoc --doc-project='Python Reference' -f -o . ../wiki")
if on_rtd:
    html_theme = 'default'
else:
    html_theme = 'sphinx_rtd_theme'