Skip to content

Commit

Permalink
RTD - don't use poe [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Panchenko committed Dec 5, 2023
1 parent 9f8f0cf commit ff4b757
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ build:
- ~/.local/bin/poetry config virtualenvs.create false
post_install:
- ~/.local/bin/poetry install --with dev
- ~/.local/bin/poetry run poe doc-generate-files
# Build documentation in the docs/ directory with Sphinx
# Same as poe doc-generate-files, but unfortunately poe doesn't work with poetry not creating virtualenvs
- ~/.local/bin/poetry run python docs/autogen_rst.py
- ~/.local/bin/poetry run bash -c "jupyter-book toc from-project docs -e .rst -e .md -e .ipynb > docs/_toc.yml"
- ~/.local/bin/poetry run jupyter-book config sphinx docs/
sphinx:
configuration: docs/conf.py
# We recommend specifying your dependencies to enable reproducible builds:
Expand Down

0 comments on commit ff4b757

Please sign in to comment.