From: Cordell Bloor <cgmb@slerp.xyz>
Date: Tue, 11 Jul 2023 20:11:25 -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 98a7a4f..51ee044 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -203,3 +203,6 @@ texinfo_documents = [
      author, 'rocBLAS', 'BLAS for AMD ROCm',
      'Miscellaneous'),
 ]
+
+# use local mathjax for local documentation
+mathjax_path = "/usr/share/javascript/mathjax/MathJax.js"
