Skip to content

Commit 2c61432

Browse files
committed
🐛 📚 Fix docs diagram generation
1 parent 3641082 commit 2c61432

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/asciidoctor-ghpages.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ jobs:
4040
node-version: 20
4141
- name: Install Mermaid
4242
run: |
43-
sudo npm install -g @mermaid-js/[email protected]
43+
sudo npm install -g @mermaid-js/[email protected]
44+
npx puppeteer browsers install chrome-headless-shell
4445
- name: Install asciidoctor
4546
run: |
4647
sudo apt update

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ __pycache__
1515
.pytest_cache
1616
.hypothesis
1717
requirements.txt
18+
docs/puppeteer_config.json

docs/index.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
:rouge-style: base16.solarized
66
:source-language: c++
77
:toc: left
8+
:mermaid-puppeteer-config: puppeteer_config.json
89

910
include::intro.adoc[]
1011
include::atomic.adoc[]

0 commit comments

Comments
 (0)