Skip to content
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
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,32 @@

All notable changes to pytorch_sphinx_theme2 are documented here.

## v0.4.12

### Bug Fixes

- **Search Relevance for Symbol Queries** (PR #252) — Replaced Sphinx's stock `Scorer` so API symbols rank above module stub pages. The Python domain gives every module search priority 0 (worth +15) against +5 for classes and functions, and `performSearch` merges three passes onto one list without normalising their scales. Searching `nn.linear` returned twelve `*.modules.linear` module pages ahead of `torch.nn.Linear` at rank 29; it is now first. Measured over 16 symbol queries against the PyTorch `main` index: MRR 0.488 to 0.969, top-1 4/16 to 15/16.

### Infrastructure

- **GitHub Actions Node 20 Deprecation** (PR #253) — Bumped `actions/checkout`, `actions/setup-python`, `actions/setup-node`, `actions/upload-artifact` and `actions/download-artifact` to their current majors.

---

## v0.4.11

Released to PyPI on 2026-05-19. The version bump itself was never merged, so this entry is recorded retroactively.

### Bug Fixes

- **Dropdown Width Fix** (PR #251) — `sphinx-design` dropdowns are rendered as `.sd-card`, so they inherited the card constraints and were clipped to the card width (500px at mobile breakpoints). `.sd-card.sd-dropdown` now spans the full container width, and the card hover underline pseudo-element is suppressed on dropdowns.

### Documentation

- **MyST Directives Test Page** (PR #251) — Added `docs/test-myst-directives.md` covering the MyST directive set, and enabled the `fieldlist`, `substitution`, `tasklist`, `attrs_inline` and `attrs_block` extensions plus `myst_substitutions` in `docs/conf.py`.

---

## v0.4.10

### Bug Fixes
Expand Down
4 changes: 2 additions & 2 deletions pytorch_sphinx_theme2/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.4.10"
__version__ = "0.4.12"

import json
import os
Expand Down Expand Up @@ -529,7 +529,7 @@ def setup(app):
)

return {
"version": "0.4.10",
"version": "0.4.12",
"parallel_read_safe": True,
"parallel_write_safe": True,
}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
author_email="svekars@meta.com",
url="https://github.com/pytorch/pytorch_sphinx_theme",
license="MIT",
version="0.4.10",
version="0.4.12",
install_requires=[
"pydata-sphinx-theme==0.15.4",
"sphinx>=5.3.0,<=7.2.6",
Expand Down
Loading