summaryrefslogtreecommitdiffstats
path: root/netlify.toml
diff options
context:
space:
mode:
authorAshwin Ramaswami <aramaswamis@gmail.com>2022-12-06 13:37:41 (GMT)
committerGitHub <noreply@github.com>2022-12-06 13:37:41 (GMT)
commit85d5a7e8ef472a4a64e5de883cf313c111a8ec77 (patch)
treed15d52be482f4fea1c47a9c9d28561074ac7b6a7 /netlify.toml
parent5837e5f3478a6f3afb64502edc757f312c2db507 (diff)
downloadcpython-85d5a7e8ef472a4a64e5de883cf313c111a8ec77.zip
cpython-85d5a7e8ef472a4a64e5de883cf313c111a8ec77.tar.gz
cpython-85d5a7e8ef472a4a64e5de883cf313c111a8ec77.tar.bz2
bpo-37860: re-add netlify.toml to set up deploy previews for docs (#92852)
* Revert "bpo-46184: remove `netlify.toml` (#30272)" This reverts commit fbaf2e604cd354f1ebc6be029480010c6715a8ca. * Delete runtime.txt * Create runtime.txt * Delete runtime.txt * Update netlify.toml * Update netlify.toml * Add netlify badge * Update Doc/tools/templates/layout.html Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> * Update layout.html Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Diffstat (limited to 'netlify.toml')
-rw-r--r--netlify.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/netlify.toml b/netlify.toml
new file mode 100644
index 0000000..52675b3
--- /dev/null
+++ b/netlify.toml
@@ -0,0 +1,8 @@
+[build]
+ base = "Doc/"
+ command = "make html"
+ publish = "build/html"
+
+[build.environment]
+ PYTHON_VERSION = "3.8"
+ IS_DEPLOYMENT_PREVIEW = "true" \ No newline at end of file