Sumit Semwal | 96df5d7 | 2023-07-17 16:16:40 +0530 | [diff] [blame] | 1 | # .readthedocs.yaml |
Sumit Semwal | 96df5d7 | 2023-07-17 16:16:40 +0530 | [diff] [blame] | 2 | # Read the Docs configuration file |
Sumit Semwal | 96df5d7 | 2023-07-17 16:16:40 +0530 | [diff] [blame] | 3 | # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details |
Sumit Semwal | 96df5d7 | 2023-07-17 16:16:40 +0530 | [diff] [blame] | 4 | # Required |
Sumit Semwal | 96df5d7 | 2023-07-17 16:16:40 +0530 | [diff] [blame] | 5 | version: 2 |
6 | |||||
7 | # Set the version of Python and other tools you might need | ||||
Sumit Semwal | 96df5d7 | 2023-07-17 16:16:40 +0530 | [diff] [blame] | 8 | build: |
Sumit Semwal | 96df5d7 | 2023-07-17 16:16:40 +0530 | [diff] [blame] | 9 | os: ubuntu-22.04 |
Sumit Semwal | 96df5d7 | 2023-07-17 16:16:40 +0530 | [diff] [blame] | 10 | tools: |
Sumit Semwal | 96df5d7 | 2023-07-17 16:16:40 +0530 | [diff] [blame] | 11 | python: "3.10" |
Sumit Semwal | 96df5d7 | 2023-07-17 16:16:40 +0530 | [diff] [blame] | 12 | apt_packages: |
Sumit Semwal | 96df5d7 | 2023-07-17 16:16:40 +0530 | [diff] [blame] | 13 | - plantuml |
14 | |||||
15 | # Other variants to build than HTML | ||||
Sumit Semwal | 96df5d7 | 2023-07-17 16:16:40 +0530 | [diff] [blame] | 16 | formats: all |
17 | |||||
18 | # Build documentation in the docs/ directory with Sphinx | ||||
Sumit Semwal | 96df5d7 | 2023-07-17 16:16:40 +0530 | [diff] [blame] | 19 | sphinx: |
Sumit Semwal | 96df5d7 | 2023-07-17 16:16:40 +0530 | [diff] [blame] | 20 | configuration: docs/conf.py |
Sumit Semwal | 96df5d7 | 2023-07-17 16:16:40 +0530 | [diff] [blame] | 21 | fail_on_warning: true |
22 | |||||
23 | # Declare the Python requirements required to build your docs | ||||
Sumit Semwal | 96df5d7 | 2023-07-17 16:16:40 +0530 | [diff] [blame] | 24 | python: |
Sumit Semwal | 96df5d7 | 2023-07-17 16:16:40 +0530 | [diff] [blame] | 25 | install: |
Sumit Semwal | 96df5d7 | 2023-07-17 16:16:40 +0530 | [diff] [blame] | 26 | - requirements: docs/requirements.txt |