Skip to content

fix: correct Mermaid diagram rendering in Antora site#20

Merged
jimisola merged 1 commit intomainfrom
fix/mermaid-diagram-rendering
Mar 7, 2026
Merged

fix: correct Mermaid diagram rendering in Antora site#20
jimisola merged 1 commit intomainfrom
fix/mermaid-diagram-rendering

Conversation

@jimisola
Copy link
Member

@jimisola jimisola commented Mar 7, 2026

Summary

  • Fix Mermaid block syntax from [kroki,mermaid] to [mermaid] in landing page
  • Remove kroki-fetch-diagram: true from both playbooks (incompatible with Antora inline diagrams)

Without kroki-fetch-diagram, diagrams render client-side via the kroki.io API at page load time, which works reliably with Antora.

Test plan

  • Build locally with npx antora docs/local-antora-playbook.yml
  • Verify generated HTML contains a kroki.io <img> tag for the Mermaid diagram
  • After merge, verify diagram renders on https://reqstool.github.io

🤖 Generated with Claude Code

- Change block syntax from [kroki,mermaid] to [mermaid]
- Remove kroki-fetch-diagram attribute from both playbooks

Signed-off-by: jimisola <jimisola@jimisola.com>
@jimisola jimisola self-assigned this Mar 7, 2026
@jimisola jimisola merged commit 93cc225 into main Mar 7, 2026
4 checks passed
@jimisola jimisola deleted the fix/mermaid-diagram-rendering branch March 7, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant