123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778letcapitalize_ascii=Astring.String.Ascii.capitalizeletbad_markup:?suggestion:string->string->Loc.span->Warning.t=fun?suggestion->Warning.make?suggestion"'%s': bad markup."letleading_zero_in_heading_level:string->Loc.span->Warning.t=Warning.make"'%s': leading zero in heading level."letshould_not_be_empty:what:string->Loc.span->Warning.t=fun~what->Warning.make"%s should not be empty."(capitalize_asciiwhat)letmarkup_should_not_be_used:what:string->Loc.span->Warning.t=fun~what->Warning.make"%s should not be used because it has no effect."(capitalize_asciiwhat)letshould_begin_on_its_own_line:what:string->Loc.span->Warning.t=fun~what->Warning.make"%s should begin on its own line."(capitalize_asciiwhat)letshould_be_followed_by_whitespace:what:string->Loc.span->Warning.t=fun~what->Warning.make"%s should be followed by space, a tab, or a new line."(capitalize_asciiwhat)letnot_allowed:?suggestion:string->what:string->in_what:string->Loc.span->Warning.t=fun?suggestion~what~in_what->Warning.make?suggestion"%s is not allowed in %s."(capitalize_asciiwhat)in_whatletno_leading_whitespace_in_verbatim:Loc.span->Warning.t=Warning.make"'{v' should be followed by whitespace."letno_trailing_whitespace_in_verbatim:Loc.span->Warning.t=Warning.make"'v}' should be preceded by whitespace."letstray_at:Loc.span->Warning.t=Warning.make"Stray '@'."letstray_cr:Loc.span->Warning.t=Warning.make"Stray '\\r' (carriage return character)."lettruncated_before:Loc.span->Warning.t=Warning.make"'@before' expects version number on the same line."lettruncated_param:Loc.span->Warning.t=Warning.make"'@param' expects parameter name on the same line."lettruncated_raise:string->Loc.span->Warning.t=Warning.make"'%s' expects exception constructor on the same line."lettruncated_see:Loc.span->Warning.t=Warning.make"'@see' should be followed by <url>, 'file', or \"document title\"."letunknown_tag:string->Loc.span->Warning.t=Warning.make"Unknown tag '%s'."letunpaired_right_brace:Loc.span->Warning.t=Warning.make~suggestion:"try '\\}'.""Unpaired '}' (end of markup)."letunpaired_right_bracket:Loc.span->Warning.t=Warning.make~suggestion:"try '\\]'.""Unpaired ']' (end of code)."letno_language_tag_in_meta:Loc.span->Warning.t=Warning.make~suggestion:"try '{[ ... ]}' or '{@ocaml[ ... ]}'.""'{@' should be followed by a language tag."letlanguage_tag_invalid_charlang_tag:char->Loc.span->Warning.t=letsuggestion="try '{@"^lang_tag^"[ ... ]}'."inWarning.make~suggestion"Invalid character '%c' in language tag."lettruncated_code_block_meta:Loc.span->Warning.t=Warning.make~suggestion:"try '{@ocaml[ ... ]}'.""Missing end of code block."lettruncated_code_block:Loc.span->Warning.t=Warning.make~suggestion:"add ']}'.""Missing end of code block."