Skip to content

Commit

Permalink
Added readonthedocs theme and requirements-docs.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloCastellano committed Jun 27, 2015
1 parent 44b8987 commit 39d2ad5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,3 +353,10 @@

# If false, no index is generated.
#epub_use_index = True


on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if not on_rtd: # only import and set the theme if we're building docs locally
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
21 changes: 21 additions & 0 deletions requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
alabaster==0.7.6
argh==0.26.1
Babel==1.3
backports.ssl-match-hostname==3.4.0.2
certifi==2015.4.28
docutils==0.12
Jinja2==2.7.3
livereload==2.4.0
MarkupSafe==0.23
pathtools==0.1.2
Pygments==2.0.2
pytz==2015.4
PyYAML==3.11
six==1.9.0
snowballstemmer==1.2.0
Sphinx==1.3.1
sphinx-autobuild==0.5.2
sphinx-rtd-theme==0.1.8
tornado==4.2
watchdog==0.8.3
wheel==0.24.0

0 comments on commit 39d2ad5

Please sign in to comment.