Makefile for upload and switch doc theme

This commit is contained in:
Benjamin Bertrand 2016-01-24 11:29:40 +03:00
parent 8f412c1a45
commit 08b841cbd9
2 changed files with 13 additions and 2 deletions

View File

@ -190,3 +190,11 @@ pseudoxml:
$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
@echo
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
SSH_CONF=kimsufi
SSH_TARGET_DIR=/var/www/opytex.org/opytex
rsync_upload: html
rsync -e "ssh" -P -rvzc --delete $(BUILDDIR)/html/ $(SSH_CONF):$(SSH_TARGET_DIR) --cvs-exclude

View File

@ -53,7 +53,7 @@ master_doc = 'index'
# General information about the project.
project = 'Opytex'
copyright = '2015, Benjamin Bertrand'
copyright = '2016, Benjamin Bertrand'
author = 'Benjamin Bertrand'
# The version info for the project you're documenting, acts as replacement for
@ -114,7 +114,10 @@ todo_include_todos = False
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'alabaster'
#html_theme = 'alabaster'
import sphinx_rtd_theme
html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the