-
Notifications
You must be signed in to change notification settings - Fork 238
Expand file tree
/
Copy path.readthedocs.yaml
More file actions
32 lines (27 loc) · 896 Bytes
/
Copy path.readthedocs.yaml
File metadata and controls
32 lines (27 loc) · 896 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
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Set the version of Python and other tools you might need
build:
os: ubuntu-24.04
tools:
python: "3.12"
apt_packages:
- pandoc
jobs:
# Read the Docs' built-in `formats:` support (below) only produces
# epub/PDF/htmlzip for Sphinx projects, not MkDocs ones. So for issue
# #1835 we build the epub ourselves after the MkDocs HTML build; anything
# placed in $READTHEDOCS_OUTPUT/epub/ is published on the project's
# Downloads page and in the docs' flyout menu.
post_build:
- mkdir -p $READTHEDOCS_OUTPUT/epub
- bash docs/build-epub.sh $READTHEDOCS_OUTPUT/epub/miller.epub
python:
install:
- requirements: docs/requirements.txt
mkdocs:
configuration: docs/mkdocs.yml
formats: all