File: manual-local-mathjax.patch

package info (click to toggle)
gromacs 2025.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 287,216 kB
  • sloc: xml: 3,718,478; cpp: 654,748; ansic: 75,282; python: 20,471; sh: 3,470; perl: 2,218; yacc: 644; fortran: 397; lisp: 265; makefile: 171; lex: 125; awk: 68; csh: 39
file content (22 lines) | stat: -rw-r--r-- 868 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Use local copy of mathjax
 See https://lintian.debian.org/tags/privacy-breach-uses-embedded-file.html
Origin: vendor
Forwarded: not-needed
Last-Update: 2020-10-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: gromacs/docs/conf.cmakein.py
===================================================================
--- gromacs.orig/docs/conf.cmakein.py
+++ gromacs/docs/conf.cmakein.py
@@ -502,6 +502,10 @@ numfig = True
 # http://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc-mock-imports
 autodoc_mock_imports = ["hpccm", "hpccm.config"]
 
+# Use local copy of mathjax
+# cf. https://lintian.debian.org/tags/privacy-breach-uses-embedded-file.html
+mathjax_path = '/usr/share/javascript/mathjax/'
+
 # -- Options for intersphinx extension ------------------------------------
 
 intersphinx_mapping = {