Skip to content

Commit 4f4d5cc

Browse files
authored
Merge pull request #320 from ScatterHQ/sphinx-rtd
Use RTD theme by default for better previewing.
2 parents 662262a + 1a8363d commit 4f4d5cc

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107

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

112112
# Theme options are theme-specific and customize the look and feel of a theme
113113
# further. For a list of options available for each theme, see the

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ def read(path):
5252
"hypothesis >= 1.14.0",
5353
# Tasteful testing for Python:
5454
"testtools",
55+
"sphinx",
56+
"sphinx_rtd_theme",
57+
"flake8",
58+
"yapf"
5559
]
5660
},
5761
entry_points={

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ commands = pyflakes eliot
6161

6262
[testenv:sphinx]
6363
deps = sphinx
64+
sphinx_rtd_theme
6465
basepython = python3.5
6566
commands =
6667
sphinx-build -b html docs/source/ docs/_build/html

0 commit comments

Comments
 (0)