-
Notifications
You must be signed in to change notification settings - Fork 2
/
.readthedocs.yml
35 lines (29 loc) · 829 Bytes
/
.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
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
sphinx:
configuration: docs/conf.py
# fail_on_warning might generate hard to fix error, in this case it can be
# disabled but this also means those errors will fail silently, choose wisely.
fail_on_warning: true
build:
os: ubuntu-22.04
tools:
python: "mambaforge-22.9"
jobs:
pre_build:
- sphinx-apidoc -o docs/apidoc --private --module-first src/miranda
- sphinx-build -M gettext docs docs/_build
- git clone https:/ES-DOC/pyessv-archive.git ~/.esdoc/pyessv-archive
conda:
environment: environment-docs.yml
python:
install:
- method: pip
path: .
extra_requirements:
- docs
formats:
- htmlzip
- pdf