Debian Codegraph @

debian/patches/docs-configure-Mermaid-to-use-a-local-copy-of-D3-js.patch

raw
1 From: Faidon Liambotis <[email protected]>
2 Date: Mon, 16 Mar 2026 13:11:14 +0200
3 Subject: docs: configure Mermaid to use a local copy of D3.js
4
5 Enables offline view, and avoids a privacy breach.
6
7 Forwarded: not-needed
8 ---
9 docs/conf.py | 1 +
10 1 file changed, 1 insertion(+)
11
12 diff --git a/docs/conf.py b/docs/conf.py
13 index 7ffb135..5977cfa 100644
14 --- a/docs/conf.py
15 +++ b/docs/conf.py
16 @@ -53,6 +53,7 @@ extensions = [
17 ]
18 mermaid_output_format = "raw"
19 mermaid_d3_zoom = True
20 +d3_use_local = "d3.min.js"
21 mermaid_height = "auto"
22
23 exclude_patterns = ["_build", "changelog/*"]