Skip to content

Commit

Permalink
Merge pull request #370 from incf-nidash/rtd-yaml
Browse files Browse the repository at this point in the history
Use `.readthedocs.yaml` file to install pynidm in RTD environment
  • Loading branch information
yarikoptic authored May 5, 2023
2 parents 1472357 + afb3add commit 9572422
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
14 changes: 14 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
formats: all
python:
install:
- requirements: docs/requirements.txt
- method: pip
path: .
build:
os: ubuntu-22.04
tools:
python: "3"
sphinx:
configuration: docs/source/conf.py
fail_on_warning: true
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Sphinx
sphinx-rtd-theme
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ commands =

[testenv:docs]
basepython = python3
deps =
Sphinx
sphinx-rtd-theme
deps = -rdocs/requirements.txt
changedir = docs
commands = sphinx-build -E -W -b html source build

Expand Down

0 comments on commit 9572422

Please sign in to comment.