Fix readthedocs to install poetry
This commit is contained in:
parent
fb97091a92
commit
9aad2c9673
@ -11,12 +11,19 @@ build:
|
|||||||
tools:
|
tools:
|
||||||
python: "3.11"
|
python: "3.11"
|
||||||
jobs:
|
jobs:
|
||||||
|
pre_create_environment:
|
||||||
|
- asdf plugin add poetry
|
||||||
|
- asdf install poetry latest
|
||||||
|
- asdf global poetry latest
|
||||||
|
- poetry config virtualenvs.create false
|
||||||
|
post_install:
|
||||||
|
- poetry install
|
||||||
|
- poetry install --with dev
|
||||||
pre_build:
|
pre_build:
|
||||||
- pip install .
|
- pip install .
|
||||||
# Generate the Sphinx configuration for this Jupyter Book, so it builds.
|
# Generate the Sphinx configuration for this Jupyter Book, so it builds.
|
||||||
- "jupyter-book config sphinx docs/"
|
- "jupyter-book config sphinx docs/"
|
||||||
post_install:
|
|
||||||
- poetry install --with dev
|
|
||||||
# Build documentation in the docs/ directory with Sphinx
|
# Build documentation in the docs/ directory with Sphinx
|
||||||
# sphinx:
|
# sphinx:
|
||||||
# configuration: docs/conf.py
|
# configuration: docs/conf.py
|
||||||
@ -25,4 +32,3 @@ build:
|
|||||||
python:
|
python:
|
||||||
install:
|
install:
|
||||||
- requirements: docs/requirements.txt
|
- requirements: docs/requirements.txt
|
||||||
- poetry
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user