forked from Sylius/Sylius
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.py
41 lines (40 loc) · 1.09 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
# -*- coding: utf-8 -*-
import sys, os
from sphinx.highlighting import lexers
from pygments.lexers.web import PhpLexer
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.doctest',
'sphinx.ext.todo',
'sphinx.ext.coverage',
'sphinx.ext.imgmath',
'sphinx.ext.ifconfig',
'sphinx_copybutton',
'sphinxcontrib-redirects',
'ultimatereplacement'
]
source_suffix = '.rst'
master_doc = 'index'
project = 'Sylius'
copyright = u'2011-2024, Sylius Sp. z o.o.'
version = ''
release = ''
exclude_patterns = ['_includes/*.rst']
html_theme = 'sylius_rtd_theme'
html_theme_path = ["_themes"]
html_favicon = 'favicon.ico'
htmlhelp_basename = 'Syliusdoc'
man_pages = [
('index', 'sylius', u'Sylius Documentation',
[u'Sylius Sp. z o.o.'], 1)
]
sys.path.append(os.path.abspath('_exts'))
lexers['php'] = PhpLexer(startinline=True)
lexers['php-annotations'] = PhpLexer(startinline=True)
ultimate_replacements = {
"{future_version}": "1.13",
"{current_version}": "1.12",
"{lowest_bugfix_version}": "1.12",
"{security_patch_version}": "1.11"
}
redirects_file = 'redirection_map'