diff --git a/readthedocs.yaml b/readthedocs.yaml index 2dd94f7..55c22ce 100644 --- a/readthedocs.yaml +++ b/readthedocs.yaml @@ -1,25 +1,21 @@ -# .readthedocs.yaml -# Read the Docs configuration file -# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details - -# Required version: 2 -# Set the version of Python and other tools you might need build: - os: ubuntu-22.04 + os: ubuntu-22.04 tools: python: "3.11" + jobs: + build: + html: + - cd docs && make html + - mkdir -p $READTHEDOCS_OUTPUT/html/ + - cp -r docs/build/html/. $READTHEDOCS_OUTPUT/html/ -# Build documentation in the docs/ directory with Sphinx sphinx: - configuration: docs/source/conf.py - -# If using Sphinx, optionally build your docs in additional formats such as PDF -# formats: -# - pdf + configuration: docs/source/conf.py -# Optionally declare the Python requirements required to build your docs python: - install: - - requirements: docs/requirements.txt + install: + - method: pip + path: . + - requirements: docs/requirements.txt