]>
Commit | Line | Data |
---|---|---|
f91f0fd5 TL |
1 | --- |
2 | # Read the Docs configuration file | |
3 | # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | |
2a845540 TL |
4 | # |
5 | # The pre_build command checks if we're building a named branch (i.e., not a PR). | |
6 | # If so, check out doc/releases from the main branch before building so | |
7 | # it's always up to date on docs.ceph.com/en/*. | |
f91f0fd5 TL |
8 | |
9 | version: 2 | |
10 | formats: [] | |
11 | build: | |
2a845540 TL |
12 | os: ubuntu-22.04 |
13 | tools: | |
14 | python: "3.8" | |
20effc67 TL |
15 | apt_packages: |
16 | - ditaa | |
2a845540 TL |
17 | jobs: |
18 | pre_build: | |
19 | - bash admin/rtd-checkout-main | |
f91f0fd5 | 20 | python: |
f91f0fd5 TL |
21 | install: |
22 | - requirements: admin/doc-requirements.txt | |
23 | - requirements: admin/doc-read-the-docs.txt | |
f67539c2 | 24 | - requirements: admin/doc-pybind.txt |
f91f0fd5 TL |
25 | sphinx: |
26 | builder: dirhtml | |
27 | configuration: doc/conf.py |