Fix RTD and gh-pages docu auto-generation
This commit is contained in:
parent
9aad2c9673
commit
64af97b65e
2
.github/workflows/notebooks.yml
vendored
2
.github/workflows/notebooks.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
poetry install --with dev
|
poetry install --with dev
|
||||||
- name: convert sphinx
|
- name: convert sphinx
|
||||||
run: jupyter-book config sphinx docs/
|
run: poetry run jupyter-book config sphinx docs/
|
||||||
- name: build books
|
- name: build books
|
||||||
run: poetry run jupyter-book build docs
|
run: poetry run jupyter-book build docs
|
||||||
deploy:
|
deploy:
|
||||||
|
@ -11,19 +11,13 @@ 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 .
|
||||||
|
- poetry config virtualenvs.create false
|
||||||
# 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/"
|
- "poetry run 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
|
||||||
@ -32,3 +26,4 @@ build:
|
|||||||
python:
|
python:
|
||||||
install:
|
install:
|
||||||
- requirements: docs/requirements.txt
|
- requirements: docs/requirements.txt
|
||||||
|
- pip install poetry
|
||||||
|
Loading…
x
Reference in New Issue
Block a user