mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-15 17:20:07 +01:00
Docs: move a layout tweak from postprocessor to generator
This commit is contained in:
@@ -2893,7 +2893,7 @@ class XMLDocString(object):
|
|||||||
pickleItem(desc, self.current_module, self.class_name, 'class')
|
pickleItem(desc, self.current_module, self.class_name, 'class')
|
||||||
|
|
||||||
if self.overloads:
|
if self.overloads:
|
||||||
docstrings += '\n\n%s|overload| Overloaded Implementations:\n\n'%spacer
|
docstrings += '\n\n%s|overload| **Overloaded Implementations:**\n\n'%spacer
|
||||||
docstrings += '%s:html:`<hr class="overloadsep" /><br />`\n\n'%spacer
|
docstrings += '%s:html:`<hr class="overloadsep" /><br />`\n\n'%spacer
|
||||||
|
|
||||||
for index, over in enumerate(self.overloads):
|
for index, over in enumerate(self.overloads):
|
||||||
|
|||||||
@@ -669,9 +669,6 @@ def postProcess(folder, options):
|
|||||||
with textfile_open(filename, "rt") as fid:
|
with textfile_open(filename, "rt") as fid:
|
||||||
orig_text = text = fid.read()
|
orig_text = text = fid.read()
|
||||||
|
|
||||||
text = text.replace('Overloaded Implementations:',
|
|
||||||
'<strong>Overloaded Implementations:</strong>')
|
|
||||||
|
|
||||||
for item in HTML_REPLACE:
|
for item in HTML_REPLACE:
|
||||||
if item in ('class', 'py class'):
|
if item in ('class', 'py class'):
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user