Skip to content

Commit

Permalink
Sphinx Mermaid plugin does not support pure frontmatter config yet
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Dec 3, 2024
1 parent 0cf93b1 commit e257811
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
10 changes: 2 additions & 8 deletions extra_platforms/docs_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,7 @@ def generate_platform_sankey() -> str:
output = dedent("""\
```mermaid
---
config:
sankey:
showValues: false
width: 800
height: 400
config: {"sankey": {"showValues": false, "width": 800, "height": 400}}
---
sankey-beta\n
""")
Expand All @@ -103,9 +99,7 @@ def generate_platform_hierarchy() -> str:
output = dedent("""\
```mermaid
---
config:
mindmap:
padding: 5
config: {"mindmap": {"padding": 5}}
---
mindmap
((Extra Platforms))
Expand Down
10 changes: 2 additions & 8 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,7 @@ Relationships between groups and platforms:

```mermaid
---
config:
sankey:
showValues: false
width: 800
height: 400
config: {"sankey": {"showValues": false, "width": 800, "height": 400}}
---
sankey-beta
Expand Down Expand Up @@ -384,9 +380,7 @@ Each platform is assigned to a group of non-overlpaping families:

```mermaid
---
config:
mindmap:
padding: 5
config: {"mindmap": {"padding": 5}}
---
mindmap
((Extra Platforms))
Expand Down

0 comments on commit e257811

Please sign in to comment.