mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-15 09:30:58 +00:00
37 lines
982 B
Python
37 lines
982 B
Python
# -*- 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',
|
|
'sensio.sphinx.configurationblock',
|
|
'sensio.sphinx.phpcode',
|
|
'sphinx_copybutton',
|
|
'sphinxcontrib-redirects',
|
|
]
|
|
source_suffix = '.rst'
|
|
master_doc = 'index'
|
|
project = 'Sylius'
|
|
copyright = u'2011-2020, Paweł Jędrzejewski'
|
|
version = ''
|
|
release = ''
|
|
exclude_patterns = ['_includes/*.rst']
|
|
html_theme = 'sylius_rtd_theme'
|
|
html_theme_path = ["_themes"]
|
|
htmlhelp_basename = 'Syliusdoc'
|
|
man_pages = [
|
|
('index', 'sylius', u'Sylius Documentation',
|
|
[u'Paweł Jędrzejewski'], 1)
|
|
]
|
|
sys.path.append(os.path.abspath('_exts'))
|
|
lexers['php'] = PhpLexer(startinline=True)
|
|
lexers['php-annotations'] = PhpLexer(startinline=True)
|
|
rst_epilog = """
|
|
"""
|
|
redirects_file = 'redirection_map'
|