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
30 lines (27 loc) · 754 Bytes
/
Copy path.readthedocs.yml
File metadata and controls
30 lines (27 loc) · 754 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
version: 2
# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.10"
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/requirements.txt 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
python:
install:
- requirements: docs/requirements.txt
# Build PDF, ePub and zipped HTML
formats:
- epub
- pdf
- htmlzip