From d67cd07e5f1bc47db2162881e79bf4c593f42c5f Mon Sep 17 00:00:00 2001 From: TheoLechemia Date: Tue, 11 Jun 2019 14:49:12 +0200 Subject: [PATCH] =?UTF-8?q?Test=20g=C3=A9n=C3=A9ration=20doc=20par=20travi?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 10 +++++++++- docs/-old.Makefile | 20 -------------------- readthedocs.yml | 0 3 files changed, 9 insertions(+), 21 deletions(-) delete mode 100644 docs/-old.Makefile create mode 100644 readthedocs.yml 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