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
|
```mermaid
|
||||||
flowchart LR
|
flowchart LR
|
||||||
user["Desktop user"]
|
user["Desktop user"]
|
||||||
ui["src/ui\nFyne windows, tabs, dialogs"]
|
ui["src/ui<br/>Fyne windows, tabs, dialogs"]
|
||||||
svc["src/app Service\nsole owner of job + runtime state"]
|
svc["src/app Service<br/>sole owner of job + runtime state"]
|
||||||
store["src/storage Store\nJSON config and jobs"]
|
store["src/storage Store<br/>JSON config and jobs"]
|
||||||
sched["src/scheduler Scheduler\npure timing loop"]
|
sched["src/scheduler Scheduler<br/>pure timing loop"]
|
||||||
runner["src/runner\nshell command execution"]
|
runner["src/runner<br/>shell command execution"]
|
||||||
autostart["src/platform/autostart Manager\nWindows shortcut / Linux XDG"]
|
autostart["src/platform/autostart Manager<br/>Windows shortcut / Linux XDG"]
|
||||||
config["gosentry.json\napplication settings"]
|
config["gosentry.json<br/>application settings"]
|
||||||
jobs["jobs.json\njob definitions"]
|
jobs["jobs.json<br/>job definitions"]
|
||||||
logs["logs_dir\nper-run command output logs"]
|
logs["logs_dir<br/>per-run command output logs"]
|
||||||
shell["Platform shell\ncmd.exe /C or sh -c"]
|
shell["Platform shell<br/>cmd.exe /C or sh -c"]
|
||||||
|
|
||||||
user -->|"edits jobs, settings, runs commands"| ui
|
user -->|"edits jobs, settings, runs commands"| ui
|
||||||
ui -->|"CreateJob, UpdateJob, DeleteJob, RunNow, UpdateSettings, …"| svc
|
ui -->|"CreateJob, UpdateJob, DeleteJob, RunNow, UpdateSettings, …"| svc
|
||||||
|
|||||||
Reference in New Issue
Block a user