-
Notifications
You must be signed in to change notification settings - Fork 1
/
conf.py
81 lines (76 loc) · 2.59 KB
/
conf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Copyright (C) 2020 Consiglio Nazionale delle Ricerche
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
import docs_italia_theme
# Register the theme as an extension to generate a sitemap.xml
# extensions.append('sphinx_material')
from recommonmark.parser import CommonMarkParser
source_parsers = {
'.md': CommonMarkParser,
}
project = 'Anagrafica CEntralizzata'
release = '1.0.0'
author = u'Consiglio Nazionale delle Ricerche'
github_user='consiglionazionaledellericerche'
show_authors = True
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('index', 'Manuale-ACE.tex', project, author, 'manual'),
]
latex_elements = {
'extraclassoptions': 'openany,oneside'
}
epub_basename = u'Manuale-ACE'
html_theme = "docs_italia_theme"
html_theme_path = [docs_italia_theme.get_html_theme_path()]
html_title = "Anagrafica CEntralizzata"
copyright = "2020 Consiglio Nazionale delle Ricerche"
html_show_sourcelink = False
html_favicon = "favicon.ico"
html_logo = "logo.png"
latex_logo = 'logo.png'
smartquotes = False
language = "it"
# The master toctree document.
master_doc = 'index'
source_suffix = ['.rst','.md']
html_sidebars = {
'**': ['localtoc.html', 'globaltoc.html', 'sourcelink.html', 'searchbox.html']
}
# These folders are copied to the documentation's HTML output
html_static_path = ['_static']
templates_path = ['_templates']
# These paths are either relative to html_static_path
# or fully qualified paths (eg. https://...)
html_css_files = [
'css/extra.css',
'css/hacks.css',
'css/material.css'
]
extensions = [
'docs_italia_theme',
'sphinxcontrib.images',
"sphinx.ext.autodoc",
"numpydoc",
"sphinx.ext.doctest",
"sphinx.ext.extlinks",
"sphinx.ext.intersphinx",
"sphinx.ext.todo",
"sphinx.ext.mathjax",
"sphinx.ext.viewcode",
"nbsphinx",
"sphinx_markdown_tables",
'sphinx.ext.githubpages'
]