Skip to content
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

chore: reactivate Mermaid example #8

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified bun.lockb
Binary file not shown.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/starlight": "^0.11.1",
"@interledger/docs-design-system": "^0.1.0",
"astro": "^3.3.0",
"@astrojs/starlight": "^0.11.2",
"@interledger/docs-design-system": "^0.1.1",
"astro": "^3.3.4",
"remark-mermaidjs": "^6.0.0",
"sharp": "^0.32.6"
}
Expand Down
8 changes: 2 additions & 6 deletions src/content/docs/components/mermaidwrapper.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,8 @@ If you happen to be using some sort of format on save functionality in your code

## Working example

:::caution
Live example is temporarily disabled because of a known yet unresolvable issue with the [remark-mermaidjs]() plugin's Playwright dependency causing a build failure in with our deployment pipeline. This issue always occurs when Playwright releases a new version, but our build runners keep looking for browser executables installed in an older folder version. Possibly because of caching? We have yet to find a way to manually clear the Github Actions cache, nor the Netlify cache.
:::

{/* prettier-ignore */}
{/* <MermaidWrapper client:load>
<MermaidWrapper client:load>

```mermaid
sequenceDiagram
Expand All @@ -76,4 +72,4 @@ sequenceDiagram
Bob-->>John: Jolly good!
```

</MermaidWrapper> */}
</MermaidWrapper>