By default reStructuredText pages display informational system messages (e.g. when you start an ordered list with a number other than 1). I'd like to ask to hide these messages and only show warnings and errors. This can be achieved by replacing:
return reStructuredText.HTML(t,report_level=0)
with:
return reStructuredText.HTML(t,report_level=2)
in pagetypes/rst.py, ZwikiRstPageType?.renderRstIn.
By the way, that line contains an interesting comment (# doesn't work). It is possible that someone tried to disable informational messages by setting report_level to 0 rather than the default 1, however that only made docutils more instead of less chatty.
property change --Sun, 30 Jan 2005 08:51:44 -0800 reply
Category: user-pagetypes => user-editing-rst
folder customisable --Simon Michael, Fri, 25 Feb 2005 18:56:21 -0800 reply
On Thu, 2005-02-24 at 11:02 +0100, Stefan Rank wrote:
>I wrote a patch that allows a per-folder customisable setting of the >reStructuredText report_level.
Thanks. I'm not so fond of adding more options. Can't we just pick a sensible report level ?
folder customisable --Stefan Rank, Mon, 28 Feb 2005 01:17:10 -0800 reply
on 26.02.2005 03:56 Simon Michael said the following: > On Thu, 2005-02-24 at 11:02 +0100, Stefan Rank wrote: > > >>I wrote a patch that allows a per-folder customisable setting of the >>reStructuredText report_level. > > > Thanks. I'm not so fond of adding more options. Can't we just pick a > sensible report level ? >
new patch attached. for the sake of usability I chose 2 (only warnings and more severe) as default, same default as the docutils command-line tools. I personally will set it back to 0 as I like the verbosity...
stefan
fixed in 0.39 (default report_level is 2 - warning) --stefan rank, Wed, 02 Mar 2005 02:13:43 -0800 reply
Status: open => closed