File tree Expand file tree Collapse file tree 1 file changed +31
-12
lines changed
Expand file tree Collapse file tree 1 file changed +31
-12
lines changed Original file line number Diff line number Diff line change 1- # Read the Docs configuration file
1+ # .readthedocs.yaml
2+ # Read the Docs configuration file for dj-payfast
23# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
34
4- # Required
55version : 2
66
7- # Set the OS, Python version, and other tools you might need
7+ # Set the OS, Python version and other tools you might need
88build :
9- os : ubuntu-24 .04
9+ os : ubuntu-22 .04
1010 tools :
11- python : " 3.13"
11+ python : " 3.11"
12+ jobs :
13+ post_create_environment :
14+ # Install poetry or other dependencies if needed
15+ - pip install poetry || echo "Poetry installation optional"
16+ post_install :
17+ # Install any additional requirements
18+ - echo "Build environment ready"
1219
1320# Build documentation in the "docs/" directory with Sphinx
1421sphinx :
15- configuration : docs/conf.py
22+ configuration : docs/conf.py
23+ fail_on_warning : false
1624
25+ # Optionally build your docs in additional formats such as PDF and ePub
1726formats :
1827 - pdf
1928 - epub
2029
21- # Optionally, but recommended,
22- # declare the Python requirements required to build your documentation
23- # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
30+ # Python configuration
2431python :
25- install :
26- - requirements : docs/requirements.txt
27-
32+ install :
33+ - requirements : docs/requirements.txt
34+ - requirements : requirements.txt
35+ - method : pip
36+ path : .
37+ extra_requirements :
38+ - docs
39+
40+ # Additional settings
41+ search :
42+ ranking :
43+ ' docs/introduction.rst ' : 2
44+ ' docs/index.rst ' : 3
45+ ignore :
46+ - ' 404.html'
You can’t perform that action at this time.
0 commit comments