Skip to content

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

Closed
@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

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

Labels

completedThis item is complete and has been merged/shippeddocumentationImprovements or additions to documentationinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions