From bbf03a4e8e70756e682a35cf76a8cbf4b0e9b3a3 Mon Sep 17 00:00:00 2001 From: apn Date: Tue, 25 Jul 2017 20:17:32 +0300 Subject: [PATCH] 0028951: MathJax CDN shutting down Correct all links using old MathJax version. --- adm/gendoc.tcl | 2 +- dox/CMakeLists.txt | 2 +- dox/dev_guides/documentation/documentation.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/adm/gendoc.tcl b/adm/gendoc.tcl index 5184b4b5c2..226a587491 100644 --- a/adm/gendoc.tcl +++ b/adm/gendoc.tcl @@ -70,7 +70,7 @@ proc gendoc {args} { set DOCLABEL "" set VERB_MODE "NO" set SEARCH_MODE "none" - set MATHJAX_LOCATION "https://cdn.mathjax.org/mathjax/latest" + set MATHJAX_LOCATION "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1" set mathjax_js_name "MathJax.js" set DOCTYPE_COMBO_FLAG 0 set GENMODE_COMBO_FLAG 0 diff --git a/dox/CMakeLists.txt b/dox/CMakeLists.txt index 415ddc967f..c489f3a3d8 100644 --- a/dox/CMakeLists.txt +++ b/dox/CMakeLists.txt @@ -35,7 +35,7 @@ endif() # configuration file for doxygen set (OCCT_CONFIG_FOR_DOXYGEN "${OCCT_GENERATED_DOC_DIR}/occt.cfg") -set (3RDPARTY_MATHJAX_RELATIVE_PATH "https://cdn.mathjax.org/mathjax/latest") +set (3RDPARTY_MATHJAX_RELATIVE_PATH "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1") configure_file ("${OCCT_OVERVIEW_RESOURCE_DIR}/occt_ug_html.doxyfile" "${OCCT_CONFIG_FOR_DOXYGEN}" COPYONLY) diff --git a/dox/dev_guides/documentation/documentation.md b/dox/dev_guides/documentation/documentation.md index 704a8c95c3..79977fd1c9 100644 --- a/dox/dev_guides/documentation/documentation.md +++ b/dox/dev_guides/documentation/documentation.md @@ -38,7 +38,7 @@ Follow the instructions to proceed (define proxy settings if needed, select a mi **MathJax** is used for rendering math formulas in browser (HTML and CHM outputs): http://www.mathjax.org. By default MathJAX scripts and fonts work on-line and no installation of MathJAX is necessary if Internet is accessible. -If you need to use OCCT documentation while off-line, you can install a local copy of MatJAX, see https://docs.mathjax.org/en/v2.6-latest/start.html#installing-your-own-copy-of-mathjax. +If you need to use OCCT documentation while off-line, you can install a local copy of MatJAX, see https://docs.mathjax.org/en/v2.7-latest/start.html#installing-your-own-copy-of-mathjax. See \ref OCCT_DM_SECTION_A_9 for more details on inserting mathematical expressions. @section OCCT_DM_SECTION_2_1 Documentation Generation