mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 01:30:07 +01:00
Phoenix: few corrections to the overviews; Added some more contributed snippets; Fixed some more converted snippets; Added the correct interlink references in the etg files; better handling of the Doxygen stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -378,7 +378,8 @@ def ConvertToPython(text):
|
||||
newlines.append(newline)
|
||||
|
||||
formatted = "\n".join(newlines)
|
||||
formatted = formatted.replace('\\', '\\\\')
|
||||
formatted = formatted.replace('\\', '\\\\')
|
||||
|
||||
return formatted
|
||||
|
||||
|
||||
@@ -764,7 +765,7 @@ def FormatContributedSnippets(kind, contrib_snippets):
|
||||
if kind == 'class':
|
||||
text = TEMPLATE_CONTRIB
|
||||
else:
|
||||
text = '\n' + spacer + '**Contributed Examples:**\n\n'
|
||||
text = '\n' + spacer + '|contributed| **Contributed Examples:**\n\n'
|
||||
|
||||
for indx, snippet in enumerate(contrib_snippets):
|
||||
fid = open(snippet, 'rt')
|
||||
|
||||
Reference in New Issue
Block a user