summaryrefslogtreecommitdiffstats
path: root/.readthedocs.yml
blob: 8fcdfee9326671c4f0fff44f500b6d4ab2acc5ed (plain)
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
---
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
#
# The pre_build command checks if we're building a named branch (i.e., not a PR).
# If so, check out doc/releases from the main branch before building so
# it's always up to date on docs.ceph.com/en/*.

version: 2
formats: []
build:
  os: ubuntu-22.04
  tools:
    python: "3.8"
  apt_packages:
    - ditaa
    - graphviz
  jobs:
    pre_build:
      - bash admin/rtd-checkout-main
python:
  install:
    - requirements: admin/doc-requirements.txt
    - requirements: admin/doc-read-the-docs.txt
    - requirements: admin/doc-pybind.txt
sphinx:
  builder: dirhtml
  configuration: doc/conf.py