-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mermaid Diagrams Not Rendering in Diagram Guide #49446
Comments
This issue is currently awaiting triage. SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/kind bug |
Page Related issue : https://kubernetes.io/docs/contribute/style/diagram-guide/ Snapview of the page |
Here after Figure1 there is blank space inside box instead of Figure. |
@niranjandarshann This seems to work fine for me. Could you please try again after a hard refresh? |
Folks, please note the name and version of the web browsers you're using. |
Google chrome v131 |
Is this vary from version of the web browser we are using? |
I'm experiencing the same issue. It's more general for mermaid diagrams throughout the website. E.g., here's what I see on this page: My browser is Firefox 133.0.3 (64-bit) / Linux (from Mozilla snap for Ubuntu). Interestingly, this issue is reproduced randomly if I refresh the page, meaning that sometimes I can see the figures, but sometimes not. The same figures always render fine in my Google Chrome/Linux. |
What i think is this not looks good as image depends on version of browser think about New readers who may visit the site first time he/she dont know whether to use the updated browser or not in case readers have the old browser then it look not good . We should think on it. As i several times faced the issue. |
The bug persists in my local website setup as well. I thought it could be caused by a JS error produced by Thus, it could be a Mermaid-related problem (such as mermaid-js/mermaid#6112). What surprised me was that while we have the |
Is this a duplicate of #49053? |
We recently switched to Docsy 0.6 and to loading Mermaid from a CDN, the way that Docsy 0.6 does it. |
yes , Exactly |
Yes that issue is also related to mermaid diagram |
Thanks for this clarification! JFYI: according to my local tests, even updating Mermaid to its latest release (v11.4.1) doesn't bring any magic. I'm still experiencing the same issue in Firefox. Perhaps we'd better close this issue in favour of the one created earlier? |
Description
Mermaid diagrams in the diagram-guide folder are not rendering when the site is served.Instead of displaying the expected diagrams, a blank space is shown.
Steps to Reproduce:
Clone the kubernetes/website repository.
Navigate to the diagram-guide folder.
Start the local server using hugo server.
Observe that Mermaid diagrams are missing, replaced by blank spaces.
Expected Behavior:
The Mermaid diagrams should render correctly, showing the visual representation of the diagrams as intended.
The text was updated successfully, but these errors were encountered: