diff --git a/.travis.yml b/.travis.yml index f314032e7d..113f72f871 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,15 @@ install: - cd ../../ script: - - pytest + # - pytest + - cd docs + - make html + +deploy: + provider: pages + skip_cleanup: true + github_token: $GITHUB_TOKEN # set in the Travis dashboard + local_dir: docs/build/html notifications: email: diff --git a/docs/-old.Makefile b/docs/-old.Makefile deleted file mode 100644 index d4f775b6ab..0000000000 --- a/docs/-old.Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# Minimal makefile for Sphinx documentation -# - -# You can set these variables from the command line. -SPHINXOPTS = -SPHINXBUILD = sphinx-build -SPHINXPROJ = Geonature -SOURCEDIR = . -BUILDDIR = build - -# Put it first so that "make" without argument is like "make help". -help: - @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) - -.PHONY: help Makefile - -# Catch-all target: route all unknown targets to Sphinx using the new -# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). -%: Makefile - @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) diff --git a/readthedocs.yml b/readthedocs.yml new file mode 100644 index 0000000000..e69de29bb2