build(docs): hide YAML when building for GitHub

YAML front-matter is currently only used for Vitepress.

Because of that, to avoid confusion, we can remove this YAML
front-matter when converting the Markdown in packages/mermaid/src/docs
to go into the `docs/` folder for GitHub browsing.
This commit is contained in:
Alois Klink
2023-01-22 19:12:13 +00:00
parent 76c3716b2d
commit 816f2f512e
3 changed files with 46 additions and 8 deletions

View File

@@ -1,8 +1,3 @@
---
title: Flowcharts Syntax
outline: 'deep' # shows all h3 headings in outline in Vitepress
---
> **Warning**
>
> ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.