Commit 13292b1
committed
Fix DeviceProperties documentation by using cyclass.rst template
DeviceProperties is a Cython cdef class, but was being documented
without specifying the cyclass.rst template. This caused Sphinx to
use the default class template which uses autoproperty, which doesn't
work correctly with Cython extension types.
The cyclass.rst template uses autoattribute instead, which properly
documents the properties of Cython classes.
Fixes #12151 parent 2ed3f98 commit 13292b1
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
0 commit comments