mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Use non-breaking spaces to separate type and parameter name.
This commit is contained in:
@@ -121,7 +121,8 @@ class CObject(ObjectDescription):
|
||||
self._parse_type(param, arg)
|
||||
else:
|
||||
self._parse_type(param, ctype)
|
||||
param += nodes.emphasis(' '+argname, ' '+argname)
|
||||
# separate by non-breaking space in the output
|
||||
param += nodes.emphasis(' '+argname, u'\xa0'+argname)
|
||||
paramlist += param
|
||||
signode += paramlist
|
||||
if const:
|
||||
|
||||
Reference in New Issue
Block a user