Re: [Rest2web-develop] strip comments
Brought to you by:
mjfoord
From: Michael F. <fuz...@vo...> - 2008-11-04 15:15:31
|
Andreas Poisel wrote: > Hi all! > > Is there an easy way to remove ReST comments from the resulting HTML > code (just like the Publisher-setting 'strip-comments' does)? > > Or is there even a generic way to add values to ``settings_overrides`` > in docutil's Publisher? > > After a (quick) look at ``restutils.html_parts()`` and its callers, I > can't find a possibility to accomplish that without changing the source > code. > > Am I missing something obvious? > > Do you mean without changing rest2web sourcecode or docutils sourcecode? Is it something you can set in your default docutils config file? All the best, Michael > Thank you! > -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/blog |