Skip to content

Commit

Permalink
Fix .readthedocs.yaml
Browse files Browse the repository at this point in the history
GitHub: fix mxcube#839
  • Loading branch information
fabcor-maxiv committed Jan 17, 2024
1 parent ef1004c commit 8423278
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,21 @@ build:
tools:
python: "mambaforge-22.9"

# jobs:
# post_create_environment:
# - "poetry config virtualenvs.create false"
# post_install:
# - "poetry install --only=docs,main"

commands:
- "mamba env create --file conda-environment-dev.yml"
- "mamba run --name mxcubecore poetry install --only=docs,main"
- "mamba run --name mxcubecore poetry run sphinx-build -T -E -b html -c ./docs/ ./docs/source/ ${READTHEDOCS_OUTPUT}/html/"

# `conda.environment` is probably not used, since we have custom commands,
# but it seems to be required (wrongly) by ReadTheDocs config file validation.
conda:
environment: "conda-environment-dev.yml"


... # EOF

0 comments on commit 8423278

Please sign in to comment.