.readthedocs.yaml 686 B

123456789101112131415161718192021222324252627
  1. # Read the Docs configuration file
  2. # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
  3. # Required
  4. version: 2
  5. sphinx:
  6. configuration: documentation/conf.py
  7. fail_on_warning: true
  8. # Optionally build your docs in additional formats such as PDF
  9. #formats:
  10. # - pdf # stopped working (e.g. https://readthedocs.org/projects/flexmeasures/builds/26604114/, also not required)
  11. build:
  12. os: ubuntu-20.04
  13. tools:
  14. python: "3.9"
  15. jobs:
  16. post_create_environment:
  17. - pip install . --no-deps # as python install step, RTD installs deps eagerly
  18. python:
  19. install:
  20. - requirements: requirements/3.9/app.txt
  21. - requirements: requirements/3.9/docs.txt