Sylius/docs/conf.py
Łukasz Chruściel 192d679541
Merge branch '1.6' into 1.7
* 1.6:
  Remove refinclude
2020-03-02 12:05:49 +01:00

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'