Use Debian-provided MathJax everywhere.
authorNicholas D Steeves <nsteeves@gmail.com>
Sun, 11 Feb 2018 02:02:17 +0000 (21:02 -0500)
committerSylvestre Ledru <sylvestre@debian.org>
Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)
Gbp-Pq: Name 0049-Use-Debian-provided-MathJax-everywhere.patch

clang-tools-extra/docs/conf.py
clang-tools-extra/docs/doxygen.cfg.in
clang/docs/analyzer/conf.py
clang/docs/conf.py
clang/docs/doxygen.cfg.in
llvm/docs/doxygen.cfg.in
polly/docs/doxygen.cfg.in

index feb7a1da636437e0d45effea6c3615e88cc4b631..7279f7b54750db22896ab2d4216a2d33ea8c9e22 100644 (file)
@@ -119,6 +119,9 @@ html_theme = "haiku"
 # so a file named "default.css" will overwrite the builtin "default.css".
 html_static_path = ["_static"]
 
+# Use Debian-provided MathJax
+mathjax_path = '/usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.
 # html_last_updated_fmt = '%b %d, %Y'
index df33a63906389bfba6153f7ee1ad4f2048ce3cc1..8997a1380e4c4068e11839740a19c5c06a726051 100644 (file)
@@ -1443,7 +1443,7 @@ MATHJAX_FORMAT         = HTML-CSS
 # 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
index c0c1602cbd6fec4c48d8627fbfb1d3f456e5d899..759561ef6ccd0b005c8881e5611abbdd9e8ae5d1 100644 (file)
@@ -120,6 +120,9 @@ html_theme = "haiku"
 # so a file named "default.css" will overwrite the builtin "default.css".
 html_static_path = ['_static']
 
+# Use Debian-provided MathJax
+mathjax_path = '/usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.
 # html_last_updated_fmt = '%b %d, %Y'
index be7e7fe70672521561a666b28f23d6f9e7e2f510..a734735a31fc9a20fc6f360917e4fb1588c7d30c 100644 (file)
@@ -129,6 +129,9 @@ html_theme = "haiku"
 # so a file named "default.css" will overwrite the builtin "default.css".
 html_static_path = ['_static']
 
+# Use Debian-provided MathJax
+mathjax_path = '/usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.
 # html_last_updated_fmt = '%b %d, %Y'
index 251afb179b20550adc59539417a8122555041d7f..9cfb63027aabf13aded47ea6eed95ce340f59833 100644 (file)
@@ -1432,7 +1432,7 @@ MATHJAX_FORMAT         = HTML-CSS
 # 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
index 4f2f02f400bb05eb56580e0a4dde40fc0ec9cd38..6fce1821924f783f97c41420be0ccafb8fac1dfd 100644 (file)
@@ -1433,7 +1433,7 @@ MATHJAX_FORMAT         = HTML-CSS
 # The default value is: http://cdn.mathjax.org/mathjax/latest.
 # This tag requires that the tag USE_MATHJAX is set to YES.
 
-MATHJAX_RELPATH        = https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js
+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
index befe6e138ec2729dd6d5e3dbe0fa186afdcfefd1..89be9e2a501c8c935809f03e4e45922410a029e2 100644 (file)
@@ -1433,7 +1433,7 @@ MATHJAX_FORMAT         = HTML-CSS
 # 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