Skip to content

Commit 87bc3b7

Browse files
epicfaacewillingc
authored andcommitted
bpo-37860: Add netlify deploy preview for docs (pythonGH-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
1 parent d8c5adf commit 87bc3b7

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

Doc/requirements.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Requirements for docs build on netlify
2+
# Pin sphinx to version specified in .travis.yml
3+
sphinx==2.0.1
4+
blurb
5+
python-docs-theme

Doc/runtime.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.7

netlify.toml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[build]
2+
base = "Doc/"
3+
command = "make html"
4+
publish = "Doc/build/html"

0 commit comments

Comments
 (0)