diff options
author | Ashwin Ramaswami <aramaswamis@gmail.com> | 2019-08-21 13:08:47 (GMT) |
---|---|---|
committer | Carol Willing <carolcode@willingconsulting.com> | 2019-08-21 13:08:47 (GMT) |
commit | 87bc3b7a0b0c41ea5da2aa137c4145f437a1c9fd (patch) | |
tree | 1c468817b3296e0152084525482f80b89837b99a | |
parent | d8c5adf6f83024238545aac0bb465289cc2dde84 (diff) | |
download | cpython-87bc3b7a0b0c41ea5da2aa137c4145f437a1c9fd.zip cpython-87bc3b7a0b0c41ea5da2aa137c4145f437a1c9fd.tar.gz cpython-87bc3b7a0b0c41ea5da2aa137c4145f437a1c9fd.tar.bz2 |
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
-rw-r--r-- | Doc/requirements.txt | 5 | ||||
-rw-r--r-- | Doc/runtime.txt | 1 | ||||
-rw-r--r-- | netlify.toml | 4 |
3 files changed, 10 insertions, 0 deletions
diff --git a/Doc/requirements.txt b/Doc/requirements.txt new file mode 100644 index 0000000..e0d7ca8 --- /dev/null +++ b/Doc/requirements.txt @@ -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 diff --git a/Doc/runtime.txt b/Doc/runtime.txt new file mode 100644 index 0000000..548d713 --- /dev/null +++ b/Doc/runtime.txt @@ -0,0 +1 @@ +3.7
\ No newline at end of file diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..387c8f9 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,4 @@ +[build] + base = "Doc/" + command = "make html" + publish = "Doc/build/html"
\ No newline at end of file |