Skip to content

Commit

Permalink
Merge pull request #320 from ScatterHQ/sphinx-rtd
Browse files Browse the repository at this point in the history
Use RTD theme by default for better previewing.
  • Loading branch information
itamarst authored Jul 16, 2018
2 parents 662262a + 1a8363d commit 4f4d5cc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'default'
html_theme = 'sphinx_rtd_theme'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ def read(path):
"hypothesis >= 1.14.0",
# Tasteful testing for Python:
"testtools",
"sphinx",
"sphinx_rtd_theme",
"flake8",
"yapf"
]
},
entry_points={
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ commands = pyflakes eliot

[testenv:sphinx]
deps = sphinx
sphinx_rtd_theme
basepython = python3.5
commands =
sphinx-build -b html docs/source/ docs/_build/html

0 comments on commit 4f4d5cc

Please sign in to comment.