|
2 | 2 | # -*- coding: utf-8 -*-
|
3 | 3 | #
|
4 | 4 |
|
5 |
| -import sys, os |
| 5 | +import sys, os, sphinx_rtd_theme |
6 | 6 | from sphinx.highlighting import lexers
|
7 | 7 | from pygments.lexers.web import PhpLexer
|
8 | 8 |
|
|
27 | 27 | 'sphinx.ext.intersphinx',
|
28 | 28 | 'sphinx.ext.coverage',
|
29 | 29 | 'sphinx.ext.todo',
|
30 |
| - 'sensio.sphinx.configurationblock', |
31 | 30 | 'sphinxcontrib.phpdomain',
|
| 31 | + 'sensio.sphinx.configurationblock', |
| 32 | + 'sensio.sphinx.phpcode', |
32 | 33 | 'sphinxcontrib.spelling'
|
33 | 34 | ]
|
34 | 35 |
|
|
50 | 51 |
|
51 | 52 | # General information about the project.
|
52 | 53 | project = 'FOSHttpCacheBundle'
|
53 |
| -copyright = '2014-2017, David de Boer, David Buchmann' |
| 54 | +copyright = '2014-2018, David de Boer, David Buchmann' |
54 | 55 |
|
55 | 56 | # The version info for the project you're documenting, acts as replacement for
|
56 | 57 | # |version| and |release|, also used in various other places throughout the
|
|
100 | 101 |
|
101 | 102 | # The theme to use for HTML and HTML Help pages. See the documentation for
|
102 | 103 | # a list of builtin themes.
|
103 |
| -html_theme = 'default' |
| 104 | +html_theme = 'sphinx_rtd_theme' |
104 | 105 |
|
105 | 106 | # Theme options are theme-specific and customize the look and feel of a theme
|
106 | 107 | # further. For a list of options available for each theme, see the
|
107 | 108 | # documentation.
|
108 | 109 | #html_theme_options = {}
|
109 | 110 |
|
110 | 111 | # Add any paths that contain custom themes here, relative to this directory.
|
111 |
| -#html_theme_path = [] |
| 112 | +html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] |
112 | 113 |
|
113 | 114 | # The name for this set of Sphinx documents. If None, it defaults to
|
114 | 115 | # "<project> v<release> documentation".
|
|
0 commit comments