Commit 40abbf3
committed
docs(AGENTS): Add doctest exceptions for Sphinx extension patterns
Document when doctests are NOT required:
- Sphinx/docutils visit_*/depart_* methods (tested via integration)
- Sphinx setup() functions (entry points not testable in isolation)
- Complex recursive traversal functions (extract helpers instead)
This clarifies the doctest policy for docs/_ext/ Sphinx extensions
where visitor patterns don't have doctests across docutils, Sphinx,
or CPython's ast.NodeVisitor.1 parent 6d44707 commit 40abbf3
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
159 | 167 | | |
160 | 168 | | |
161 | 169 | | |
| |||
0 commit comments