docs: Fix config

This commit is contained in:
Sidharth Vinod
2024-02-27 15:29:41 +05:30
parent cbb715a44d
commit 370cd98d23
2 changed files with 78 additions and 54 deletions

View File

@@ -923,7 +923,11 @@ Commits in Mermaid display temporal information in gitgraph by default. For exam
### Temporal Commits (default, `parallelCommits: false`)
```mermaid-example
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'parallelCommits': false}} }%%
---
config:
gitGraph:
parallelCommits: false
---
gitGraph:
commit
branch develop
@@ -935,7 +939,11 @@ Commits in Mermaid display temporal information in gitgraph by default. For exam
```
```mermaid
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'parallelCommits': false}} }%%
---
config:
gitGraph:
parallelCommits: false
---
gitGraph:
commit
branch develop
@@ -949,7 +957,11 @@ Commits in Mermaid display temporal information in gitgraph by default. For exam
### Parallel commits (`parallelCommits: true`)
```mermaid-example
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'parallelCommits': true}} }%%
---
config:
gitGraph:
parallelCommits: true
---
gitGraph:
commit
branch develop
@@ -961,7 +973,11 @@ Commits in Mermaid display temporal information in gitgraph by default. For exam
```
```mermaid
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'parallelCommits': true}} }%%
---
config:
gitGraph:
parallelCommits: true
---
gitGraph:
commit
branch develop

View File

@@ -576,7 +576,11 @@ Commits in Mermaid display temporal information in gitgraph by default. For exam
### Temporal Commits (default, `parallelCommits: false`)
```mermaid-example
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'parallelCommits': false}} }%%
---
config:
gitGraph:
parallelCommits: false
---
gitGraph:
commit
branch develop
@@ -590,7 +594,11 @@ Commits in Mermaid display temporal information in gitgraph by default. For exam
### Parallel commits (`parallelCommits: true`)
```mermaid-example
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'parallelCommits': true}} }%%
---
config:
gitGraph:
parallelCommits: true
---
gitGraph:
commit
branch develop