forked from conda/conda
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.readthedocs.yml
More file actions
32 lines (28 loc) · 791 Bytes
/
.readthedocs.yml
File metadata and controls
32 lines (28 loc) · 791 Bytes
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
version: 2
sphinx:
configuration: docs/source/conf.py
# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: miniconda-latest
jobs:
post_checkout:
# Unshallow the git clone to make sure we can identify the version
- git fetch --unshallow
pre_install:
- git update-index --assume-unchanged docs/environment.yml docs/source/conf.py
pre_build:
# Install conda so we can run conda commands (e.g., see configuration.rst)
- python -m pip install --no-deps --no-cache-dir --editable .
apt_packages:
# Needed for the UML graph Sphinx extension
- graphviz
- default-jre
conda:
environment: docs/environment.yml
# Build PDF, ePub and zipped HTML
formats:
- epub
- pdf
- htmlzip