Skip to content

Commit 1f47644

Browse files
committed
remove duplicate include of mermaid.js
1 parent 274621a commit 1f47644

File tree

3 files changed

+8
-23
lines changed

3 files changed

+8
-23
lines changed
Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1+
{% if page.mermaid == true %}
12
<script src="https://cdnjs.cloudflare.com/ajax/libs/mermaid/8.0.0/mermaid.min.js"></script>
23
<script>
3-
mermaid.initialize({
4-
startOnLoad:true,
5-
theme: 'default'
6-
});
7-
window.mermaid.init(undefined, document.querySelectorAll('.language-mermaid'));
4+
var config = {
5+
startOnLoad:true,
6+
theme: 'default'
7+
};
8+
mermaid.initialize(config);
9+
window.mermaid.init(undefined, document.querySelectorAll('.language-mermaid'));
810
</script>
11+
{% endif %}

_layouts/mermaid.html

Lines changed: 0 additions & 16 deletions
This file was deleted.

technical/SourceTreeBasics.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ mermaid: true
77

88
A picture of the most commonly encountered branches of the tree.
99

10-
{{page.mermaid}}
11-
1210
The full FreeCAD source tree has many other branches, but most Contributors will
1311
only need to deal with these:
1412

0 commit comments

Comments
 (0)