From: Nicholas D Steeves Date: Sun, 11 Feb 2018 02:02:17 +0000 (-0500) Subject: Use Debian-provided MathJax everywhere. X-Git-Tag: archive/raspbian/1%7.0.1-9+rpi1^2~38 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bb5cd9678c87405bad5f620e695d0e240d2be832;p=llvm-toolchain-7.git Use Debian-provided MathJax everywhere. Gbp-Pq: Name 0049-Use-Debian-provided-MathJax-everywhere.patch --- diff --git a/clang-tools-extra/docs/conf.py b/clang-tools-extra/docs/conf.py index 870398e6e..2a2a00db3 100644 --- a/clang-tools-extra/docs/conf.py +++ b/clang-tools-extra/docs/conf.py @@ -123,6 +123,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' diff --git a/clang-tools-extra/docs/doxygen.cfg.in b/clang-tools-extra/docs/doxygen.cfg.in index 880958893..7c1b27203 100644 --- a/clang-tools-extra/docs/doxygen.cfg.in +++ b/clang-tools-extra/docs/doxygen.cfg.in @@ -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 diff --git a/clang/docs/analyzer/conf.py b/clang/docs/analyzer/conf.py index 626ad5b19..b7df3c173 100644 --- a/clang/docs/analyzer/conf.py +++ b/clang/docs/analyzer/conf.py @@ -123,6 +123,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' diff --git a/clang/docs/conf.py b/clang/docs/conf.py index 2ed21d65e..0511e695a 100644 --- a/clang/docs/conf.py +++ b/clang/docs/conf.py @@ -123,6 +123,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' diff --git a/clang/docs/doxygen.cfg.in b/clang/docs/doxygen.cfg.in index 61f912001..d1b7b807d 100644 --- a/clang/docs/doxygen.cfg.in +++ b/clang/docs/doxygen.cfg.in @@ -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 diff --git a/docs/doxygen.cfg.in b/docs/doxygen.cfg.in index fc11f6863..18a2d281e 100644 --- a/docs/doxygen.cfg.in +++ b/docs/doxygen.cfg.in @@ -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 diff --git a/polly/docs/doxygen.cfg.in b/polly/docs/doxygen.cfg.in index 36786aa56..26a89849f 100644 --- a/polly/docs/doxygen.cfg.in +++ b/polly/docs/doxygen.cfg.in @@ -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