Skip to content

fix readthedocs config #322

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions _static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Binary file added _static/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 2 additions & 40 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
8 changes: 3 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Loading