generated from guilgautier/template-python-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.readthedocs.yaml
66 lines (57 loc) · 1.78 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# ReadTheDocs configuration file
# see https://docs.readthedocs.io/en/stable/config-file/v2.html
# If you wish to deploy your documentation using ReadTheDocs at
# https://your_project_name.readthedocs.io/
# Create a ReadTheDocs account using your GitHub profile
# https://readthedocs.org/accounts/login/
# This will make sure ReadTheDocs and GitHub are linked
# https://docs.readthedocs.io/en/stable/connected-accounts.html
# so that GitHub projects can be easily imported on ReadTheDocs
# https://docs.readthedocs.io/en/stable/intro/import-guide.html
# Once your project is imported, simply
# Alternatively you can use GitHub Pages to deploy your documentation
# see also the .github/workflows/docs.yml workflow file
# Required
version: 2
# Set the version of Python and other tools you might need
build:
os: ubuntu-20.04
tools:
python: "3.8"
# You can also specify other tool versions:
# nodejs: "16"
# rust: "1.55"
# golang: "1.17"
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
builder: html
# dirhtml, singlehtml
fail_on_warning: false
# Configuration for Mkdocs documentation.
# mkdocs:
# configuration: docs/mkdocs.yml
# fail_on_warning: false
# Build formats
formats: []
# formats:
# - pdf
# - epub
# - htmlzip
# formats: all
# Configuration for Conda support.
# https://docs.readthedocs.io/en/stable/guides/conda.html
# conda:
# environment: environment.yml
# Optionally declare the Python requirements required to build your docs
python:
install:
# - requirements: docs/requirements.txt
- method: pip
# pip install .[docs] see [tool.poetry.extras] in pyproject.toml
path: .
extra_requirements:
- docs
# - method: setuptools
# path: another/package
system_packages: true