Docs: move a layout tweak from postprocessor to generator

This commit is contained in:
neofelis2X
2025-01-27 21:01:57 +01:00
parent 51a92d613e
commit 78c40585d8
2 changed files with 1 additions and 4 deletions

View File

@@ -2893,7 +2893,7 @@ class XMLDocString(object):
pickleItem(desc, self.current_module, self.class_name, 'class')
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
for index, over in enumerate(self.overloads):

View File

@@ -669,9 +669,6 @@ def postProcess(folder, options):
with textfile_open(filename, "rt") as fid:
orig_text = text = fid.read()
text = text.replace('Overloaded Implementations:',
'<strong>Overloaded Implementations:</strong>')
for item in HTML_REPLACE:
if item in ('class', 'py class'):
continue