From c42b9cd0a643e9774144b7c6a77afd872443d84e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Luis=20Cano=20Rodr=C3=ADguez?= Date: Wed, 22 Mar 2023 13:27:20 +0100 Subject: [PATCH] Do not initialize Mermaid JS (#2452) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Do not initialize Mermaid JS Fix gh-2451. Signed-off-by: Juan Luis Cano Rodríguez * Allow warnings in documentation "Temporary" (hopefully) workaround for gh-2453. Signed-off-by: Juan Luis Cano Rodríguez --------- Signed-off-by: Juan Luis Cano Rodríguez --- .readthedocs.yml | 2 +- docs/conf.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index e04d658d42..2f95ec4cf4 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -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: diff --git a/docs/conf.py b/docs/conf.py index 0957813875..37707da7d9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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