Allow Local Hosting of Javascript Dependencies for Airgapped Environments #7966
Unanswered
leonvosidemia
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Thanks for suggesting. We've explained several times why bundling all assets is not possible, which is also why we've added it to our documentation (see green box). However, this is exactly what the privacy plugin is for – you can download the assets in a non-airgapped environment, and then commit the cache to your repository, so that they don't need to be downloaded. ![]() I'm converting this to a discussion, in case you need help with it. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Context
No response
Bug description
We are running MkDocs Material in an airgapped environment where external resources cannot be fetched from the internet. Currently, various Javascript libraries are hardcoded - like
mermaid.min.js
- to be loaded fromunpkg.com
, preventing us from using Mermaid diagrams in our documentation.Related links
Reproduction
mkdocs.yml:
docs/index.md:
Steps to reproduce
mermaid.min.js
cannot be fetchedAnother usecase we utilize is to build everything within the airgapped environment, which results in the same situation.
Browser
Firefox
Before submitting
Beta Was this translation helpful? Give feedback.
All reactions