.readthedocs.yaml 658 B

123456789101112131415161718192021222324
  1. # .readthedocs.yaml
  2. # Read the Docs configuration file
  3. # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
  4. # Thank you also https://browniebroke.com/blog/specify-docs-dependency-groups-with-poetry-and-read-the-docs/
  5. # Required
  6. version: 2
  7. # Set the version of Python and other tools you might need
  8. build:
  9. os: ubuntu-22.04
  10. tools:
  11. python: "3.9"
  12. jobs:
  13. post_create_environment:
  14. - pip install poetry
  15. - poetry config virtualenvs.create false
  16. post_install:
  17. - poetry install --with docs --all-extras
  18. # Build documentation in the docs/ directory with Sphinx
  19. sphinx:
  20. configuration: docs/source/conf.py