swyddfa / esbonio

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

Server should validate `esbonio.server.buildCommand` #781

Open alcarney opened 5 months ago

alcarney commented 5 months ago

Expected behavior

e.g. When given the full path to the sphinx-build executable, the server should either reject it, or strip the path and perhaps emit a warning. It would also be good to check how the server handles invalid options

see: https://github.com/swyddfa/esbonio/issues/778#issuecomment-2070925202

Actual behavior

The server accepts the invalid option and throws cryptic errors

Log output

No response

(Optional) Settings from conf.py

No response