Readthedocs uses Python 3.8

pull/253/head
Ashley Whetter 4 years ago
parent 8256daa090
commit 31d4beb959

@ -0,0 +1,22 @@
version: 2
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
# Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml
# Optionally build your docs in additional formats such as PDF
formats:
- pdf
# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.8
install:
- method: pip
path: .
extra_requirements:
- docs

@ -25,6 +25,7 @@ setup(
"unidecode", "unidecode",
], ],
extras_require={ extras_require={
"docs": ["sphinx", "sphinx_rtd_theme"],
"go": ["sphinxcontrib-golangdomain"], "go": ["sphinxcontrib-golangdomain"],
"dotnet": ["sphinxcontrib-dotnetdomain"], "dotnet": ["sphinxcontrib-dotnetdomain"],
}, },

@ -42,9 +42,8 @@ commands =
pylint {posargs:autoapi} pylint {posargs:autoapi}
[testenv:docs] [testenv:docs]
deps = extras =
Sphinx~=3.2.0 docs
sphinx_rtd_theme
changedir = {toxinidir}/docs changedir = {toxinidir}/docs
commands = commands =
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

Loading…
Cancel
Save