You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changing them to empty string make the build fails:
Handler <function overwrite_pygments_css at 0x1038618a0>
for event 'build-finished' threw an exception
(exception: [Errno 2] No such file or directory:
'.../docs/build/html/_static/pygments.css')
So there are likely some interaction between sphinx and jupyterlite itself.
Is that ok, if just the index.html is moved, or do you really need all the lite/tree to also be flatten ?
In my use case, the assets need to be delivered as a zip file with the index.html at the root and as the only entry point. (The use case is a learning environment that accepts a zip file the contents of which populate an iframe with a hardwired ./index.html src value.
The current build (using the XML formatter) generates an element of the form:
where the the
iframe_src
points to the pathlite/tree/
which in turn loads assests from the parent dir..
.Is it possible to generate a "flat" distribution rooted on
./index.html
?I have a requirement of bundling the site as an
html.zip
file where the entry point MUST be./index.html
, rather than anything down a path.The text was updated successfully, but these errors were encountered: