mermaid js 2
All checks were successful
Build Org Website / build (push) Successful in 41s

This commit is contained in:
gitea-actions
2026-05-18 15:22:36 +01:00
parent 5cccf8a822
commit 4965341e1e
4 changed files with 45 additions and 1 deletions

View File

@@ -301,6 +301,9 @@ document.addEventListener("DOMContentLoaded", () => {
const container = document.createElement("div");
container.className = "mermaid-container";
if ((el.dataset.source || "").includes('root(["zxh"])')) {
container.classList.add("mermaid-container--site-map");
}
const controls = document.createElement("div");
controls.className = "mermaid-zoom-controls";
controls.innerHTML = `

View File

@@ -801,6 +801,7 @@ body.no-sidenotes {
.mermaid-container {
overflow: auto;
width: 100%;
min-height: 26rem;
max-height: 800px;
border: 1px solid var(--border);
border-radius: 8px;
@@ -817,6 +818,39 @@ body.no-sidenotes {
height: auto;
}
.mermaid-container--site-map {
width: min(96vw, 1400px);
height: min(82vh, 980px);
max-height: none;
margin-left: 50%;
transform: translateX(-50%);
}
.mermaid-container--site-map .mermaid {
display: inline-block;
min-width: max-content;
padding: 3rem 2rem 2rem;
}
.mermaid-container--site-map .mermaid svg {
width: auto;
max-width: none;
min-width: 1100px;
}
@media (max-width: 700px) {
.mermaid-container--site-map {
width: 100%;
height: 78vh;
margin-left: 0;
transform: none;
}
.mermaid-container--site-map .mermaid svg {
min-width: 900px;
}
}
/* Zoom buttons */
.mermaid-zoom-controls {
position: absolute;

View File

@@ -167,3 +167,10 @@
2026-05-18T15:00:02.4501777+01:00 [INFO] Running authoring server tests with /home/zaine/master-folder/projects/authoring-service/.venv/bin/python.
2026-05-18T15:00:02.5300951+01:00 [INFO] Authoring server tests passed: ran=0, failures=0, errors=0, skipped=0, exit=0
2026-05-18T15:00:02.8652186+01:00 [INFO] Sent authoring server test notification.
2026-05-18T15:11:36.2136035+01:00 [INFO] Prepared current build status for zaine/org_web: severity=Info, status=success
2026-05-18T15:11:36.2209646+01:00 [INFO] Fetching recent Gitea Actions runs for zaine/org_web.
2026-05-18T15:11:36.6731860+01:00 [ERROR] Failed to analyze job 305: Cannot bind argument to parameter 'LogText' because it is an empty string.
2026-05-18T15:11:39.0447628+01:00 [INFO] Sent build status notification with 1 embed(s).
2026-05-18T15:11:39.0666097+01:00 [INFO] Running authoring server tests with /home/zaine/master-folder/projects/authoring-service/.venv/bin/python.
2026-05-18T15:11:39.1360798+01:00 [INFO] Authoring server tests passed: ran=0, failures=0, errors=0, skipped=0, exit=0
2026-05-18T15:11:39.4901677+01:00 [INFO] Sent authoring server test notification.

View File

@@ -4,7 +4,7 @@
See the categories: @@html:<a href="../home/categories.html">Categories</a>@@
* Posts:
- [[file:career/career-list.org][Career List]] @@html:<span class="post-date">18-05-2026 15:07</span>@@
- [[file:career/career-list.org][Career List]] @@html:<span class="post-date">18-05-2026 15:11</span>@@
- [[file:career/ha-dr.org][High Availability, Disaster Recovery and Business Continuity]] @@html:<span class="post-date">11-03-2026 17:18</span>@@ @@html:<a href="/tags/learning.html"><span class="post-tag">learning</span></a>@@ @@html:<a href="/tags/notes.html"><span class="post-tag">notes</span></a>@@
- [[file:career/javascript.org][Understands the Javascript language]] @@html:<span class="post-date">11-03-2026 16:52</span>@@ @@html:<a href="/tags/learning.html"><span class="post-tag">learning</span></a>@@ @@html:<a href="/tags/notes.html"><span class="post-tag">notes</span></a>@@
- [[file:career/restful-api.org][Restful API]] @@html:<span class="post-date">15-02-2026 23:00</span>@@ @@html:<a href="/tags/learning.html"><span class="post-tag">learning</span></a>@@ @@html:<a href="/tags/notes.html"><span class="post-tag">notes</span></a>@@