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

View File

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