Skip to content

Commit b8f2703

Browse files
authored
Merge pull request #496 from alexander-schranz/patch-1
Fix requirements sphinxcontrib-phpdomain and use newest rtd theme
2 parents ae2cf62 + f14fee6 commit b8f2703

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

Resources/doc/conf.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# -*- coding: utf-8 -*-
33
#
44

5-
import sys, os
5+
import sys, os, sphinx_rtd_theme
66
from sphinx.highlighting import lexers
77
from pygments.lexers.web import PhpLexer
88

@@ -27,8 +27,9 @@
2727
'sphinx.ext.intersphinx',
2828
'sphinx.ext.coverage',
2929
'sphinx.ext.todo',
30-
'sensio.sphinx.configurationblock',
3130
'sphinxcontrib.phpdomain',
31+
'sensio.sphinx.configurationblock',
32+
'sensio.sphinx.phpcode',
3233
'sphinxcontrib.spelling'
3334
]
3435

@@ -50,7 +51,7 @@
5051

5152
# General information about the project.
5253
project = 'FOSHttpCacheBundle'
53-
copyright = '2014-2017, David de Boer, David Buchmann'
54+
copyright = '2014-2018, David de Boer, David Buchmann'
5455

5556
# The version info for the project you're documenting, acts as replacement for
5657
# |version| and |release|, also used in various other places throughout the
@@ -100,15 +101,15 @@
100101

101102
# The theme to use for HTML and HTML Help pages. See the documentation for
102103
# a list of builtin themes.
103-
html_theme = 'default'
104+
html_theme = 'sphinx_rtd_theme'
104105

105106
# Theme options are theme-specific and customize the look and feel of a theme
106107
# further. For a list of options available for each theme, see the
107108
# documentation.
108109
#html_theme_options = {}
109110

110111
# 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()]
112113

113114
# The name for this set of Sphinx documents. If None, it defaults to
114115
# "<project> v<release> documentation".

Resources/doc/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
git+https://github.com/fabpot/sphinx-php.git
2-
sphinx-rtd-theme==0.1.6
2+
sphinx_rtd_theme
33
sphinxcontrib-spelling
4-
sphinxcontrib.phpdomain
4+
sphinxcontrib-phpdomain
55
pyenchant

0 commit comments

Comments
 (0)