Skip to content

Commit c780261

Browse files
authored
doc: use sphinx-rtd-theme (#575)
1 parent 2982e9f commit c780261

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/docs.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
run: |
2525
pip install -r requirements.txt
2626
make cython
27-
pip install .
2827
2928
- name: Sphinx Documentation Generator
3029
run: |

.readthedocs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ python:
1818
install:
1919
- method: pip
2020
path: .
21+
- requirements: docs/requirements.txt
2122

2223
sphinx:
2324
configuration: docs/conf.py

docs/conf.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
#
31
# msgpack documentation build configuration file, created by
42
# sphinx-quickstart on Sun Feb 24 14:20:50 2013.
53
#
@@ -91,7 +89,7 @@
9189

9290
# The theme to use for HTML and HTML Help pages. See the documentation for
9391
# a list of builtin themes.
94-
html_theme = "sphinxdoc"
92+
html_theme = "sphinx_rtd_theme"
9593

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

docs/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
sphinx~=7.2
2+
sphinx-rtd-theme~=1.3.0

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ commands=
3333
[testenv:sphinx]
3434
changedir = docs
3535
deps =
36-
sphinx
36+
-r docs/requirements.txt
3737
commands =
3838
sphinx-build -n -v -W --keep-going -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

0 commit comments

Comments
 (0)