From 6070501fe7598ee153cc1e84de37f31a325a949c Mon Sep 17 00:00:00 2001 From: Jan Ulrich Hasecke <jan.ulrich@hasecke.com> Date: Thu, 16 Jan 2020 11:03:11 +0100 Subject: [PATCH] Logo und PDF-Datei --- source/conf.py | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/source/conf.py b/source/conf.py index 8c48f23..2f9ad06 100644 --- a/source/conf.py +++ b/source/conf.py @@ -34,7 +34,7 @@ author = 'Hostsharing eG' # The full version, including alpha/beta/rc tags -release = '1' +release = changesetid # -- General configuration --------------------------------------------------- @@ -72,14 +72,21 @@ # a list of builtin themes. # html_theme = 'sphinx_rtd_theme' - +html_theme_options = { + 'logo_only': False, + 'display_version': True, + 'style_external_links': True, + 'style_nav_header_background': '#4279bc', +} # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] html_extra_path = ['_static/robots.txt'] +html_logo = 'images/logos/hostsharing-logo-negativ.svg' latex_logo = '_static/logo.png' -latex_basename = 'Hostsharing-Benutzerhandbuch-%s.tex' % changesetid +#latex_basename = 'Hostsharing-Benutzerhandbuch-%s.tex' % changesetid +latex_basename = 'Hostsharing-Benutzerhandbuch.tex' latex_engine = 'lualatex' @@ -136,3 +143,5 @@ app.add_object_type('role', 'role', objname='Rolle', indextemplate='pair: %s; Rolle') + +rst_epilog = '.. |changesetid| replace:: %s' % changesetid -- Gitblit v1.9.3