-
Notifications
You must be signed in to change notification settings - Fork 11
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
docs: mermaid diagrams don't render #567
Comments
I put two implementations up at #568 and #569, you can choose which you prefer or do some digging of your own. I'd suggest choosing the On the other hand, this comment from a |
I'll add some resources here that I stumbled upon: Pymdown Superfences extension - small rabbit hole about mermaid diagrams A troubleshooting guide at https://mkdocs-mermaid2.readthedocs.io/en/latest/troubleshooting |
I'll add some context here about a small rabbit hole about In the page build logs for Here's some logs
If you look at the mermaid2 source code, they cite a breaking change in python-markdown as the root cause. There's some discussion about this in the implementing PR. But also this code hasn't been touched in 4 years :/ |
Add the plugin as a dependency as per [installation guide](https://github.com/fralau/mkdocs-mermaid2-plugin#installation). `poetry add mkdocs-mermaid2-plugin --group docs` Add to the `mkdocs.yml` via [plugins syntax](https://www.mkdocs.org/dev-guide/plugins/) This on it's own is sufficient to get the diagrams to render. Resolves: #567
Expected Behaviour
They should render out as per the mkdocs-material documentation.
Actual Behaviour
The mermaid diagrams over at https://scality.github.io/runner-manager/development/workflows/ don't render. Instead they show raw code blocks.
The text was updated successfully, but these errors were encountered: