rtd theme and makeflie command to upload

This commit is contained in:
Benjamin Bertrand 2016-01-24 08:29:05 +03:00
parent 945e503737
commit 0e07c44d4a
2 changed files with 31 additions and 2 deletions

View File

@ -175,3 +175,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/pymath
rsync_upload: html
rsync -e "ssh" -P -rvzc --delete $(BUILDDIR)/html/ $(SSH_CONF):$(SSH_TARGET_DIR) --cvs-exclude

View File

@ -104,12 +104,33 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'classic'
#html_theme = 'classic'
# Activate the theme.
#import sphinx_bootstrap_theme
#html_theme = 'bootstrap'
#html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()
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
# documentation.
#html_theme_options = {}
html_theme_options = {
#'navbar_title': "Opytex",
#'navbar_links': [
# ('Opytex', "/opytex/"),
# ("pyMath", "/pymaht/"),
# ("Enseignement", "/Enseignements"),
# #('blog', '/blog_index.html'),
# ('À propos', "/about")
# ],
#'navbar_pagenav_name': "Sommaire",
#'navbar_sidebarrel': False,
}
# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []