summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author0dminnimda <0dminnimda@gmail.com>2023-04-11 11:21:04 +0300
committerGitHub <noreply@github.com>2023-04-11 10:21:04 +0200
commit7a2c9412f6937a944b1b472cc91fe59e7f727429 (patch)
tree8d2c7438cfb933da524adec08567b5aa0b9a1989
parente3c2587f1cbd257c22e703475541c9d782ff7dc3 (diff)
downloadcython-7a2c9412f6937a944b1b472cc91fe59e7f727429.tar.gz
Add .readthedocs.yaml (GH-5370)
Backports https://github.com/cython/cython/pull/5254 Closes https://github.com/cython/cython/issues/5364
-rw-r--r--.readthedocs.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
new file mode 100644
index 000000000..4be67b756
--- /dev/null
+++ b/.readthedocs.yaml
@@ -0,0 +1,25 @@
+# Read the Docs configuration file
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
+
+# Configuration file version
+version: 2
+
+# Set the versions of the tools
+build:
+ os: ubuntu-20.04
+ tools:
+ python: "3.11"
+
+python:
+ install:
+ - requirements: doc-requirements.txt
+ - method: setuptools # runs setup.py
+ path: .
+ system_packages: true
+
+sphinx:
+ builder: html
+ configuration: docs/conf.py
+
+# Don't build the docs in additional formats like pdf or epub
+formats: []