浏览代码

add .readthedocs.yaml

same as in master branch
Thomas Waldmann 2 年之前
父节点
当前提交
fd6e76e6a4
共有 1 个文件被更改,包括 30 次插入0 次删除
  1. 30 0
      .readthedocs.yaml

+ 30 - 0
.readthedocs.yaml

@@ -0,0 +1,30 @@
+# .readthedocs.yaml - Read the Docs configuration file.
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details.
+
+version: 2
+
+build:
+    os: ubuntu-22.04
+    tools:
+        python: "3.11"
+    jobs:
+        post_checkout:
+            - git fetch --unshallow
+    apt_packages:
+        - build-essential
+        - pkg-config
+        - libacl1-dev
+        - libssl-dev
+        - liblz4-dev
+        - libzstd-dev
+        - libxxhash-dev
+
+python:
+    install:
+        - requirements: requirements.d/development.lock.txt
+        - requirements: requirements.d/docs.txt
+        - method: pip
+          path: .
+
+sphinx:
+    configuration: docs/conf.py