mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 09:40:07 +01:00
Use just the tail of the fullname on the summary pages
This commit is contained in:
@@ -454,7 +454,7 @@ def makeModuleIndex(sphinxDir, file):
|
||||
out = classes[cls]
|
||||
if '=====' in out:
|
||||
out = ''
|
||||
text += '%-80s %s\n' % (':ref:`%s`' % wx2Sphinx(cls)[1], out)
|
||||
text += '%-80s %s\n' % (':ref:`~%s`' % wx2Sphinx(cls)[1], out)
|
||||
|
||||
text += 80*'=' + ' ' + 80*'=' + '\n\n'
|
||||
|
||||
@@ -486,7 +486,7 @@ def makeModuleIndex(sphinxDir, file):
|
||||
for func_name in functions:
|
||||
fullname = imm.get_fullname(func_name)
|
||||
doc = function_summaries.get(fullname, '')
|
||||
text += '%-80s %s\n' % (':func:`%s`' % fullname, doc)
|
||||
text += '%-80s %s\n' % (':func:`~%s`' % fullname, doc)
|
||||
|
||||
text += 80 * '=' + ' ' + 80 * '=' + '\n\n'
|
||||
contents.append(module + '.functions')
|
||||
|
||||
Reference in New Issue
Block a user