We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 177a423 commit 893651eCopy full SHA for 893651e
doc/sphinxext/numpy_ext/docscrape_sphinx.py
@@ -132,15 +132,15 @@ def _str_member_list(self, name):
132
out += [''] + autosum
133
134
if others:
135
- maxlen_0 = max(3, max([len(x[0]) for x in others]))
136
- hdr = sixu("=")*maxlen_0 + sixu(" ") + sixu("=")*10
+ maxlen_0 = max(3, max([len(x[0]) + 4 for x in others]))
+ hdr = sixu("=") * maxlen_0 + sixu(" ") + sixu("=") * 10
137
fmt = sixu('%%%ds %%s ') % (maxlen_0,)
138
out += ['', '', hdr]
139
for param, param_type, desc in others:
140
desc = sixu(" ").join(x.strip() for x in desc).strip()
141
if param_type:
142
desc = "(%s) %s" % (param_type, desc)
143
- out += [fmt % (param.strip(), desc)]
+ out += [fmt % ("**" + param.strip() + "**", desc)]
144
out += [hdr]
145
out += ['']
146
return out
0 commit comments