aws-powertools / powertools-lambda-java

Powertools is a developer toolkit to implement Serverless best practices and increase developer velocity.
https://docs.powertools.aws.dev/lambda/java/
MIT No Attribution
285 stars 88 forks source link

Maintenance: update docs to use self-hosted mermaid.js script #1719

Closed dreamorosi closed 1 month ago

dreamorosi commented 1 month ago

Summary

We use mermaid for diagrams in a few of our documentation pages and the documentation engine we use defaults to loading the script from a remote CDN.

Why is this needed?

To further improve our security posture we should switch to self hosting the script.

Which area does this relate to?

Other

Solution

Update the mkdocs.yml file and point it to https://docs.powertools.aws.dev/shared/mermaid.min.js

Acknowledgment