Skip to content

Commit e4b2a07

Browse files
committed
fix readthedocs config
1 parent 88199b9 commit e4b2a07

File tree

4 files changed

+20
-45
lines changed

4 files changed

+20
-45
lines changed

_static/custom.css

+15
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,21 @@
66
font-weight: bold;
77
}
88

9+
.wy-nav-side {
10+
background: #0190c9;
11+
background-image: linear-gradient(#64caf6, #012038);
12+
}
13+
14+
.wy-side-nav-search {
15+
background: #d9e1f2;
16+
}
17+
.wy-side-nav-search > a, .wy-side-nav-search > div.version {
18+
color: #404040;
19+
}
20+
21+
.wy-menu-vertical a:hover {
22+
color: #122437;
23+
}
924
.wy-menu-vertical p.caption {
1025
color: #b3b3b3;
1126
margin-top: 16px;

_static/logo.png

7.75 KB
Loading

conf.py

+2-40
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
# All configuration values have a default; values that are commented out
1313
# serve to show the default.
1414

15-
import sys
16-
import os
17-
import shlex
1815
from sphinx.highlighting import lexers
1916
from pygments.lexers.web import PhpLexer
2017

@@ -158,6 +155,8 @@
158155
'custom.css',
159156
]
160157

158+
html_logo = "_static/logo.png"
159+
161160
# Add any extra paths that contain custom files (such as robots.txt or
162161
# .htaccess) here, relative to this directory. These files are copied
163162
# directly to the root of the documentation.
@@ -265,43 +264,6 @@
265264
# If false, no module index is generated.
266265
#latex_domain_indices = True
267266

268-
269-
# -- Options for manual page output ---------------------------------------
270-
271-
# One entry per manual page. List of tuples
272-
# (source start file, name, description, authors, manual section).
273-
man_pages = [
274-
(master_doc, 'php-http', u'PHP-HTTP Documentation',
275-
[author], 1)
276-
]
277-
278-
# If true, show URL addresses after external links.
279-
#man_show_urls = False
280-
281-
282-
# -- Options for Texinfo output -------------------------------------------
283-
284-
# Grouping the document tree into Texinfo files. List of tuples
285-
# (source start file, target name, title, author,
286-
# dir menu entry, description, category)
287-
texinfo_documents = [
288-
(master_doc, 'PHP-HTTP', u'PHP-HTTP Documentation',
289-
author, 'PHP-HTTP', 'One line description of project.',
290-
'Miscellaneous'),
291-
]
292-
293-
# Documents to append as an appendix to all manuals.
294-
#texinfo_appendices = []
295-
296-
# If false, no module index is generated.
297-
#texinfo_domain_indices = True
298-
299-
# How to display URL addresses: 'footnote', 'no', or 'inline'.
300-
#texinfo_show_urls = 'footnote'
301-
302-
# If true, do not generate a @detailmenu in the "Top" node's menu.
303-
#texinfo_no_detailmenu = False
304-
305267
rst_epilog = """
306268
.. _PSR-7: https://www.php-fig.org/psr/psr-7
307269
.. _PSR-18: https://www.php-fig.org/psr/psr-18

requirements.txt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
git+https://github.com/fabpot/sphinx-php.git#egg=sphinx-php
2-
sphinx~=4.2.0
3-
sphinx-rtd-theme==1.2.0
4-
sphinxcontrib-spelling~=7.2.0
1+
sphinx
2+
sphinx-rtd-theme
3+
sphinxcontrib-spelling
54
pyenchant
6-
docutils==0.17

0 commit comments

Comments
 (0)