aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/pt-br/conf.py
diff options
context:
space:
mode:
authorNicolas Lœuillet <nicolas@loeuillet.org>2016-01-20 13:00:43 +0100
committerNicolas Lœuillet <nicolas@loeuillet.org>2016-01-20 13:00:43 +0100
commitd481f42b7d383eb6211d1d3049d1a2c8288d9edb (patch)
tree0c7adf5daefa6cddf4439d3bc930ee6a719b6917 /docs/pt-br/conf.py
parent3a59d13fd182748c11c09d77c02ea25c2e90f145 (diff)
parentacc0160c29f1e67ad6e85b1dbf28dcffb0c04ef0 (diff)
downloadwallabag-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.py55
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
6import sys
7import os
8
9extensions = []
10templates_path = ['_templates']
11source_suffix = '.rst'
12master_doc = 'index'
13project = u'wallabag-pt'
14copyright = u'2013-2016, Nicolas Lœuillet - MIT Licence'
15version = '2.0.0'
16release = version
17exclude_patterns = ['_build']
18pygments_style = 'sphinx'
19html_theme = 'default'
20html_static_path = ['_static']
21htmlhelp_basename = 'wallabagfrdoc'
22
23latex_elements = {
24}
25
26latex_documents = [
27 ('index', 'wallabag-pt.tex', u'wallabag Documentation',
28 u'Nicolas Lœuillet', 'manual'),
29]
30
31man_pages = [
32 ('index', 'wallabagpt', u'wallabag Documentation',
33 [u'Nicolas Lœuillet'], 1)
34]
35
36texinfo_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
44import guzzle_sphinx_theme
45html_translator_class = 'guzzle_sphinx_theme.HTMLTranslator'
46html_theme_path = guzzle_sphinx_theme.html_theme_path()
47html_theme = 'guzzle_sphinx_theme'
48
49# Custom sidebar templates, maps document names to template names.
50html_sidebars = {
51 '**': ['logo-text.html', 'globaltoc.html', 'searchbox.html']
52}
53
54# Register the theme as an extension to generate a sitemap.xml
55extensions.append("guzzle_sphinx_theme")