-
Notifications
You must be signed in to change notification settings - Fork 0
/
.readthedocs.yml
executable file
·44 lines (37 loc) · 1.15 KB
/
.readthedocs.yml
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
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
submodules:
include: all
recursive: true
build:
os: "ubuntu-20.04"
apt_packages:
- libc6
- cmake
- make
tools:
python: "3.10"
jobs:
pre_build:
# Note that this HTML won't be automatically uploaded,
# unless your documentation build includes it somehow.
- python -m pip install poetry
- python -m pip install ninja
- python -m pip install PyYAML
- python -m pip install pybind11
- python -m pip install cornflakes
# - python -m poetry install --verbose
- make docs
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
# Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml
# Optionally build your docs in additional formats such as PDF and ePub
formats: all
# Optionally set the version of Python and requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt