You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two independent low-risk nav cleanups:
1. Shorten 3 top-nav labels via toctree entry overrides in
docs/index.rst. "Getting Started: Measuring Campaign Impact",
"Which Analysis Method Fits Your Problem?", and "Choosing an
Estimator" all wrap to 2 lines at 1440x900 desktop, doubling
header height from ~64px to 128px (14% of viewport).
Use Sphinx's `Label <target>` toctree syntax to render shorter
labels in the nav while preserving each page's full H1 title:
- Practitioner Guide (was: Getting Started: Measuring Campaign Impact)
- Decision Tree (was: Which Analysis Method Fits Your Problem?)
- Estimator Guide (was: Choosing an Estimator)
Verified locally: header height drops from 128px to 64px;
page H1s unchanged; mobile drawer entries 1, 2, 4 reflect the
new labels.
2. Bump pydata-sphinx-theme floor >=0.15 -> >=0.16.1 across
pyproject.toml, .readthedocs.yaml, and
.github/workflows/docs-tests.yml. v0.16+ shipped accessibility
improvements. RTD attribution shows 0.17.1 already deployed,
but 0.16.1 is the highest floor we can land while keeping
Python 3.9 compatibility (0.17.1 requires Python>=3.10, which
would conflict with project's requires-python>=3.9).
On Python 3.11 (RTD/CI) pip resolves to 0.17.1 as before;
on Python 3.9 (local dev) 0.16.1 installs.
Verified locally: `make html SPHINXOPTS="-W"` builds clean
with pydata-sphinx-theme 0.16.1 installed.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments