Skip to content

Commit

Permalink
bpo-37860: Add netlify deploy preview for docs (GH-15288)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
epicfaace authored and willingc committed Aug 21, 2019
1 parent d8c5adf commit 87bc3b7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -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 change: 1 addition & 0 deletions Doc/runtime.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.7
4 changes: 4 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[build]
base = "Doc/"
command = "make html"
publish = "Doc/build/html"

0 comments on commit 87bc3b7

Please sign in to comment.