Open cgsecurity opened 7 years ago
This may require using the actual sphinx-build
frontend. If so, we may need to create a rstcheck
plugin for sphinx-build
.
With Sphinx, I had to ignore some "features".
rstcheck --ignore-directives sphinx,automodule,autoclass,autofunction
Creating a .rstcheck.cfg
with this content solved it for me
[rstcheck]
report=warning
This may require using the actual
sphinx-build
frontend. If so, we may need to create arstcheck
plugin forsphinx-build
.
Any update for the plugin?
I am running into this issue now, as well. I thought it was just VS Code's plugin, but the maintainers there correctly noted that the root of the cause lies within rstcheck
.
Although @teone's answer does suppress the notice, it is still very much an erroneous one. It is still a bug that needs to be fixed, just not a major one.
This is biting me (well, Mozilla CI) as well. See for example this Phab revision reporting an RST warning that is, I'm pretty confident, not correct: https://phabricator.services.mozilla.com/D122553#3995812.
Still facing this error...Any updates for the plugin
rstcheck reports an errnous problem on the example from http://www.sphinx-doc.org/en/1.4.8/markup/inline.html#cross-referencing-arbitrary-locations
index.rst:1: (INFO/1) Hyperlink target "my-reference-label" is not referenced.