Skip to content

Commit

Permalink
docs: add vitepress metadata to flowchart docs
Browse files Browse the repository at this point in the history
Changes the title in Vitepress, as well as using `outline: "deep"`
for a better outline/table-of-contents for the page.

See https://vitepress.vuejs.org/config/theme-configs#outline
for docs on what `outline: "deep"` does.
  • Loading branch information
aloisklink committed Jan 3, 2023
1 parent 5929505 commit 72d9788
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/syntax/flowchart.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
title: Flowcharts Syntax
outline: 'deep' # shows all h3 headings in outline in Vitepress
---

> **Warning**
>
> ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
Expand Down
5 changes: 5 additions & 0 deletions packages/mermaid/src/docs/syntax/flowchart.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
title: Flowcharts Syntax
outline: 'deep' # shows all h3 headings in outline in Vitepress
---

# Flowcharts - Basic Syntax

All Flowcharts are composed of **nodes**, the geometric shapes and **edges**, the arrows or lines. The mermaid code defines the way that these **nodes** and **edges** are made and interact.
Expand Down

0 comments on commit 72d9788

Please sign in to comment.