File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -71,11 +71,13 @@ sphinx:
71
71
["c:identifier", "uint32_t"],
72
72
["c:identifier", "uint64_t"],
73
73
["c:identifier", "FILE"],
74
+ ["c:identifier", "bool"],
74
75
# This is for the anonymous interval struct embedded in the tsk_tree_t.
75
76
["c:identifier", "tsk_tree_t.@1"],
76
77
["c:type", "int32_t"],
77
78
["c:type", "uint32_t"],
78
79
["c:type", "uint64_t"],
80
+ ["c:type", "bool"],
79
81
# TODO these have been triaged here to make the docs compile, but we should
80
82
# sort them out properly. https://github.com/tskit-dev/tskit/issues/336
81
83
["py:class", "array_like"],
@@ -89,6 +91,18 @@ sphinx:
89
91
["py:class", "dtype=np.int64"],
90
92
]
91
93
94
+ # Added to allow "bool" be used as a :ctype: - this list has to be
95
+ # manually specifed in order to remove "bool" from it.
96
+ c_extra_keywords : [
97
+ " alignas" ,
98
+ " alignof" ,
99
+ " complex" ,
100
+ " imaginary" ,
101
+ " noreturn" ,
102
+ " static_assert" ,
103
+ " thread_local"
104
+ ]
105
+
92
106
autodoc_member_order : bysource
93
107
94
108
# Without this option, autodoc tries to put links for all return types
You can’t perform that action at this time.
0 commit comments