@@ -26,7 +26,6 @@ def __init__(self, docstring, config=None):
26
26
27
27
def load_config (self , config ):
28
28
self .use_plots = config .get ("use_plots" , False )
29
- self .use_blockquotes = config .get ("use_blockquotes" , False )
30
29
self .class_members_toctree = config .get ("class_members_toctree" , True )
31
30
self .attributes_as_param_list = config .get ("attributes_as_param_list" , True )
32
31
self .xref_param_type = config .get ("xref_param_type" , False )
@@ -84,8 +83,6 @@ def _str_returns(self, name="Returns"):
84
83
if not param .desc :
85
84
out += self ._str_indent ([".." ], 8 )
86
85
else :
87
- if self .use_blockquotes :
88
- out += ["" ]
89
86
out += self ._str_indent (param .desc , 8 )
90
87
out += ["" ]
91
88
return out
@@ -180,8 +177,7 @@ def _str_param_list(self, name, fake_autosummary=False):
180
177
"""Generate RST for a listing of parameters or similar
181
178
182
179
Parameter names are displayed as bold text, and descriptions
183
- are in blockquotes. Descriptions may therefore contain block
184
- markup as well.
180
+ are in definition lists.
185
181
186
182
Parameters
187
183
----------
@@ -217,9 +213,7 @@ def _str_param_list(self, name, fake_autosummary=False):
217
213
parts .append (param_type )
218
214
out += self ._str_indent ([" : " .join (parts )])
219
215
220
- if desc and self .use_blockquotes :
221
- out += ["" ]
222
- elif not desc :
216
+ if not desc :
223
217
# empty definition
224
218
desc = [".." ]
225
219
out += self ._str_indent (desc , 8 )
0 commit comments