diff --git a/_static/custom.css b/_static/custom.css index ed3b698..b97c780 100644 --- a/_static/custom.css +++ b/_static/custom.css @@ -6,6 +6,21 @@ font-weight: bold; } +.wy-nav-side { + background: #0190c9; + background-image: linear-gradient(#64caf6, #012038); +} + +.wy-side-nav-search { + background: #d9e1f2; +} +.wy-side-nav-search > a, .wy-side-nav-search > div.version { + color: #404040; +} + +.wy-menu-vertical a:hover { + color: #122437; +} .wy-menu-vertical p.caption { color: #b3b3b3; margin-top: 16px; diff --git a/_static/logo.png b/_static/logo.png new file mode 100644 index 0000000..a403aa5 Binary files /dev/null and b/_static/logo.png differ diff --git a/conf.py b/conf.py index 741f436..373e35b 100644 --- a/conf.py +++ b/conf.py @@ -12,9 +12,6 @@ # All configuration values have a default; values that are commented out # serve to show the default. -import sys -import os -import shlex from sphinx.highlighting import lexers from pygments.lexers.web import PhpLexer @@ -158,6 +155,8 @@ 'custom.css', ] +html_logo = "_static/logo.png" + # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied # directly to the root of the documentation. @@ -265,43 +264,6 @@ # If false, no module index is generated. #latex_domain_indices = True - -# -- Options for manual page output --------------------------------------- - -# One entry per manual page. List of tuples -# (source start file, name, description, authors, manual section). -man_pages = [ - (master_doc, 'php-http', u'PHP-HTTP Documentation', - [author], 1) -] - -# If true, show URL addresses after external links. -#man_show_urls = False - - -# -- Options for Texinfo output ------------------------------------------- - -# Grouping the document tree into Texinfo files. List of tuples -# (source start file, target name, title, author, -# dir menu entry, description, category) -texinfo_documents = [ - (master_doc, 'PHP-HTTP', u'PHP-HTTP Documentation', - author, 'PHP-HTTP', 'One line description of project.', - 'Miscellaneous'), -] - -# Documents to append as an appendix to all manuals. -#texinfo_appendices = [] - -# If false, no module index is generated. -#texinfo_domain_indices = True - -# How to display URL addresses: 'footnote', 'no', or 'inline'. -#texinfo_show_urls = 'footnote' - -# If true, do not generate a @detailmenu in the "Top" node's menu. -#texinfo_no_detailmenu = False - rst_epilog = """ .. _PSR-7: https://www.php-fig.org/psr/psr-7 .. _PSR-18: https://www.php-fig.org/psr/psr-18 diff --git a/requirements.txt b/requirements.txt index 7a58018..52e1cae 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,4 @@ -git+https://github.com/fabpot/sphinx-php.git#egg=sphinx-php -sphinx~=4.2.0 -sphinx-rtd-theme==1.2.0 -sphinxcontrib-spelling~=7.2.0 +sphinx +sphinx-rtd-theme +sphinxcontrib-spelling pyenchant -docutils==0.17