Skip to content

Commit

Permalink
Update puppeteer-config.json for mermaid-cli headless warning (#2731)
Browse files Browse the repository at this point in the history
* Update puppeteer-config.json for mermaid-cli headless warning

* Update conf.py
  • Loading branch information
noklam authored Jun 27, 2023
1 parent 2ec03ad commit 4536caf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,7 @@ def setup(app):
# https://github.com/kedro-org/kedro/issues/1772
mermaid_output_format = "png"
# https://github.com/mermaidjs/mermaid.cli#linux-sandbox-issue
# https://github.com/mermaid-js/mermaid-cli/issues/544
mermaid_params = ["-p", here / "puppeteer-config.json", "-s", "2"]
# https://github.com/kedro-org/kedro/issues/2451
mermaid_version = mermaid_init_js = ""
3 changes: 2 additions & 1 deletion docs/source/puppeteer-config.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"args": ["--no-sandbox"]
"args": ["--no-sandbox"],
"headless": "old"
}

0 comments on commit 4536caf

Please sign in to comment.