Commit c938dc9
committed
docs(deps[gp-sphinx]) Preview improved-defaults-reprs branch via uv.sources
why: gp-sphinx PR git-pull/gp-sphinx#36 ships curated parameter and
data-attribute default rendering (source-text reprs, dataclass
factory resolution, long-value truncation, and `:py:class:`-styled
cross-reference links inside default values). Pinning the
gp-sphinx-family deps to that branch via `[tool.uv.sources]` lets
this repo's docs preview the user-visible win before the workspace
release bump propagates the changes via PyPI. After the audit,
libtmux's `<libtmux.constants._DefaultOptionScope object>` defaults
across `Pane._show_option`, `Window._show_option`,
`Session._show_option`, hook dataclasses, etc. drop from 171 ugly
sig-params to 0; `scope=` renders as `DEFAULT_OPTION_SCOPE` linked
to the documented constant.
what:
- Add `[tool.uv.sources]` overrides for gp-sphinx,
sphinx-autodoc-typehints-gp, sphinx-autodoc-api-style, and
sphinx-autodoc-pytest-fixtures, all pointing at the
`improved-defaults-reprs` branch with the appropriate
monorepo subdirectory.
- Regenerate `uv.lock`; uv resolves all transitive workspace
siblings (sphinx-fonts, sphinx-gp-opengraph,
sphinx-ux-autodoc-layout, etc.) from the same commit.
- Revert this commit when gp-sphinx>=0.0.1a18 lands and the
per-package version pins move forward in the usual workspace
bump.1 parent be21aee commit c938dc9
2 files changed
Lines changed: 27 additions & 61 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
109 | 119 | | |
110 | 120 | | |
111 | 121 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments