Commit 2eff6b8
committed
docs(AGENTS[architecture]): require package CSS self-containment
why: The STATE_DEPRECATED fixture-muting regression on this branch
was a stealth cross-package CSS dep — sphinx-autodoc-pytest-fixtures
emitted gp-sphinx-badge--state-deprecated on fixture containers, but
the muting rule only existed in sphinx-autodoc-api-style's CSS.
Standalone installs of pytest-fixtures lost the visual signal
silently. Writing the rule down prevents the next cross-package
selector from slipping in unnoticed.
what:
- Add a "Package CSS self-containment" subsection under Code
Architecture. States the principle (each package's CSS styles
every class that package's Python emits) and draws the
reuse-vs-dependence distinction so shared classes like
gp-sphinx-badge stay legitimate while sibling-package CSS
dependencies do not.1 parent de16431 commit 2eff6b8
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
144 | 155 | | |
145 | 156 | | |
146 | 157 | | |
| |||
0 commit comments