From 8d081ac85398030bb1c1f5f6e59e5c995a6987fa Mon Sep 17 00:00:00 2001
From: Jan Ulrich Hasecke <jan.ulrich@hasecke.com>
Date: Wed, 06 Nov 2019 12:41:11 +0100
Subject: [PATCH] hsscript umgestellt

---
 source/conf.py |   35 ++++++++++++++++++++++++++++-------
 1 files changed, 28 insertions(+), 7 deletions(-)

diff --git a/source/conf.py b/source/conf.py
index e4cffdd..cc7b6ad 100644
--- a/source/conf.py
+++ b/source/conf.py
@@ -1,3 +1,4 @@
+
 # Configuration file for the Sphinx documentation builder.
 #
 # This file only contains a selection of the most common options. For a full
@@ -20,8 +21,11 @@
 from subprocess import check_output
 import sphinx_rtd_theme
 
-changesetid = check_output(["git", "--git-dir=.git", "rev-parse", "--short", "HEAD"]).decode("utf-8").strip()
-changesetidlong = check_output(["git", "--git-dir=.git", "rev-parse", "HEAD"]).decode("utf-8")
+changesetid = check_output(["git", "rev-parse", "--short", "HEAD"]).decode("utf-8")[:7]
+
+numfig = True
+numfig_secnum_depth = 3
+math_numfig = False
 
 # -- Project information -----------------------------------------------------
 
@@ -39,7 +43,11 @@
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
 # ones.
 extensions = [
+    'sphinx.ext.todo',
+    'sphinx.ext.graphviz'
 ]
+
+todo_include_todos = True 
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
@@ -69,23 +77,24 @@
 # so a file named "default.css" will overwrite the builtin "default.css".
 html_static_path = ['_static']
 
-latex_basename = 'Software-Dokumentation-mit-Sphinx-%s.tex' % changesetid
+latex_basename = 'Hostsharing-Benutzerhandbuch-%s.tex' % changesetid
 
 latex_engine = 'lualatex'
 
 latex_elements = {
     'passoptionstopackages': r'\PassOptionsToPackage{svgnames}{xcolor}',
     'fontpkg': r'''
-        \setmainfont{TeX Gyre Pagella}%
+        \setmainfont{TeX Gyre Heros}%
         \setsansfont{TeX Gyre Heros}%
 %        \setmonofont[RawFeature=-tlig]{TeX Gyre Cursor}%
-        \setmonofont[Ligatures={NoRequired, NoCommon, NoContextual}]{TeX Gyre Cursor}
+%        \setmonofont[Ligatures={NoRequired, NoCommon, NoContextual}]{TeX Gyre Cursor}
+        \setmonofont{Courier New}[Scale=MatchLowercase,ScaleAgain=0.9]
         ''',
-    'preamble': r'\input{mystyle.sty}',
+    'preamble': r'\input{./mystyle.sty}',
     'releasename': 'Version',
     'fncychap': r'\usepackage[Bjornstrup]{fncychap}',
     'printindex': r'\footnotesize\raggedright\printindex',
-    'maketitle' : r'\newcommand\sphinxbackoftitlepage{\vspace*{\fill}\noindent \copyright\ Jan Ulrich Hasecke 2019\par Herausgeber:\par hasecke.com -- Business Communication \par Jan Ulrich Hasecke \par Schubertstra├če 4 \par 42719 Solingen \par Deutschland \par\par ISBN-13 9781793008770 \par Independently published}\sphinxmaketitle',
+    'maketitle' : r'\newcommand\sphinxbackoftitlepage{\vspace*{\fill}\noindent Herausgeber: \par Hostsharing eG \par Flughafenstra├če 52a \par 22335 Hamburg}\sphinxmaketitle',
     'sphinxsetup': r'''
          verbatimwithframe=false,
          VerbatimColor={cmyk}{0,0,0,0.1},
@@ -109,6 +118,18 @@
    'fvset': r'\fvset{fontsize=\footnotesize}',
 }
 
+latex_additional_files = ['mystyle.sty']
+
+latex_docclass = {'manual': 'book',}
+latex_show_pagerefs = True
+latex_show_urls = 'footnote'
+latex_use_xindy = False
+
+latex_documents = [
+    ('index', latex_basename, 'Hostsharing Benutzerhandbuch',
+     'Hostsharing eG', 'manual'),
+    ]
+
 def setup(app):
     app.add_object_type('role', 'role',
     objname='Rolle',

--
Gitblit v1.9.1