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
This commit is contained in:
Ashwin Ramaswami 2019-08-21 06:08:47 -07:00 committed by Carol Willing
parent d8c5adf6f8
commit 87bc3b7a0b
3 changed files with 10 additions and 0 deletions

5
Doc/requirements.txt Normal file
View File

@ -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

1
Doc/runtime.txt Normal file
View File

@ -0,0 +1 @@
3.7

4
netlify.toml Normal file
View File

@ -0,0 +1,4 @@
[build]
base = "Doc/"
command = "make html"
publish = "Doc/build/html"