Skip to content

Commit

Permalink
Disable mermaid diagram so build can go
Browse files Browse the repository at this point in the history
  • Loading branch information
huijing committed Oct 12, 2023
1 parent 61cd415 commit 579302b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/content/docs/components/mermaidwrapper.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,13 @@ 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
Alice->>John: Hello John, how are you?
Expand All @@ -70,4 +75,5 @@ sequenceDiagram
John->>Bob: How about you?
Bob-->>John: Jolly good!
```
</MermaidWrapper>
</MermaidWrapper> */}

0 comments on commit 579302b

Please sign in to comment.