From aed67e3c7b580c3cba63a3ff92cab9e45ba033dc Mon Sep 17 00:00:00 2001 From: Andrea Gavana Date: Sun, 1 Apr 2012 21:01:09 +0000 Subject: [PATCH] git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/sphinx/_templates/layout.html | 2 +- sphinxtools/postprocess.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/sphinx/_templates/layout.html b/docs/sphinx/_templates/layout.html index 3ce43652..dcf4cb0f 100644 --- a/docs/sphinx/_templates/layout.html +++ b/docs/sphinx/_templates/layout.html @@ -7,7 +7,7 @@ {% block rootrellink %} -
  • +
  • Home
  • Search
  • Gallery
  • diff --git a/sphinxtools/postprocess.py b/sphinxtools/postprocess.py index f481ecc4..d47ed8ff 100644 --- a/sphinxtools/postprocess.py +++ b/sphinxtools/postprocess.py @@ -148,7 +148,9 @@ def BuildEnumsAndMethods(sphinxDir): text = text.replace('See also\n', '.. seealso:: ') # Avoid Sphinx warnings on wx.TreeCtrl text = text.replace('**( `', '** ( `') - + # Replace EmptyString stuff + text = text.replace('EmptyString', "''") + if text != orig_text: fid = open(input, 'wt') fid.write(text)