mystmd icon indicating copy to clipboard operation
mystmd copied to clipboard

BUG: do not generate Thebe files for static sites

Open bsipocz opened this issue 2 months ago • 2 comments

Description

myst build --html generates a bunch of thebe.js files even if the thebe sections are removed from myst.yml.

(Interestingly they are not generated with when there is executable notebook content and the site is built with myst build --execute --html.)

This is an inconsistent behaviour, and generates unused files that may need to be cleaned up from deployed artifacts (though checking on the cumulative size of the files, it's not significant).

bsipocz avatar Sep 07 '25 01:09 bsipocz