Skip to content

Commit

Permalink
use sphinx-rtd-theme for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantgoel committed Aug 22, 2017
1 parent 218dc97 commit eb08e36
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
20 changes: 12 additions & 8 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
# import sys
# sys.path.insert(0, os.path.abspath('.'))

import sphinx_rtd_theme


# -- General configuration ------------------------------------------------

Expand Down Expand Up @@ -83,20 +85,22 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'alabaster'
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
# documentation.
#

html_theme_options = {
'show_powered_by': True,
'github_user': 'siddhantgoel',
'github_repo': 'streaming-form-data',
'github_banner': True,
'show_related': False
}
# html_theme_options = {
# 'show_powered_by': True,
# 'github_user': 'siddhantgoel',
# 'github_repo': 'streaming-form-data',
# 'github_banner': True,
# 'show_related': False
# }

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down
1 change: 1 addition & 0 deletions requirements.dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ line_profiler==2.0
pytest==3.0.6
requests-toolbelt==0.7.0
sphinx-autobuild==0.6.0
sphinx-rtd-theme==0.2.4
sphinxcontrib-websupport==1.0.1
twine==1.8.1

0 comments on commit eb08e36

Please sign in to comment.