Open marcel-22 opened 3 days ago
Is our buildCommand definition correct?
Unfortunately not.
esbonio.sphinx.buildCommand
should be set to whatever sphinx-build
command you would run if you were to build your docs outside of esbonio e.g. ["sphinx-build", "-M", "html", "<src>", "<dest>", "-t", "preview"]
(Ideally, the server should be doing more here to help you get to the right value - #781)
Expected behavior
A custom CSS is used to improve the Sphinx layout during HTML preview. To enable this CSS the Sphinx tag
preview
is defined in Esbonio workspace settings. The old setting was"esbonio.sphinx.tags": ["preview"]
, which I transformed into"esbonio.sphinx.buildCommand": ["-t preview"]
.Actual behavior
When I use the new setting
"esbonio.sphinx.buildCommand": ["-t abc"]
, Esbonio produces a runtime error. Note that I replacedpreview
withabc
to make sure the problem is not caused by enabling the CSS stylesheet.Is our
buildCommand
definition correct?Log output
(Optional) Settings from conf.py
No response