Skip to content

Commit

Permalink
rtd: fix build configuration (#466)
Browse files Browse the repository at this point in the history
* rtd: fix build configuration

Because I do not own the nucleic org I cannot get rtd feedback on PR but I enabled PR building on RTD, so we can at least check things are fine.

* docs: make it so that requirements are installed from the root
  • Loading branch information
MatthieuDartiailh committed Dec 28, 2021
1 parent 510832f commit 738b7bb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@ jobs:
pip install -e .
- name: Install graphviz
uses: ts-graphviz/setup-graphviz@v1
- name: Install doc building tools
run: |
cd tools/pygments
python setup.py install
cd ..
cd ..
pip install sphinx sphinx_rtd_theme
- name: Build documentation
run: |
mkdir docs_output;
Expand Down
3 changes: 3 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
sphinx>=4
sphinx-rtd-theme>=1
git+https://github.com/nucleic/cppy@main
git+https://github.com/nucleic/atom@main
git+https://github.com/nucleic/kiwi@main
tools/pygments
5 changes: 4 additions & 1 deletion readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ version: 2
formats:
- epub

build:
tools:
python: "3.9"

python:
version: 3.8
install:
- requirements: docs/rtd_requirements.txt
- requirements: docs/requirements.txt
Expand Down

0 comments on commit 738b7bb

Please sign in to comment.