guidedoc_rst::messages ====================== .. rust:module:: guidedoc_rst::messages :synopsis: The reader's messages. The reader's messages. They follow Docutils' severity intent: problems Docutils reports at level 3 or above are errors, level 2 problems are warnings. ``{0}`` and ``{1}`` name the arguments, usually quoted source spans. .. rubric:: Constants .. rust:const:: pub const SECTION_LEVEL: Message Inconsistent section level. .. rust:const:: pub const SECTION_UNDERLINE_SHORT: Message Title underline too short. .. rust:const:: pub const SECTION_OVERLINE_SHORT: Message Title overline too short. .. rust:const:: pub const SECTION_UNEXPECTED: Message Section title in a body element. .. rust:const:: pub const SECTION_INCOMPLETE: Message Incomplete section title. .. rust:const:: pub const SECTION_NO_UNDERLINE: Message Missing title underline. .. rust:const:: pub const SECTION_MISMATCH: Message Title overline and underline differ. .. rust:const:: pub const SECTION_INVALID: Message Invalid title or transition. .. rust:const:: pub const TRANSITION_START: Message Transition at the start. .. rust:const:: pub const TRANSITION_ADJACENT: Message Adjacent transitions. .. rust:const:: pub const TRANSITION_END: Message Transition at the end. .. rust:const:: pub const INDENT_UNEXPECTED: Message Unexpected indentation. .. rust:const:: pub const BLOCK_UNINDENT: Message Missing blank line. .. rust:const:: pub const LITERAL_MISSING: Message Literal block expected. .. rust:const:: pub const LITERAL_QUOTING: Message Inconsistent literal quoting. .. rust:const:: pub const TABLE_MALFORMED: Message Malformed table. .. rust:const:: pub const TABLE_SHAPE: Message Table data does not fit. .. rust:const:: pub const DIRECTIVE_OPTION_UNKNOWN: Message Unknown directive option. .. rust:const:: pub const DIRECTIVE_OPTION_DUPLICATE: Message Duplicate directive option. .. rust:const:: pub const DIRECTIVE_OPTIONS_LIMIT: Message Too many directive options. .. rust:const:: pub const DIRECTIVE_OPTION_INVALID: Message Invalid option value. .. rust:const:: pub const DIRECTIVE_OPTION_BLOCK: Message Invalid option block. .. rust:const:: pub const DIRECTIVE_ARGUMENT_MISSING: Message Missing directive argument. .. rust:const:: pub const DIRECTIVE_ARGUMENT_EXTRA: Message Too many directive arguments. .. rust:const:: pub const DIRECTIVE_CONTENT_MISSING: Message Directive content missing. .. rust:const:: pub const DIRECTIVE_CONTENT_FORBIDDEN: Message Directive takes no content. .. rust:const:: pub const DIRECTIVE_CONTEXT: Message Directive not allowed here. .. rust:const:: pub const DIRECTIVE_URL: Message Remote resources are refused. .. rust:const:: pub const DIRECTIVE_ENCODING: Message Unsupported encoding. .. rust:const:: pub const DIRECTIVE_PARSER: Message Include parser not supported. .. rust:const:: pub const DIRECTIVE_FILE_AND_CONTENT: Message Both file and content. .. rust:const:: pub const INCLUDE_TEXT_NOT_FOUND: Message Include marker not found. .. rust:const:: pub const FIGURE_CAPTION: Message Figure caption is not a paragraph. .. rust:const:: pub const CSV_ERROR: Message Malformed csv data. .. rust:const:: pub const LIST_TABLE_SHAPE: Message Malformed list table. .. rust:const:: pub const ROLE_UNKNOWN: Message Unknown role. .. rust:const:: pub const ROLE_INVALID: Message Invalid role definition. .. rust:const:: pub const ROLE_CAPACITY: Message Too many roles. .. rust:const:: pub const CLASS_DANGLING: Message Class applies to nothing. .. rust:const:: pub const SUBSTITUTION_INVALID: Message Invalid substitution definition. .. rust:const:: pub const SUBSTITUTION_DIRECTIVE: Message Directive not allowed in a substitution. .. rust:const:: pub const SUBSTITUTION_REPLACE: Message Replace text is not one paragraph. .. rust:const:: pub const TARGET_MALFORMED: Message Malformed hyperlink target. .. rust:const:: pub const DATE_NO_TODAY: Message No date available. .. rust:const:: pub const UNICODE_INVALID: Message Invalid character code. .. rust:const:: pub const META_INVALID: Message Invalid meta data. .. rust:const:: pub const DIRECTIVE_UNKNOWN: Message Unknown directive. .. rust:const:: pub const INLINE_SPAN: Message An inline span outside the source being read.