Skip to content

Commit

Permalink
bpo-37860: Add netlify deploy preview for docs (pythonGH-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 DinoV committed Jan 14, 2020
1 parent 891fc43 commit d6ec373
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 d6ec373

Please sign in to comment.