Skip to content

Commit

Permalink
Update CDN location of mermaid from v10 to v11 (#763)
Browse files Browse the repository at this point in the history
* Update CDN location of mermaid from v10 to v11

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
  • Loading branch information
CodeMelted and autofix-ci[bot] authored Nov 29, 2024
1 parent c5c6fea commit a939ab1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pdoc/templates/mermaid.html.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}
</style>
<script type="module" defer>
import mermaid from "https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs";
import mermaid from "https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs";
/* Re-invoke Mermaid when DOM content changes, for example during search. */
document.addEventListener("DOMContentLoaded", () => {
Expand Down
2 changes: 1 addition & 1 deletion test/testdata/mermaid_demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
</style>
<script type="module" defer>
import mermaid from "https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs";
import mermaid from "https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs";

/* Re-invoke Mermaid when DOM content changes, for example during search. */
document.addEventListener("DOMContentLoaded", () => {
Expand Down

0 comments on commit a939ab1

Please sign in to comment.