Skip to content

Commit 9932c3a

Browse files
committed
fix readthedocs config
1 parent 88199b9 commit 9932c3a

File tree

2 files changed

+2
-43
lines changed

2 files changed

+2
-43
lines changed

conf.py

-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

@@ -265,43 +262,6 @@
265262
# If false, no module index is generated.
266263
#latex_domain_indices = True
267264

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-
305265
rst_epilog = """
306266
.. _PSR-7: https://www.php-fig.org/psr/psr-7
307267
.. _PSR-18: https://www.php-fig.org/psr/psr-18

requirements.txt

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

0 commit comments

Comments
 (0)