Skip to content

docs: fix mermaid syntax and broken anchor in website build#664

Merged
bfjelds merged 2 commits into
mainfrom
user/bfjelds/mjolnir/fix-docs-website-warnings
May 27, 2026
Merged

docs: fix mermaid syntax and broken anchor in website build#664
bfjelds merged 2 commits into
mainfrom
user/bfjelds/mjolnir/fix-docs-website-warnings

Conversation

@bfjelds

@bfjelds bfjelds commented May 27, 2026

Copy link
Copy Markdown
Member

Summary

Fixes all warnings from the website-build Docusaurus build:

Mermaid directive warnings (3 files)

Docusaurus 3.x expects mermaid diagrams in code-fenced blocks rather than admonition-style :::mermaid/::: directives. Converted:

  • docs/Explanation/gRPC-Server.md
  • docs/Explanation/Image-Streaming-Pipeline.md
  • docs/Development/Contributing/Documentation/Public-Docs.md (example block)

Broken anchor (1 file)

docs/Development/Testing/Rollback-Tests.md linked to Servicing-Tests.md#4-create-the-qemu_guest-base-image, but the actual heading in Servicing-Tests.md is "4. Download the qemu_guest Base Image". Updated both references to use the correct anchor #4-download-the-qemu_guest-base-image.

Verification

Website build completes with zero warnings after these changes.

- Convert :::mermaid/:::/admonition syntax to code-fenced mermaid blocks
  in gRPC-Server.md, Image-Streaming-Pipeline.md, and Public-Docs.md
- Fix broken anchor in Rollback-Tests.md: link to #4-download- instead
  of #4-create- to match Servicing-Tests.md heading

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@bfjelds bfjelds requested a review from a team as a code owner May 27, 2026 00:34
Copilot AI review requested due to automatic review settings May 27, 2026 00:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Trident’s Docusaurus documentation to eliminate website-build warnings by migrating Mermaid diagrams to Docusaurus 3.x’s expected fenced-code-block format and by fixing a broken internal anchor reference.

Changes:

  • Convert Mermaid diagrams from :::mermaid directives to fenced ```mermaid code blocks in explanation docs.
  • Update the Mermaid example in the public docs standards to use nested fences correctly.
  • Fix broken links in rollback testing docs to target the correct Servicing Tests heading anchor.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
docs/Explanation/Image-Streaming-Pipeline.md Converts the Mermaid diagram to a fenced ```mermaid block for Docusaurus 3.x.
docs/Explanation/gRPC-Server.md Converts the Mermaid architecture diagram to a fenced ```mermaid block for Docusaurus 3.x.
docs/Development/Testing/Rollback-Tests.md Fixes the Servicing Tests step-4 anchor used by rollback docs (and related link text).
docs/Development/Contributing/Documentation/Public-Docs.md Updates the Mermaid example to use nested fences (````markdown) correctly.

Comment thread docs/Development/Testing/Rollback-Tests.md Outdated
Comment thread docs/Development/Testing/Rollback-Tests.md Outdated
The linked Servicing-Tests instructions download the minimal-os image
from MCR, not baremetal. Update both references in Rollback-Tests.md
to match.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@bfjelds bfjelds merged commit 322a5e6 into main May 27, 2026
11 checks passed
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.

3 participants