generated from readthedocs/tutorial-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.readthedocs.yaml
36 lines (26 loc) · 1.02 KB
/
.readthedocs.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
python:
# Install our python package before building the docs, else the document will fail to build since Python and Sphinx isn't installed yet. With this change, Read the Docs will install the Python code before starting the Sphinx build, which will finish seamlessly.
#If you go now to the API page of your HTML documentation, you will see the home page!
install:
- method: pip
path: .
# The following is to update the python version or to precise the version to be used.
version: 2
build:
os: "ubuntu-20.04"
tools:
python: "3.8"
# The following lines is to help identify warning messages in the logs so that you can easily identify them and modify the errors. It will highlight the error messages to yellow, I think ;-)
version: 2
build:
os: "ubuntu-20.04"
tools:
python: "3.8"
sphinx:
fail_on_warning: true
#The following lines is to enable PDF and EPUB downloadable versions so that the user can read the documentation offline.
sphinx:
fail_on_warning: true
formats:
- pdf
- epub