Skip to content

Commit 1240278

Browse files
authored
Merge pull request #72 from RIPE-NCC/sphinx_theme_update
New Sphinx theme for docs
2 parents ee54ccf + 2891eb3 commit 1240278

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

docs/.readthedocs.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ build:
77

88
sphinx:
99
configuration: docs/conf.py
10+
11+
python:
12+
install:
13+
- requirements: docs/requirements.txt

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
extensions = [
3636
'sphinx.ext.autodoc',
3737
'sphinx.ext.viewcode',
38+
'sphinx_rtd_theme',
3839
]
3940

4041
# Add any paths that contain templates here, relative to this directory.
@@ -114,7 +115,7 @@
114115

115116
# The theme to use for HTML and HTML Help pages. See the documentation for
116117
# a list of builtin themes.
117-
html_theme = 'default'
118+
html_theme = 'sphinx_rtd_theme'
118119

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

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sphinx-rtd-theme

0 commit comments

Comments
 (0)