Repository navigation
Commit 7582674
committed
Make de api reference reproducible
The API reference uses `:special-members:`, so autodoc also documents
the `__dict__` of the `TypedDict` classes in `git.types`. Its repr is
a `mappingproxy` containing `frozenset` objects, whose iteration
order depends on string hash randomization. As a result
`reference.html` differs from one build to another.
Exclude `__dict__` and `__weakref__` by default. They only hold the
class namespace and carry no useful documentation. The
`__required_keys__` and similar attributes are still documented,
since Sphinx sorts sets when it renders them on their own.
The original issue was reported https://bugs.debian.org/11001491 parent 5bc2560 commit 7582674
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
114 | 119 | | |
115 | 120 | | |
116 | 121 | | |
| |||
0 commit comments