I'm aware of #26 which added an example of registering a directive (which would allow full validation), but how about making it easy to ignore user defined lists of non-standard RST directives, roles, etc?
I am thinking along these lines, a recent change to my flake8-rst-docstrings (which calls into restructuredtext-lint to get docutils to validate RST extracted from docstrings in Python code):
peterjc/flake8-rst-docstrings#16
As an aside, are substitutions common enough to need handling too? e.g. Using this for version seems quite common.
I'm aware of #26 which added an example of registering a directive (which would allow full validation), but how about making it easy to ignore user defined lists of non-standard RST directives, roles, etc?
I am thinking along these lines, a recent change to my
flake8-rst-docstrings(which calls into restructuredtext-lint to get docutils to validate RST extracted from docstrings in Python code):peterjc/flake8-rst-docstrings#16
As an aside, are substitutions common enough to need handling too? e.g. Using this for
versionseems quite common.