aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.readthedocs.yaml
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2024-01-27 23:24:11 +0800
committer简律纯 <i@jyunko.cn>2024-01-27 23:24:11 +0800
commit57ea2286bad1efca767b21eb0050e64f606740fd (patch)
tree1ebb6b4a736321c1f05e9f33a37fc2616b2f64d1 /.readthedocs.yaml
parentdc759b7f00f4f519acaf28a3daa27a5f5f1791ad (diff)
downloadinfini-57ea2286bad1efca767b21eb0050e64f606740fd.tar.gz
infini-57ea2286bad1efca767b21eb0050e64f606740fd.zip
refactor(docs): rebuild with readthedocs
Diffstat (limited to '.readthedocs.yaml')
-rw-r--r--.readthedocs.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
new file mode 100644
index 00000000..6d62693e
--- /dev/null
+++ b/.readthedocs.yaml
@@ -0,0 +1,32 @@
+# .readthedocs.yaml
+# Read the Docs configuration file
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
+
+# Required
+version: 2
+
+# Set the OS, Python version and other tools you might need
+build:
+ os: ubuntu-22.04
+ tools:
+ python: "3.10"
+ # You can also specify other tool versions:
+ # nodejs: "19"
+ # rust: "1.64"
+ # golang: "1.19"
+
+# Build documentation in the "docs/" directory with Sphinx
+sphinx:
+ configuration: docs/source/conf.py
+
+# Optionally build your docs in additional formats such as PDF and ePub
+formats:
+ - pdf
+ - epub
+
+# Optional but recommended, declare the Python requirements required
+# to build your documentation
+# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
+python:
+ install:
+ - requirements: docs/requirements.txt \ No newline at end of file