Skip to content

Commit

Permalink
[docs] Enable Sphinx RTD Theme on readthedocs.org
Browse files Browse the repository at this point in the history
(cherry picked from commit e4eb670)
  • Loading branch information
drybjed committed Aug 29, 2023
1 parent ddaf6aa commit 551bfb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def setup(app):
extensions = [
'sphinx.ext.ifconfig',
'sphinx.ext.graphviz',
'sphinx_rtd_theme',
'autolink'
]

Expand Down Expand Up @@ -196,7 +197,7 @@ def setup(app):

# 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'

# Check if build is performed on ReadTheDocs.org infrastructure
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
Expand Down
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@

# Fix for https://github.com/readthedocs/readthedocs.org/issues/8616
docutils<0.18

sphinx_rtd_theme

0 comments on commit 551bfb6

Please sign in to comment.