浏览代码

Fixed #33247 -- Added configuration for Read The Docs.

Co-authored-by: Andrew Neitsch <andrew@neitsch.ca>
Carlton Gibson 3 年之前
父节点
当前提交
0da7a2e9da
共有 1 个文件被更改,包括 18 次插入0 次删除
  1. 18 0
      .readthedocs.yml

+ 18 - 0
.readthedocs.yml

@@ -0,0 +1,18 @@
+# Configuration for the Read The Docs (RTD) builds of the documentation.
+# Ref: https://docs.readthedocs.io/en/stable/config-file/v2.html
+# Note python.install.requirements is not currently required, as Sphinx is
+# preinstalled and spelling checks not performed by RTD.
+version: 2
+
+build:
+  os: ubuntu-20.04
+  tools:
+    python: "3.10"
+
+sphinx:
+  configuration: docs/conf.py
+
+formats:
+  - epub
+  - pdf
+  - htmlzip