Skip to content

Commit

Permalink
feat(docs): support custom sphinx theme
Browse files Browse the repository at this point in the history
  • Loading branch information
h2non committed Oct 9, 2016
1 parent 54f218b commit 6a5bc12
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,10 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'alabaster'
# html_theme = 'alabaster'
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

# 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
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ pytest~=3.0.3
pytest-cov~=2.3.1
pytest-flakes~=1.0.1
Sphinx~=1.4.8
sphinx-rtd-theme~=0.1.9
10 changes: 3 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,9 @@
if 'test' in sys.argv:
setup_requires.append('pytest')

tests_require = [
'pytest',
'coverage >= 3.7.1, < 5.0.0',
'pytest-cov',
'flake8',
]

# Read dev requirements
with open('requirements-dev.txt') as f:
tests_require = f.read().splitlines()

class PyTest(TestCommand):
def finalize_options(self):
Expand Down

0 comments on commit 6a5bc12

Please sign in to comment.