-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
conf.py
88 lines (73 loc) · 2.35 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
82
83
84
85
86
87
88
# -*- coding: utf-8 -*-
#
# MetaModels documentation build configuration file.
#
# This file is execfile()d with the current directory set to its
# containing dir.
import sys
import os
import sphinx_rtd_theme
from datetime import date
#sys.path.append(os.path.abspath('_ext/phpdomain'))
#sys.path.append(os.path.abspath('_ext/tk.phpautodoc/src'))
# -- General configuration ------------------------------------------------
extensions = [
'sphinx.ext.intersphinx',
#'sphinxcontrib-phpdomain',
#'sphinxcontrib_phpautodoc',
]
templates_path = ['_templates']
source_suffix = '.rst'
master_doc = 'index'
project = u'MetaModels'
#copyright = u'{:d}, <a href="https://now.metamodel.me/de/ueber-uns/team" title="Team MetaModels" target="_blank">Team MetaModels</a>'.format(date.today().year)
copyright = u'{:d}, Team MetaModels'.format(date.today().year)
version = '2.4'
release = '2.4.0'
language = 'de'
exclude_patterns = ['_build', '_ext']
pygments_style = 'sphinx'
# -- Options for HTML output ----------------------------------------------
html_theme = 'sphinx_rtd_theme'
html_theme_path = ['_themes', ]
html_static_path = ['_static']
html_use_modindex = False
htmlhelp_basename = 'MetaModelsdoc'
html_favicon = '_img/favicon.ico'
html_last_updated_fmt = '%d.%m.%Y'
html_show_sphinx = False
html_show_copyright = True
html_css_files = [
'style.css',
]
html_context = {
'display_github': True,
'github_user': 'MetaModels',
'github_repo': 'docs-de',
'github_version': 'de-2.0/',
}
# -- Options for LaTeX output ---------------------------------------------
latex_elements = {
'papersize': 'a4paper',
'pointsize': '10pt',
'classoptions': ',openany,oneside',
'babel' : '\\usepackage[german]{babel}',
}
latex_documents = [
('index', 'MetaModels.tex', u'MetaModels Documentation',
u'Team MetaModels', 'manual'),
]
# -- Options for manual page output ---------------------------------------
man_pages = [
('index', 'metamodels', u'MetaModels Documentation',
[u'Team MetaModels'], 1)
]
# -- Options for Texinfo output -------------------------------------------
texinfo_documents = [
('index', 'MetaModels', u'MetaModels Dokumentation',
u'Team MetaModels', 'MetaModels', 'Online-Handbuch des Projektes.',
'Miscellaneous'),
]
intersphinx_mapping = {
'dcgeneral': ('http://contao-community-alliance.github.io/dc-general-docs/', None)
}