This software converts htmlhelp files generated by Sphinx to optimize them for reading with the wxHtmlHelp browser.
One issue that arose while using Sphinx was that the HTML output generated by the program used more advanced syntax than was able to be rendered by the HtmlHelp browser in wxPython and wxWidgets. This made it difficult to render the documentation within these frameworks, as the HTML output did not always display correctly.
Fortunately, the sphinx_wxoptimize package addresses this issue directly by removing elements that may confuse the wxHtmlHelp system and adding or modifying elements to allow the wxHtmlHelp to render the HTML as closely as possible to the HTML as viewed by a modern browser. This optimization process is completed by running the provided script sphinx-wxoptimize, which can be integrated into your make htmlhelp target.
To integrate the package, simply change the htmlhelp target in your sphinx Makefile by adding the command "sphinx-wxoptimize _build/htmlhelp" after the standard Sphinx command. This will allow the optimization process to automatically reprocess the sphinx-generated htmlhelp files to improve their rendering within the wxPython or wxWidgets wxHtmlHelpController.
Installation of the package is easy, as it can be done through traditional python packaging commands such as downloading the source archive and installing manually, or by using easy_install. I found that using easy_install was particularly convenient, as it will automatically install the required BeautifulSoup library.
Overall, I highly recommend the sphinx_wxoptimize package to anyone looking to improve the rendering of their HTML-based documentation within the wxPython or wxWidgets frameworks. Its automatic integration with Sphinx and ease of use make it an invaluable tool for those looking to optimize their documentation for these frameworks.
Version 1.1: N/A