From: Ashwin Ramaswami Date: Wed, 21 Aug 2019 13:08:47 +0000 (-0700) Subject: bpo-37860: Add netlify deploy preview for docs (GH-15288) X-Git-Tag: v3.9.0a1~836 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=87bc3b7a0b0c41ea5da2aa137c4145f437a1c9fd;p=thirdparty%2FPython%2Fcpython.git bpo-37860: Add netlify deploy preview for docs (GH-15288) * add netlify deploy preview * fix publish path * install python3 venv * add sudo * try without venv * install right dependencies * use python3, not python * use pip3 * python3.7 * use requirements.txt * move requirements.txt to Doc * use python 3.7 in runtime.txt * move runtime.txt * Update requirements.txt --- diff --git a/Doc/requirements.txt b/Doc/requirements.txt new file mode 100644 index 000000000000..e0d7ca869af8 --- /dev/null +++ b/Doc/requirements.txt @@ -0,0 +1,5 @@ +# Requirements for docs build on netlify +# Pin sphinx to version specified in .travis.yml +sphinx==2.0.1 +blurb +python-docs-theme diff --git a/Doc/runtime.txt b/Doc/runtime.txt new file mode 100644 index 000000000000..548d71365f0e --- /dev/null +++ b/Doc/runtime.txt @@ -0,0 +1 @@ +3.7 \ No newline at end of file diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 000000000000..387c8f954ada --- /dev/null +++ b/netlify.toml @@ -0,0 +1,4 @@ +[build] + base = "Doc/" + command = "make html" + publish = "Doc/build/html" \ No newline at end of file