Skip to content

Commit

Permalink
Add docs to the contrib repo
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanielRN committed Dec 11, 2020
1 parent 91bfc9a commit 6ccc2f4
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2

sphinx:
configuration: docs/conf.py

build:
image: latest

python:
version: 3.9
install:
- requirements: docs-requirements.txt
Empty file added docs-requirements.txt
Empty file.
11 changes: 11 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ envlist =

lint
docker-tests
docs

[testenv]
deps =
Expand Down Expand Up @@ -273,6 +274,16 @@ commands =
test: pytest {posargs}
coverage: {toxinidir}/scripts/coverage.sh

[testenv:docs]
deps =
-c {toxinidir}/dev-requirements.txt
-r {toxinidir}/docs-requirements.txt

changedir = docs

commands =
sphinx-build -E -a -W -b html -T . _build/html

[testenv:lint]
basepython: python3.8
recreate = True
Expand Down

0 comments on commit 6ccc2f4

Please sign in to comment.