Skip to content

Commit

Permalink
dont use experimental readthedocs build.commands config
Browse files Browse the repository at this point in the history
Signed-off-by: Niels Bantilan <[email protected]>
  • Loading branch information
cosmicBboy committed Dec 15, 2023
1 parent 1bed29a commit 043ff8a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ build:
os: "ubuntu-22.04"
tools:
python: "mambaforge-22.9"
commands:
- cat monodocs-environment.lock.yaml
- mamba install -c conda-forge conda-lock
- conda-lock install -p /home/docs/monodocs-env monodocs-environment.lock.yaml
- conda info
- conda env list
- cat docs/conf.py
- cd docs && /home/docs/monodocs-env/bin/python -m sphinx -T -E -b html -d docs/_build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html
jobs:
post_install:
- conda-lock install --name latest monodocs-environment.lock.yaml
- conda info
- conda env list

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

conda:
environment: docs/build-environment.yaml
6 changes: 6 additions & 0 deletions docs/build-environment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: latest
channels:
- conda-forge
dependencies:
- python=3.10
- conda-lock

0 comments on commit 043ff8a

Please sign in to comment.