github.com/ddev/ddev@v1.23.2-0.20240519125000-d824ffe36ff3/.readthedocs.yaml (about)

     1  # .readthedocs.yaml
     2  # Read the Docs configuration file
     3  # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
     4  
     5  # Required
     6  version: 2
     7  
     8  mkdocs:
     9    configuration: mkdocs.yml
    10  
    11  build:
    12    os: ubuntu-22.04
    13    tools:
    14      python: "3.11"
    15    # build.commands is used to make !ENV syntax work in mkdocs.yml
    16    commands:
    17      - pip install -r docs/mkdocs-pip-requirements
    18      - mkdocs build --site-dir $READTHEDOCS_OUTPUT/html
    19  
    20  python:
    21    install:
    22      - requirements: docs/setuptools.txt
    23      - requirements: docs/mkdocs-pip-requirements