Skip to content

Commit 0bc9aba

Browse files
authored
Merge pull request #781 from elbeno/fix-diagram-fonts
📚 ⬆️ Update mermaid config
2 parents 9ba50d9 + 5ce104b commit 0bc9aba

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ build/
1313
/mull.yml
1414
/requirements.txt
1515
/docs/puppeteer_config.json
16+
/docs/mermaid.conf

docs/flows.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ to the flow.
7272
If we only use the `morning` component in our project, the `MorningRoutine` flow
7373
graph would look like the following:
7474

75-
mermaid::morning_flow1.mmd[format="svg"]
75+
mermaid::morning_flow1.mmd[format="svg" config="mermaid.conf"]
7676

7777
The power of `flow` services comes when more than one component adds actions to
7878
the flow. Flows can be extended by inserting additional actions with new
@@ -102,7 +102,7 @@ struct childcare {
102102

103103
The new steps are inserted into the existing `flow`​'s dependency graph:
104104

105-
mermaid::morning_flow2.mmd[format="svg"]
105+
mermaid::morning_flow2.mmd[format="svg" config="mermaid.conf"]
106106

107107
Multiple independent components can add actions to the same `flow`. This is the
108108
power of `flow` services, they can be extended by multiple independent
@@ -128,7 +128,7 @@ all without the `MorningRoutine` source code having known about the new
128128
functionality. We can mix and match new components without modifying the
129129
original source code.
130130

131-
mermaid::morning_flow3.mmd[format="svg"]
131+
mermaid::morning_flow3.mmd[format="svg" config="mermaid.conf"]
132132

133133
The `cib` library will take care of initializing and building all services,
134134
including `flow` services. For `flow`​s, this means the dependency graph will be

docs/intro.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ _cib_ contains several parts that work together:
5555
Various sub-libraries within CIB form a dependency graph. `cib` is an omnibus
5656
library that contains all the functionality.
5757

58-
mermaid::library_deps.mmd[format="svg"]
58+
mermaid::library_deps.mmd[format="svg" config="mermaid.conf"]
5959

6060
=== Getting Started
6161

docs/logging.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ begin with. It is specialized as follows:
199199
- Link-time optimization inlines the `catalog` function template
200200
specializations, each of which is a one-line function that returns an ID.
201201

202-
mermaid::log_build_process.mmd[format="svg"]
202+
mermaid::log_build_process.mmd[format="svg" config="mermaid.conf"]
203203

204204
NOTE: No logging exists in `main.cpp`: it's just a stub providing `main` that
205205
calls into the application's library code.

0 commit comments

Comments
 (0)