Skip to content

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

@dreamorosi

Description

@dreamorosi

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

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationinternalMaintenance changes

Type

No type

Projects

Status

👀 In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions