Skip to content

Commit

Permalink
Use .readthedocs.yaml file to install pynidm in RTD environment
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed May 5, 2023
1 parent 1472357 commit afb3add
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 afb3add

Please sign in to comment.