vpoulailleau/python-dev-tools

View on GitHub
.readthedocs.yaml

Summary

Maintainability
Test Coverage
# https://github.com/readthedocs/readthedocs.org/issues/4912#issuecomment-1110189914

# .readthedocs.yaml
version: 2

# Set the version of Python and other tools you might need
build:
    os: ubuntu-20.04
    tools: { python: "3.10" }
    jobs:
        pre_create_environment:
            - asdf plugin add poetry
            - asdf install poetry latest
            - asdf global poetry latest
            - poetry config virtualenvs.create false
        post_install:
            - poetry install

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