Fixes error related to table offsets:
System Message: ERROR/3 (<string>, line 117)
Malformed table. Text in column margin in table line 5.
Change-Id: If46d0ab0dc1fab1adccf63d43433f842ead2123d
It seems to be common practice to lowercase these instead
of uppercasing the first word so let's just follow that
practice.
Change-Id: I2c8620257cd9f0566e1d7e1ec88461f18f0bcef4
Instead of only ignoring full files or ignoring full
codes for all files, allow for ignoring specific errors
for certain files.
Change-Id: I0ebfbe1d2dc68990c84bc0b47d872e44e19b5b2a
Chardet doesn't always seem to correctly detect files encoding
correctly in all circumstances, to make it so that a user can
specify the exact encoding of there files allow a new config
option and a new CLI option that allows for manually overriding
the encoding that chardet will try to determine.
If enabled chardet detection will no longer run.
Fixes bug 1384463
Change-Id: Ie8baf3f79083e1495c7420a9d0569390cad2115e
When a file is found without an extension allow a CLI
provided default_extension to be used in these cases
so that files without extensions can be classified as
known file extension types.
Change-Id: I115ccc92ccd51a7018672b98b639ade30869f939
The main section already provides a basic overview of what
doc8 can do so it seems not so useful to duplicate that
information in a features sub-section as well.
Change-Id: I8f2215b030e2babcb28d4871239dfa926fec8f69
Also does a ninja fix for undetectable decoding (by
assuming those files are utf-8 as a fallback, which
seems reasonable to do when chardet is unable to
figure out the encoding).
Fixes bug 1363191
Change-Id: I15c172f511a939b21c37f772eb17f78105acf648
When doc8 scans rst files with sphinx specific roles
and references it is unable to determine what those roles
are and then complains that these false positives are
actual errors.
To avoid these types of false positives add a option that
can be provided when running on files that may contain these
types of errors to allow them to be skipped/ignored.
Change-Id: Ia6896617534f68e517d5996d53cf2de274507f56
Also update the option parser to set the metavar
for the new ignore-path argument to 'path' (instead of
the default of 'IGNORE_PATH' which the option parser
generates automatically).
Change-Id: I13c845c13f4b80511dc4d5b179ba80030e8b9972