swyddfa / esbonio

A language server for working with Sphinx projects.
https://docs.esbon.io/
121 stars 21 forks source link

Fix diagnostics #771

Closed alcarney closed 2 months ago

alcarney commented 2 months ago

The previous PR #767 broke diagnostics, so we do in fact, have to override Sphinx's logging setup (assuming we want to be able to see errors during initial setup). This time however, our setup is a lot less invasive - only adding an additional filter to the warning handler rather than replacing everything.

This also updates and re-enables the test cases related to diagnostics which had been disabled for some time.