1# -*- coding: utf-8 -*-
2
3import sys, os
4
5# -- General configuration -----------------------------------------------------
6
7# Add any Sphinx extension module names here, as strings. They can be extensions
8# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
9extensions = ['sensio.sphinx.refinclude', 'sensio.sphinx.configurationblock', 'sensio.sphinx.phpcode']
10
11# Add any paths that contain templates here, relative to this directory.
12templates_path = ['_templates']
13
14# The suffix of source filenames.
15source_suffix = '.rst'
16
17# The master toctree document.
18master_doc = 'index'
19
20# List of patterns, relative to source directory, that match files and
21# directories to ignore when looking for source files.
22exclude_patterns = ['_build']
23
24# The name of the Pygments (syntax highlighting) style to use.
25pygments_style = 'sphinx'
26
27# This will be used when using the shorthand notation
28highlight_language = 'php'
29
30# -- Options for HTML output ---------------------------------------------------
31import sphinx_rtd_theme
32
33# The theme to use for HTML and HTML Help pages.  See the documentation for
34# a list of builtin themes.
35html_theme = 'sphinx_rtd_theme'
36
37# Add any paths that contain custom themes here, relative to this directory.
38html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
39
40# Output file base name for HTML help builder.
41htmlhelp_basename = 'doc'
42