From 2c38941f6ec0c0de8af3584ef98e54e903dc2e40 Mon Sep 17 00:00:00 2001 From: mixeme Date: Wed, 8 Jul 2026 07:49:22 +0300 Subject: [PATCH] docs: fix mermaid diagram XML parse error in Gitea rendering Gitea's SVG renderer requires well-formed XML; mermaid's \n line breaks produce unclosed
tags in foreignObject labels. Use explicit
instead. --- docs/ARCHITECTURE.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index 1a4c680..fbe765f 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -27,16 +27,16 @@ src/ ```mermaid flowchart LR user["Desktop user"] - ui["src/ui\nFyne windows, tabs, dialogs"] - svc["src/app Service\nsole owner of job + runtime state"] - store["src/storage Store\nJSON config and jobs"] - sched["src/scheduler Scheduler\npure timing loop"] - runner["src/runner\nshell command execution"] - autostart["src/platform/autostart Manager\nWindows shortcut / Linux XDG"] - config["gosentry.json\napplication settings"] - jobs["jobs.json\njob definitions"] - logs["logs_dir\nper-run command output logs"] - shell["Platform shell\ncmd.exe /C or sh -c"] + ui["src/ui
Fyne windows, tabs, dialogs"] + svc["src/app Service
sole owner of job + runtime state"] + store["src/storage Store
JSON config and jobs"] + sched["src/scheduler Scheduler
pure timing loop"] + runner["src/runner
shell command execution"] + autostart["src/platform/autostart Manager
Windows shortcut / Linux XDG"] + config["gosentry.json
application settings"] + jobs["jobs.json
job definitions"] + logs["logs_dir
per-run command output logs"] + shell["Platform shell
cmd.exe /C or sh -c"] user -->|"edits jobs, settings, runs commands"| ui ui -->|"CreateJob, UpdateJob, DeleteJob, RunNow, UpdateSettings, …"| svc