diff options
author | Nicolas Lœuillet <nicolas@loeuillet.org> | 2016-01-20 13:00:43 +0100 |
---|---|---|
committer | Nicolas Lœuillet <nicolas@loeuillet.org> | 2016-01-20 13:00:43 +0100 |
commit | d481f42b7d383eb6211d1d3049d1a2c8288d9edb (patch) | |
tree | 0c7adf5daefa6cddf4439d3bc930ee6a719b6917 /docs/pt-br/conf.py | |
parent | 3a59d13fd182748c11c09d77c02ea25c2e90f145 (diff) | |
parent | acc0160c29f1e67ad6e85b1dbf28dcffb0c04ef0 (diff) | |
download | wallabag-d481f42b7d383eb6211d1d3049d1a2c8288d9edb.tar.gz wallabag-d481f42b7d383eb6211d1d3049d1a2c8288d9edb.tar.zst wallabag-d481f42b7d383eb6211d1d3049d1a2c8288d9edb.zip |
Merge pull request #1599 from wallabag/v2-fix-pt-documentation
Add configuration for portuguese documentation
Diffstat (limited to 'docs/pt-br/conf.py')
-rw-r--r-- | docs/pt-br/conf.py | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/docs/pt-br/conf.py b/docs/pt-br/conf.py new file mode 100644 index 00000000..582ad114 --- /dev/null +++ b/docs/pt-br/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-pt' | ||
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 = 'wallabagfrdoc' | ||
22 | |||
23 | latex_elements = { | ||
24 | } | ||
25 | |||
26 | latex_documents = [ | ||
27 | ('index', 'wallabag-pt.tex', u'wallabag Documentation', | ||
28 | u'Nicolas Lœuillet', 'manual'), | ||
29 | ] | ||
30 | |||
31 | man_pages = [ | ||
32 | ('index', 'wallabagpt', 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") | ||