Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Read the Docs theme #2313

Merged
merged 1 commit into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ pytest
pytest-cov
pytest-asyncio
coverage
sphinx
jinja2
python-dateutil
unasync
Expand All @@ -22,3 +21,9 @@ pandas; python_version<"3.10"

# Testing the 'search_mvt' API response
mapbox-vector-tile; python_version<"3.10"

# Docs
# Override Read the Docs default (sphinx<2 and sphinx-rtd-theme<0.5)
sphinx>2
sphinx-rtd-theme>0.5
sphinx-autodoc-typehints
4 changes: 1 addition & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@ def lint(session):

@nox.session()
def docs(session):
session.install(
"-rdev-requirements.txt", "sphinx-rtd-theme", "sphinx-autodoc-typehints"
)
session.install("-rdev-requirements.txt")
session.install(".")
session.run("python", "-m", "pip", "install", "sphinx-autodoc-typehints")

Expand Down
Loading