From d2dbb3505468a551cf3a128f58b7087542c14575 Mon Sep 17 00:00:00 2001 From: Nicholas D Steeves Date: Sat, 10 Feb 2018 21:02:17 -0500 Subject: [PATCH] Use Debian-provided MathJax everywhere. Gbp-Pq: Name 0049-Use-Debian-provided-MathJax-everywhere.patch --- clang-tools-extra/docs/Doxyfile | 2 +- clang-tools-extra/docs/conf.py | 3 +++ clang-tools-extra/docs/doxygen.cfg.in | 2 +- clang/docs/analyzer/conf.py | 3 +++ clang/docs/conf.py | 3 +++ clang/docs/doxygen.cfg.in | 2 +- docs/doxygen.cfg.in | 2 +- polly/docs/doxygen.cfg.in | 2 +- 8 files changed, 14 insertions(+), 5 deletions(-) diff --git a/clang-tools-extra/docs/Doxyfile b/clang-tools-extra/docs/Doxyfile index d674390f..1bf4f72b 100644 --- a/clang-tools-extra/docs/Doxyfile +++ b/clang-tools-extra/docs/Doxyfile @@ -1206,7 +1206,7 @@ USE_MATHJAX = NO # MathJax, but it is strongly recommended to install a local copy of MathJax # before deployment. -MATHJAX_RELPATH = http://www.mathjax.org/mathjax +MATHJAX_RELPATH = /usr/share/javascript/mathjax # The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension # names that should be enabled during MathJax rendering. diff --git a/clang-tools-extra/docs/conf.py b/clang-tools-extra/docs/conf.py index 5bb3bd4d..693b8cc0 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 6dbf6db7..da44cfc7 100644 --- a/clang-tools-extra/docs/doxygen.cfg.in +++ b/clang-tools-extra/docs/doxygen.cfg.in @@ -1438,7 +1438,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 626ad5b1..b7df3c17 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 cbaa9a3f..fef25a99 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 13ed7222..77bed6e4 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 e3c7f479..dcdade14 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 36786aa5..26a89849 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 -- 2.30.2