summaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-08-29 17:51:49 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-08-29 17:51:49 +0200
commitf45cf4a406849fd159bbba41a4f9539fe14cf943 (patch)
treedc57a1c3b71798ee2fcb8b92f7a577e1a4117081 /conf.py
parent14d13f43ef2f6c979509fc0ab41b2270730aada6 (diff)
downloaddocs-f45cf4a406849fd159bbba41a4f9539fe14cf943.tar.gz
docs-f45cf4a406849fd159bbba41a4f9539fe14cf943.tar.bz2
docs-f45cf4a406849fd159bbba41a4f9539fe14cf943.zip
format code with yapf
Diffstat (limited to 'conf.py')
-rw-r--r--conf.py80
1 files changed, 52 insertions, 28 deletions
diff --git a/conf.py b/conf.py
index 3fd2aa2..f1319bb 100644
--- a/conf.py
+++ b/conf.py
@@ -121,7 +121,6 @@ pygments_style = 'sphinx'
# If true, keep warnings as "system message" paragraphs in the built documents.
#keep_warnings = False
-
# -- Options for HTML output ----------------------------------------------
import taler_sphinx_theme
@@ -132,10 +131,7 @@ extensions.append("taler_sphinx_theme")
html_theme = 'taler_sphinx_theme'
html_theme_path = taler_sphinx_theme.html_theme_path()
-html_sidebars = {
- '**': ['logo-text.html', 'globaltoc.html', 'searchbox.html']
-}
-
+html_sidebars = {'**': ['logo-text.html', 'globaltoc.html', 'searchbox.html']}
html_theme_options = {
# Set the name of the project to appear in the sidebar
@@ -217,25 +213,40 @@ html_show_sphinx = False
# -- Options for LaTeX output ---------------------------------------------
latex_elements = {
-# The paper size ('letterpaper' or 'a4paper').
-#'papersize': 'letterpaper',
+ # The paper size ('letterpaper' or 'a4paper').
+ #'papersize': 'letterpaper',
-# The font size ('10pt', '11pt' or '12pt').
-#'pointsize': '10pt',
+ # The font size ('10pt', '11pt' or '12pt').
+ #'pointsize': '10pt',
-# Additional stuff for the LaTeX preamble.
-#'preamble': '',
+ # Additional stuff for the LaTeX preamble.
+ #'preamble': '',
}
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
- ('taler-exchange-manual', 'taler-exchange-manual.tex', 'GNU Taler Exchange Manual', 'GNU Taler team', 'manual'),
- ('taler-merchant-manual', 'taler-merchant-manual.tex', 'GNU Taler Merchant Manual', 'GNU Taler team', 'manual'),
- ('taler-merchant-api-tutorial', 'taler-merchant-api-tutorial.tex', 'GNU Taler Merchant API Tutorial', 'GNU Taler team', 'manual'),
- ('taler-bank-manual', 'taler-bank-manual.tex', 'GNU Taler Bank Manual', 'GNU Taler team', 'manual'),
- ('taler-backoffice-manual', 'taler-backoffice-manual.tex', 'GNU Taler Back Office Manual', 'GNU Taler team', 'manual'),
+ (
+ 'taler-exchange-manual', 'taler-exchange-manual.tex',
+ 'GNU Taler Exchange Manual', 'GNU Taler team', 'manual'
+ ),
+ (
+ 'taler-merchant-manual', 'taler-merchant-manual.tex',
+ 'GNU Taler Merchant Manual', 'GNU Taler team', 'manual'
+ ),
+ (
+ 'taler-merchant-api-tutorial', 'taler-merchant-api-tutorial.tex',
+ 'GNU Taler Merchant API Tutorial', 'GNU Taler team', 'manual'
+ ),
+ (
+ 'taler-bank-manual', 'taler-bank-manual.tex', 'GNU Taler Bank Manual',
+ 'GNU Taler team', 'manual'
+ ),
+ (
+ 'taler-backoffice-manual', 'taler-backoffice-manual.tex',
+ 'GNU Taler Back Office Manual', 'GNU Taler team', 'manual'
+ ),
]
# The name of an image file (relative to this directory) to place at the top of
@@ -258,32 +269,45 @@ latex_appendices = ["fdl-1.3"]
# If false, no module index is generated.
#latex_domain_indices = True
-
# -- Options for manual page output ---------------------------------------
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
-man_pages = [
- ('index', 'taler', u'GNU Taler Documentation',
- [u'F. Dold, B. Muller, S. H. Totakura, C. Grothoff'],
- 1)
-]
+man_pages = [(
+ 'index', 'taler', u'GNU Taler Documentation',
+ [u'F. Dold, B. Muller, S. H. Totakura, C. Grothoff'], 1
+)]
# If true, show URL addresses after external links.
#man_show_urls = False
-
# -- Options for Texinfo output -------------------------------------------
# Grouping the document tree into Texinfo files. List of tuples
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
- ("taler-exchange-manual", "taler-exchange", "Taler Exchange Manual", "GNU Taler team", "MENU ENTRY", "DESCRIPTION", "CATEGORY"),
- ("taler-merchant-manual", "taler-merchant", "Taler Merchant Manual", "GNU Taler team", "MENU ENTRY", "DESCRIPTION", "CATEGORY"),
- ("taler-merchant-api-tutorial", "taler-merchant-api-tutorial", "Taler Merchant API Tutorial", "GNU Taler team", "MENU ENTRY", "DESCRIPTION", "CATEGORY"),
- ("taler-bank-manual", "taler-bank", "Taler Bank Manual", "GNU Taler team", "MENU ENTRY", "DESCRIPTION", "CATEGORY"),
- ("onboarding", "onboarding", "Taler Onboarding Manual", "GNU Taler team", "MENU ENTRY", "DESCRIPTION", "CATEGORY"),
+ (
+ "taler-exchange-manual", "taler-exchange", "Taler Exchange Manual",
+ "GNU Taler team", "MENU ENTRY", "DESCRIPTION", "CATEGORY"
+ ),
+ (
+ "taler-merchant-manual", "taler-merchant", "Taler Merchant Manual",
+ "GNU Taler team", "MENU ENTRY", "DESCRIPTION", "CATEGORY"
+ ),
+ (
+ "taler-merchant-api-tutorial", "taler-merchant-api-tutorial",
+ "Taler Merchant API Tutorial", "GNU Taler team", "MENU ENTRY",
+ "DESCRIPTION", "CATEGORY"
+ ),
+ (
+ "taler-bank-manual", "taler-bank", "Taler Bank Manual",
+ "GNU Taler team", "MENU ENTRY", "DESCRIPTION", "CATEGORY"
+ ),
+ (
+ "onboarding", "onboarding", "Taler Onboarding Manual", "GNU Taler team",
+ "MENU ENTRY", "DESCRIPTION", "CATEGORY"
+ ),
]
# Documents to append as an appendix to all manuals.