mercury icon indicating copy to clipboard operation
mercury copied to clipboard

How the html is getting generated while running mercury?

Open codinggeeks06 opened this issue 2 years ago • 2 comments

hey, so we are using mercury on the airgapped network, so we would like to remove all the links which goes to internet and host it locally. So can you guide us how to achieve that? thanks in advance..

codinggeeks06 avatar Nov 30 '23 10:11 codinggeeks06

Adding to what already has been told we are trying replace the cdnjs links being added to dynamically generated html for the jupyter notebooks.

ghansham avatar Nov 30 '23 14:11 ghansham

We are using nbconvert package for converting notebook to HTML. The option here is to change all js packages that are loaded from CDN to local js packages. I did a quick search but could find any resource on how to force nbconvert to do this. Some nbconvert issues https://github.com/jupyter/nbconvert/issues/754 So it should be implemented.

pplonski avatar Dec 01 '23 11:12 pplonski