Open dokempf opened 2 years ago
I am not sure whether
nbsphinx
intends to be compatible with both thehtml
andsinglehtml
builders from Sphinx
Good point, I'm not sure either.
But if it isn't too much hassle, why not!
BTW, the singlehtml
mode is also used in the htmlzip
output on RTD, see e.g. https://nbsphinx.readthedocs.io/_/downloads/en/latest/htmlzip/. This shows the same problem.
The problem at hand seems to be that nbsphinx
's CSS modifications are not included at all in the singlehtml
output.
It looks like the way 'nbsphinx_include_css'
is assigned to and/or read from the document
doesn't work in singlehtml
mode.
Any ideas how to fix this?
I am not sure whether
nbsphinx
intends to be compatible with both thehtml
andsinglehtml
builders from Sphinx, but I realized that mysinglehtml
builds all produce a blank extra cell for each cell:I tried fixing this with the various prompt-related configuration variables without success.