summaryrefslogtreecommitdiffstats
path: root/.readthedocs.yml
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2023-04-30 05:02:03 (GMT)
committerGitHub <noreply@github.com>2023-04-30 05:02:03 (GMT)
commitaccb417c338630ac6e836a5c811a89d54a3cd1d3 (patch)
tree181825532650a6d4a8b1775f436468e3fd6f564f /.readthedocs.yml
parent4b10ecc29f6ae69e599a5475a62d8e96a8711f90 (diff)
downloadcpython-accb417c338630ac6e836a5c811a89d54a3cd1d3.zip
cpython-accb417c338630ac6e836a5c811a89d54a3cd1d3.tar.gz
cpython-accb417c338630ac6e836a5c811a89d54a3cd1d3.tar.bz2
Replace Netlify with Read the Docs build previews (#103843)
Co-authored-by: Oleg Iarygin <dralife@yandex.ru> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Diffstat (limited to '.readthedocs.yml')
-rw-r--r--.readthedocs.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.readthedocs.yml b/.readthedocs.yml
new file mode 100644
index 0000000..898a9ae
--- /dev/null
+++ b/.readthedocs.yml
@@ -0,0 +1,18 @@
+# Read the Docs configuration file
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
+# Project page: https://readthedocs.org/projects/cpython-previews/
+
+version: 2
+
+sphinx:
+ configuration: Doc/conf.py
+
+build:
+ os: ubuntu-22.04
+ tools:
+ python: "3"
+
+ commands:
+ - make -C Doc venv html
+ - mkdir _readthedocs
+ - mv Doc/build/html _readthedocs/html