File: debian-mathjax-relpath

package info (click to toggle)
uhd 4.8.0.0%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 183,172 kB
  • sloc: cpp: 279,415; python: 109,850; ansic: 103,348; vhdl: 57,230; tcl: 20,007; xml: 8,581; makefile: 2,863; sh: 2,797; pascal: 230; javascript: 120; csh: 94; asm: 20; perl: 11
file content (36 lines) | stat: -rw-r--r-- 1,370 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From: "A. Maitland Bottoms" <bottoms@debian.org>
Subject: debian-mathjax-relpath

Debian packages use locally installed mathjax.

--- a/fpga/docs/Doxyfile
+++ b/fpga/docs/Doxyfile
@@ -1407,7 +1407,7 @@
 # The default value is: NO.
 # This tag requires that the tag GENERATE_HTML is set to YES.
 
-USE_MATHJAX            = NO
+USE_MATHJAX            = YES
 
 # When MathJax is enabled you can set the default output format to be used for
 # the MathJax output. See the MathJax site (see:
@@ -1430,7 +1430,7 @@
 # The default value is: http://cdn.mathjax.org/mathjax/latest.
 # This tag requires that the tag USE_MATHJAX is set to YES.
 
-MATHJAX_RELPATH        = http://cdn.mathjax.org/mathjax/latest
+MATHJAX_RELPATH        = /usr/share/javascript/mathjax
 
 # The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
 # extension names that should be enabled during MathJax rendering. For example
--- a/host/docs/CMakeLists.txt
+++ b/host/docs/CMakeLists.txt
@@ -43,7 +43,7 @@
 option(ENABLE_DOXYGEN_DOT "Let Doxygen use dot (requires graphviz)" OFF)
 option(ENABLE_DOXYGEN_SHORTNAMES "Let Doxygen use shorter filenames (helps on Windows)" OFF)
 set(
-    MATHJAX_RELPATH https://cdn.jsdelivr.net/npm/mathjax@2/
+    MATHJAX_RELPATH /usr/share/javascript/mathjax
     CACHE STRING "MATHJAX_RELPATH option for Doxygen")
 mark_as_advanced(MATHJAX_RELPATH)