Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork66
Require Python 3.10 and Sphinx 7.3#221
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
7be97e2
1d36ee8
7c199fa
54c28a5
044d53a
dbda1e8
f2c2dbb
427f7c5
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,9 @@ | ||
from __future__ import annotations | ||
from pathlib import Path | ||
TYPE_CHECKING = False | ||
if TYPE_CHECKING: | ||
from sphinx.application import Sphinx | ||
from sphinx.util.typing import ExtensionMetadata | ||
@@ -19,53 +12,11 @@ | ||
THEME_PATH = Path(__file__).resolve().parent | ||
AA-Turner marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
def setup(app: Sphinx) -> ExtensionMetadata: | ||
app.require_sphinx("7.3") | ||
app.add_html_theme("python_docs_theme", str(THEME_PATH)) | ||
return { | ||
"version": __version__, | ||
"parallel_read_safe": True, | ||
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
[theme] | ||
inherit = "default" | ||
stylesheets = [ | ||
"classic.css", | ||
"pydoctheme.css", | ||
] | ||
pygments_style = { default = "default", dark = "monokai" } | ||
[options] | ||
bodyfont = "-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif" | ||
headfont = "-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif" | ||
footerbgcolor = "white" | ||
footertextcolor = "#555555" | ||
relbarbgcolor = "white" | ||
relbartextcolor = "#666666" | ||
relbarlinkcolor = "#444444" | ||
sidebarbgcolor = "white" | ||
sidebartextcolor = "#444444" | ||
sidebarlinkcolor = "#444444" | ||
sidebarbtncolor = "#cccccc" | ||
bgcolor = "white" | ||
textcolor = "#222222" | ||
linkcolor = "#0090c0" | ||
visitedlinkcolor = "#00608f" | ||
headtextcolor = "#1a1a1a" | ||
headbgcolor = "white" | ||
headlinkcolor = "#aaaaaa" | ||
codebgcolor = "#eeffcc" | ||
codetextcolor = "#333333" | ||
hosted_on = "" | ||
issues_url = "" | ||
license_url = "" | ||
root_name = "Python" | ||
root_url = "https://www.python.org/" | ||
root_icon = "py.svg" | ||
root_icon_alt_text = "Python logo" | ||
root_include_title = "True" | ||
copyright_url = "" |
Uh oh!
There was an error while loading.Please reload this page.