diff --git a/docs/.readthedocs.yaml b/docs/.readthedocs.yaml index a234642c6fd..766bbc442a9 100644 --- a/docs/.readthedocs.yaml +++ b/docs/.readthedocs.yaml @@ -8,13 +8,11 @@ build: os: "ubuntu-22.04" tools: python: "mambaforge-22.9" - jobs: - create_environment: - - mamba install -c conda-forge conda-lock - - conda-lock install -n monodocs-env monodocs-environment.lock.yaml - build: - - mamba activate monodocs-env - - make -C docs clean html + commands: + - mamba install -c conda-forge conda-lock + - conda-lock install -n monodocs-env monodocs-environment.lock.yaml + - mamba activate monodocs-env + - python -m sphinx -T -E -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html # Build documentation in the docs/ directory with Sphinx sphinx: