Skip to content

Commit 2ae7348

Browse files
authored
Fix Read the Docs theme (#2313)
1 parent 24a4583 commit 2ae7348

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

dev-requirements.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ pytest
55
pytest-cov
66
pytest-asyncio
77
coverage
8-
sphinx
98
jinja2
109
python-dateutil
1110
unasync
@@ -22,3 +21,9 @@ pandas; python_version<"3.10"
2221

2322
# Testing the 'search_mvt' API response
2423
mapbox-vector-tile; python_version<"3.10"
24+
25+
# Docs
26+
# Override Read the Docs default (sphinx<2 and sphinx-rtd-theme<0.5)
27+
sphinx>2
28+
sphinx-rtd-theme>0.5
29+
sphinx-autodoc-typehints

noxfile.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,7 @@ def lint(session):
109109

110110
@nox.session()
111111
def docs(session):
112-
session.install(
113-
"-rdev-requirements.txt", "sphinx-rtd-theme", "sphinx-autodoc-typehints"
114-
)
112+
session.install("-rdev-requirements.txt")
115113
session.install(".")
116114
session.run("python", "-m", "pip", "install", "sphinx-autodoc-typehints")
117115

0 commit comments

Comments
 (0)