Package: rocsolver / 5.5.1-7~exp1

0001-use-local-mathjax.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Cordell Bloor <[email protected]>
Date: Mon, 17 Jul 2023 17:02:38 -0600
Subject: use local mathjax

The sphinx.ext.mathjax extension defaults to loading mathjax from a
CDN, which results in the lintian warning 'privacy-breach-generic'.
Use a local copy of mathjax to prevent that problem.

Forwarded: not-needed
---
 docs/source/conf.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docs/source/conf.py b/docs/source/conf.py
index 5e7b270..c60f369 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -166,3 +166,6 @@ texinfo_documents = [
      author, 'rocSOLVER development team', 'Implementation of LAPACK routines on AMD GPUs',
      'Miscellaneous'),
 ]
+
+# use local mathjax for local documentation
+mathjax_path = "/usr/share/javascript/mathjax/MathJax.js"