2020-04-09 07:35:15 +00:00
|
|
|
---
|
|
|
|
# Read the Docs configuration file
|
|
|
|
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
2022-06-30 19:37:58 +00:00
|
|
|
#
|
|
|
|
# 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/*.
|
2020-04-09 07:35:15 +00:00
|
|
|
|
|
|
|
version: 2
|
|
|
|
formats: []
|
|
|
|
build:
|
2022-06-30 19:37:58 +00:00
|
|
|
os: ubuntu-22.04
|
|
|
|
tools:
|
|
|
|
python: "3.8"
|
2021-08-01 16:37:19 +00:00
|
|
|
apt_packages:
|
|
|
|
- ditaa
|
2022-06-30 19:37:58 +00:00
|
|
|
jobs:
|
|
|
|
pre_build:
|
|
|
|
- bash admin/rtd-checkout-main
|
2020-04-09 07:35:15 +00:00
|
|
|
python:
|
|
|
|
install:
|
|
|
|
- requirements: admin/doc-requirements.txt
|
2020-04-09 13:25:39 +00:00
|
|
|
- requirements: admin/doc-read-the-docs.txt
|
2020-12-12 07:09:49 +00:00
|
|
|
- requirements: admin/doc-pybind.txt
|
2020-04-09 07:35:15 +00:00
|
|
|
sphinx:
|
|
|
|
builder: dirhtml
|
|
|
|
configuration: doc/conf.py
|