From: Guenter M. <mi...@us...> - 2015-08-11 09:49:54
|
On 2015-08-11, Vinicius Kwiecien Ruoso wrote: > Hi all, > I'm looking for a way to read a reST file with non-standard > directives/roles and suppress its error/warning messages. The ideia is > to not generate error **only** when those non-existing > directives/roles appear, but continue to report errors about other > matters. AFAIK, this is not possible without changes/additions. The simplest method would be to add/register "mock" directives in a custom wrapper, using either a sensible fallback from the existing directives or "mock" directive functions. See http://docutils.sourceforge.net/docs/howto/rst-directives.html Günter |