Open iaavo opened 7 months ago
since app.confdir is a Path
Thanks for the report, just to note, this is a change in Sphinx core, since 7.2.6 if I recall correctly
I'm afraid this needs to be fixed by Esbonio, as Sphinx-Test-Reports is using the official Sphinx API correctly: https://www.sphinx-doc.org/en/master/extdev/appapi.html#sphinx.application.Sphinx.add_config_value
There may be also a workaround on project/user side, as the default value app.confdir
is just the default, meaning settingtr_rootdir
in conf.py
should fix it.
Can you try this and and give a short feedback?
tr_rootdir
being aPath
obj causes esbonio v0.92.1 (pre-release) to crashtest_reports.py#L47:
since
app.confdir
is aPath
, it causes esbonio to raise an exception as it cant convert the configuration to a jsonutil.py#L27:
one way to fix this issue would be: