Skip to content

Commit

Permalink
Do not initialize Mermaid JS (#2452)
Browse files Browse the repository at this point in the history
* Do not initialize Mermaid JS

Fix gh-2451.

Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>

* Allow warnings in documentation

"Temporary" (hopefully) workaround for gh-2453.

Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>

---------

Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>
  • Loading branch information
astrojuanlu committed Mar 22, 2023
1 parent c144b87 commit c42b9cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ build:
sphinx:
builder: html
configuration: docs/conf.py
fail_on_warning: true
fail_on_warning: false # Turn back on soon

# Build documentation with MkDocs
# mkdocs:
Expand Down
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,3 +572,5 @@ def setup(app):
mermaid_output_format = "png"
# https://github.com/mermaidjs/mermaid.cli#linux-sandbox-issue
mermaid_params = ["-p", here / "puppeteer-config.json", "-s", "2"]
# https://github.com/kedro-org/kedro/issues/2451
mermaid_version = mermaid_init_js = None

0 comments on commit c42b9cd

Please sign in to comment.