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 <br> tags in foreignObject labels. Use explicit <br/> instead.
This commit is contained in:
+10
-10
@@ -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<br/>Fyne windows, tabs, dialogs"]
|
||||
svc["src/app Service<br/>sole owner of job + runtime state"]
|
||||
store["src/storage Store<br/>JSON config and jobs"]
|
||||
sched["src/scheduler Scheduler<br/>pure timing loop"]
|
||||
runner["src/runner<br/>shell command execution"]
|
||||
autostart["src/platform/autostart Manager<br/>Windows shortcut / Linux XDG"]
|
||||
config["gosentry.json<br/>application settings"]
|
||||
jobs["jobs.json<br/>job definitions"]
|
||||
logs["logs_dir<br/>per-run command output logs"]
|
||||
shell["Platform shell<br/>cmd.exe /C or sh -c"]
|
||||
|
||||
user -->|"edits jobs, settings, runs commands"| ui
|
||||
ui -->|"CreateJob, UpdateJob, DeleteJob, RunNow, UpdateSettings, …"| svc
|
||||
|
||||
Reference in New Issue
Block a user