mgaitan/sphinxcontrib-mermaid

can I use mermaid js/css static files locally instead of using CDN

ChaiByte opened this issue · 1 comments

I want to use this extension on an intranet server. It could not access any files from public networks including CDN (unpkg.com). Another suggestion is to use jsDelivr instead of unpkg which will improve the access speed in some area.

The response of the answer is yes.

Manually copy the .js file to the dir configured like https://github.com/mgaitan/sphinxcontrib-mermaid/blame/master/README.rst#L129