Commit db8e3d5
committed
docs(pytest-plugin[types]): Register GitCommitEnvVars for cross-referencing
why: The fixture summary table rendered by sphinx-autodoc-pytest-fixtures
emits :class: cross-references for every fixture's return type. For
GitCommitEnvVars (now a py:data entry after gaining a docstring) to
resolve as a clickable link in that table, it must appear in the
autodata directive that populates the ## Types section — the same
pattern used for CreateRepoFn and CreateRepoPostInitFn.
what:
- Add .. autodata:: libvcs.pytest_plugin.GitCommitEnvVars at the top of
the ## Types block so the type is both documented and reachable as an
anchor from the fixture table link1 parent db71ed3 commit db8e3d5
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
0 commit comments