Skip to content

Commit

Permalink
doc: Enable Netlify Deploy Preview
Browse files Browse the repository at this point in the history
Signed-off-by: Michi Mutsuzaki <[email protected]>
  • Loading branch information
michi-covalent authored and joestringer committed May 21, 2020
1 parent a89d83c commit 13f8fca
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Documentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,18 @@ ifeq ($(V),0)
SPHINX_OPTS += -q
endif

epub latex html: builder-image
copy-api:
@$(ECHO_GEN)_api
$(QUIET)cp -r ../api _api

epub latex html: builder-image copy-api
@$(ECHO_GEN)_build/$@
$(QUIET)$(DOCKER_RUN) ./check-build.sh $(@) $(SPHINX_OPTS)

html-netlify: copy-api
@$(ECHO_GEN)_build/$@
$(QUIET) ./check-build.sh html $(SPHINX_OPTS)

DOCS_PORT = 9081

run-server: stop-server
Expand Down
1 change: 1 addition & 0 deletions Documentation/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 = "Documentation/"
publish = "_build/html"
command = "make html-netlify"

0 comments on commit 13f8fca

Please sign in to comment.