Skip to content

Commit

Permalink
setup mermaid output png
Browse files Browse the repository at this point in the history
  • Loading branch information
chyyuu committed Jan 17, 2023
1 parent b19ad63 commit d8a03c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions puppeteerConfigFile.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"executablePath": "/usr/bin/google-chrome"
}
3 changes: 2 additions & 1 deletion source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@
"sphinxcontrib.mermaid"
]

mermaid_output_format = 'raw'
mermaid_output_format = 'png'
mermaid_version = ''
html_js_files = [
'js/mermaid.js'
]
mermaid_params = ['--puppeteerConfigFile', '/home/chyyuu/thecodes/rCore-Tutorial-Book-v3/puppeteerConfigFile.json']

comments_config = {
"utterances": {
Expand Down

0 comments on commit d8a03c8

Please sign in to comment.