Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Merge branch 'master' into drop-reqs
# Conflicts:
#	python_docs_theme/__init__.py
#	python_docs_theme/static/pydoctheme.css
  • Loading branch information
AA-Turner committed Feb 4, 2025
commit f2c2dbbaf83de39f17ea7a459614096c40db4289
7 changes: 5 additions & 2 deletions python_docs_theme/__init__.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
from __future__ import annotations

from pathlib import Path
from typing import TYPE_CHECKING

TYPE_CHECKING = False
if TYPE_CHECKING:
from sphinx.application import Sphinx
from sphinx.util.typing import ExtensionMetadata

__version__ = "2025.2"

THEME_PATH = Path(__file__).resolve().parent


def setup(app: Sphinx) -> ExtensionMetadata:
app.require_sphinx("7.3")

app.add_html_theme("python_docs_theme", THEME_PATH)

return {
"version": "2024.12",
"version": __version__,
"parallel_read_safe": True,
"parallel_write_safe": True,
}
3 changes: 3 additions & 0 deletions python_docs_theme/static/pydoctheme.css
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ div.sphinxsidebar input[type='text'] {
}

#sidebarbutton {
display: flex;
justify-content: center;
align-items: center;
width: 12px;
min-width: 12px;
border-radius: 0 5px 5px 0;
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.