Compare commits

..

2 Commits

Author SHA1 Message Date
Gulliver
f53c84afeb Merge branch 'feature/wtf_coop_theme'
* feature/wtf_coop_theme:
  feat: updated handbuch
  docs: reduced install efforts with creation of requirements.txt
  chore: added plantuml.jar to .gitignore
  feat: 1st wtf_coop theme based on read the docs
  fix: whitespace
  feat: updated handbuch
  feat: updated handbuch
  feat: start over clean
  fix: whitespace
  updated submodule  handbuch
  fix: reduced maxdepth of index to 2 to reduce clutter
  Makefile adapted to changed pdf filename (changed title)
  changed title, authors and release version
  initial sphinx settings for epub (cover page contains only logo for now)
  initial settings for wtf cooperative latex CI added
  theme adapted to wtf CI, logo included, links in header changed to wtf service urls
  new theme wtf_coop created from sphinx13, config changed to use new theme, no further adapations than filenames are done

# Conflicts:
#	sphinx/source/conf.py
2021-09-05 09:01:01 +02:00
Gulliver
dc8644dfe5 updated all configurations with new chapter "organisation.md" 2021-08-31 13:57:37 +02:00
2 changed files with 7 additions and 34 deletions

@ -1 +1 @@
Subproject commit 454118b16c3b08ccda5d36d0048fca5e565610c8 Subproject commit b87f001084cf88ceea537b84b6d8db9521748773

View File

@ -19,9 +19,9 @@ import sys
# -- Project information ----------------------------------------------------- # -- Project information -----------------------------------------------------
project = 'RTFM - Das Handbuch zur WTF eG' project = 'Das Handbuch zur WTF eG'
copyright = '2021, diverse' copyright = '2021, diverse'
author = 'Autorenkollektiv' author = 'evi, helix'
# The full version, including alpha/beta/rc tags # The full version, including alpha/beta/rc tags
release = '0.0.3' release = '0.0.3'
@ -32,8 +32,8 @@ release = '0.0.3'
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones. # ones.
extensions = [ extensions = [
'sphinxcontrib.plantuml', 'sphinxcontrib.plantuml',
'myst_parser' 'myst_parser'
] ]
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.
@ -57,37 +57,10 @@ exclude_patterns = []
# The theme to use for HTML and HTML Help pages. See the documentation for # The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes. # a list of builtin themes.
# #
html_theme = "wtf_coop" html_theme = 'alabaster'
html_theme_path = ["../theme"]
html_logo = "_static/wtf_logo_dark_bg.png"
#html_theme = 'alabaster'
# Add any paths that contain custom static files (such as style sheets) here, # 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, # relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css". # so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static'] html_static_path = ['_static']

# -- Options for LaTex output -------------------------------------------------
latex_elements = {
'papersize': r'a4paper',
'fontpkg': r'''
\usepackage[default]{lato}
%\setmainfont{DejaVu Serif}
%\setsansfont{DejaVu Sans}
%\setmonofont{DejaVu Sans Mono}
''',
'preamble': r'''
\usepackage[titles]{tocloft}
\cftsetpnumwidth {1.25cm}\cftsetrmarg{1.5cm}
\setlength{\cftchapnumwidth}{0.75cm}
\setlength{\cftsecindent}{\cftchapnumwidth}
\setlength{\cftsecnumwidth}{1.25cm}
''',
'fncychap': r'\usepackage[Bjornstrup]{fncychap}',
'printindex': r'\footnotesize\raggedright\printindex',
}
latex_logo = '_static/wtf_coop_header.png'
latex_show_urls = 'footnote'
epub_cover = ('_static/wtf_coop_header.png', 'epub-cover.html')