doc: rst_prolog to for error reporting