diff options
author | Nicolas Lœuillet <nicolas@loeuillet.org> | 2016-08-24 09:10:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-24 09:10:55 +0200 |
commit | cc654b427fc6f361f317c4d3dda9dd712897b6cb (patch) | |
tree | e8443c0ae72a450286de8d6ccd030650feec661a /docs/de/conf.py | |
parent | 2f9927404d620f719d4b30d9205ff43c0238e6a1 (diff) | |
parent | 18545173a6358805e3b7dde842d77aa3aded4f6c (diff) | |
download | wallabag-cc654b427fc6f361f317c4d3dda9dd712897b6cb.tar.gz wallabag-cc654b427fc6f361f317c4d3dda9dd712897b6cb.tar.zst wallabag-cc654b427fc6f361f317c4d3dda9dd712897b6cb.zip |
Merge pull request #2235 from wallabag/german-doc-config
Add configuration for german documentation
Diffstat (limited to 'docs/de/conf.py')
-rw-r--r-- | docs/de/conf.py | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/docs/de/conf.py b/docs/de/conf.py new file mode 100644 index 00000000..8f2d130d --- /dev/null +++ b/docs/de/conf.py | |||
@@ -0,0 +1,55 @@ | |||
1 | # -*- coding: utf-8 -*- | ||
2 | # | ||
3 | # wallabag documentation build configuration file, created by | ||
4 | # sphinx-quickstart on Fri Oct 16 06:47:23 2015. | ||
5 | |||
6 | import sys | ||
7 | import os | ||
8 | |||
9 | extensions = [] | ||
10 | templates_path = ['_templates'] | ||
11 | source_suffix = '.rst' | ||
12 | master_doc = 'index' | ||
13 | project = u'wallabag-fr' | ||
14 | copyright = u'2013-2016, Nicolas Lœuillet - MIT Licence' | ||
15 | version = '2.0.0' | ||
16 | release = version | ||
17 | exclude_patterns = ['_build'] | ||
18 | pygments_style = 'sphinx' | ||
19 | html_theme = 'default' | ||
20 | html_static_path = ['_static'] | ||
21 | htmlhelp_basename = 'wallabagdedoc' | ||
22 | |||
23 | latex_elements = { | ||
24 | } | ||
25 | |||
26 | latex_documents = [ | ||
27 | ('index', 'wallabag-de.tex', u'wallabag Documentation', | ||
28 | u'Nicolas Lœuillet', 'manual'), | ||
29 | ] | ||
30 | |||
31 | man_pages = [ | ||
32 | ('index', 'wallabagde', u'wallabag Documentation', | ||
33 | [u'Nicolas Lœuillet'], 1) | ||
34 | ] | ||
35 | |||
36 | texinfo_documents = [ | ||
37 | ('index', 'wallabag', u'wallabag Documentation', | ||
38 | u'Nicolas Lœuillet', 'wallabag', 'wallabag is an opensource read-it-later.', | ||
39 | 'Miscellaneous'), | ||
40 | ] | ||
41 | |||
42 | ##### Guzzle sphinx theme | ||
43 | |||
44 | import guzzle_sphinx_theme | ||
45 | html_translator_class = 'guzzle_sphinx_theme.HTMLTranslator' | ||
46 | html_theme_path = guzzle_sphinx_theme.html_theme_path() | ||
47 | html_theme = 'guzzle_sphinx_theme' | ||
48 | |||
49 | # Custom sidebar templates, maps document names to template names. | ||
50 | html_sidebars = { | ||
51 | '**': ['logo-text.html', 'globaltoc.html', 'searchbox.html'] | ||
52 | } | ||
53 | |||
54 | # Register the theme as an extension to generate a sitemap.xml | ||
55 | extensions.append("guzzle_sphinx_theme") | ||