From e1224a66fd8598ba9dc24fbcd8952600336bdd24 Mon Sep 17 00:00:00 2001 From: Morten Piibeleht Date: Thu, 10 Jun 2021 11:36:41 +1200 Subject: [PATCH 1/9] Bump Font Awesome: 0.15.0 -> 0.15.3 --- CHANGELOG.md | 3 +++ src/Writers/HTMLWriter.jl | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 110ab4d874..8c0ea79117 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ - highlight.js has been updated to `v10.5.0`, which also brings various updates to the highlighting of Julia code. Due to the changes in highlight.js, code highlighting will not work on IE11. ([#1503][github-1503], [#1551][github-1551]) + - Font Awesome has been updated to `v5.15.3` (patch version bump). ([#1590][github-1590]) + * ![Enhancement][badge-enhancement] `deploydocs` now throws an error if something goes wrong with the Git invocations used to deploy to `gh-pages`. ([#1529][github-1529]) * ![Enhancement][badge-enhancement] In the HTML output, the site name at the top of the sidebar now also links back to the main page of the documentation (just like the logo). ([#1553][github-1553]) @@ -793,6 +795,7 @@ [github-1559]: https://github.com/JuliaDocs/Documenter.jl/pull/1559 [github-1567]: https://github.com/JuliaDocs/Documenter.jl/pull/1567 [github-1577]: https://github.com/JuliaDocs/Documenter.jl/pull/1577 +[github-1590]: https://github.com/JuliaDocs/Documenter.jl/pull/1590 [julia-38079]: https://github.com/JuliaLang/julia/issues/38079 [julia-39841]: https://github.com/JuliaLang/julia/pull/39841 diff --git a/src/Writers/HTMLWriter.jl b/src/Writers/HTMLWriter.jl index 0aa49f2878..a88f891145 100644 --- a/src/Writers/HTMLWriter.jl +++ b/src/Writers/HTMLWriter.jl @@ -446,7 +446,7 @@ module RD const requirejs_cdn = "https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" const google_fonts = "https://fonts.googleapis.com/css?family=Lato|Roboto+Mono" - const fontawesome_version = "5.15.0" + const fontawesome_version = "5.15.3" const fontawesome_css = [ "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/$(fontawesome_version)/css/fontawesome.min.css", "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/$(fontawesome_version)/css/solid.min.css", From 7ce42ab507ceab281c02aafd741f3c295c56c016 Mon Sep 17 00:00:00 2001 From: Morten Piibeleht Date: Thu, 10 Jun 2021 11:39:42 +1200 Subject: [PATCH 2/9] Bump jQuery: 3.4.1 -> 3.6.0 --- CHANGELOG.md | 2 ++ src/Writers/HTMLWriter.jl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c0ea79117..31e73837db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ - highlight.js has been updated to `v10.5.0`, which also brings various updates to the highlighting of Julia code. Due to the changes in highlight.js, code highlighting will not work on IE11. ([#1503][github-1503], [#1551][github-1551]) + - jQuery been updated to `v3.6.0` (minor version bump). ([#1590][github-1590]) + - Font Awesome has been updated to `v5.15.3` (patch version bump). ([#1590][github-1590]) * ![Enhancement][badge-enhancement] `deploydocs` now throws an error if something goes wrong with the Git invocations used to deploy to `gh-pages`. ([#1529][github-1529]) diff --git a/src/Writers/HTMLWriter.jl b/src/Writers/HTMLWriter.jl index a88f891145..4c81634ad7 100644 --- a/src/Writers/HTMLWriter.jl +++ b/src/Writers/HTMLWriter.jl @@ -453,7 +453,7 @@ module RD "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/$(fontawesome_version)/css/brands.min.css", ] - const jquery = RemoteLibrary("jquery", "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js") + const jquery = RemoteLibrary("jquery", "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js") const jqueryui = RemoteLibrary("jqueryui", "https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js") const lunr = RemoteLibrary("lunr", "https://cdnjs.cloudflare.com/ajax/libs/lunr.js/2.3.6/lunr.min.js") const lodash = RemoteLibrary("lodash", "https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.15/lodash.min.js") From f2264fde5c20526c8d8e8326ffe36e4669b35975 Mon Sep 17 00:00:00 2001 From: Morten Piibeleht Date: Thu, 10 Jun 2021 11:47:00 +1200 Subject: [PATCH 3/9] Bump lunr.js: 2.3.6 -> 2.3.9 --- CHANGELOG.md | 2 ++ src/Writers/HTMLWriter.jl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 31e73837db..7708634d1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ - Font Awesome has been updated to `v5.15.3` (patch version bump). ([#1590][github-1590]) + - lunr.js has been updated to `v2.3.9` (patch version bump). ([#1590][github-1590]) + * ![Enhancement][badge-enhancement] `deploydocs` now throws an error if something goes wrong with the Git invocations used to deploy to `gh-pages`. ([#1529][github-1529]) * ![Enhancement][badge-enhancement] In the HTML output, the site name at the top of the sidebar now also links back to the main page of the documentation (just like the logo). ([#1553][github-1553]) diff --git a/src/Writers/HTMLWriter.jl b/src/Writers/HTMLWriter.jl index 4c81634ad7..ff688c94fb 100644 --- a/src/Writers/HTMLWriter.jl +++ b/src/Writers/HTMLWriter.jl @@ -455,7 +455,7 @@ module RD const jquery = RemoteLibrary("jquery", "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js") const jqueryui = RemoteLibrary("jqueryui", "https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js") - const lunr = RemoteLibrary("lunr", "https://cdnjs.cloudflare.com/ajax/libs/lunr.js/2.3.6/lunr.min.js") + const lunr = RemoteLibrary("lunr", "https://cdnjs.cloudflare.com/ajax/libs/lunr.js/2.3.9/lunr.min.js") const lodash = RemoteLibrary("lodash", "https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.15/lodash.min.js") # headroom From 2771ba540f5870086db20238e677d759e648da15 Mon Sep 17 00:00:00 2001 From: Morten Piibeleht Date: Thu, 10 Jun 2021 11:47:23 +1200 Subject: [PATCH 4/9] Bump lodash.js: 4.17.15 -> 4.17.21 --- CHANGELOG.md | 2 ++ src/Writers/HTMLWriter.jl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7708634d1b..bdb6258323 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ - lunr.js has been updated to `v2.3.9` (patch version bump). ([#1590][github-1590]) + - lodash.js has been updated to `v4.17.21` (patch version bump). ([#1590][github-1590]) + * ![Enhancement][badge-enhancement] `deploydocs` now throws an error if something goes wrong with the Git invocations used to deploy to `gh-pages`. ([#1529][github-1529]) * ![Enhancement][badge-enhancement] In the HTML output, the site name at the top of the sidebar now also links back to the main page of the documentation (just like the logo). ([#1553][github-1553]) diff --git a/src/Writers/HTMLWriter.jl b/src/Writers/HTMLWriter.jl index ff688c94fb..32e7f6ac60 100644 --- a/src/Writers/HTMLWriter.jl +++ b/src/Writers/HTMLWriter.jl @@ -456,7 +456,7 @@ module RD const jquery = RemoteLibrary("jquery", "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js") const jqueryui = RemoteLibrary("jqueryui", "https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js") const lunr = RemoteLibrary("lunr", "https://cdnjs.cloudflare.com/ajax/libs/lunr.js/2.3.9/lunr.min.js") - const lodash = RemoteLibrary("lodash", "https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.15/lodash.min.js") + const lodash = RemoteLibrary("lodash", "https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.min.js") # headroom const headroom_version = "0.10.3" From c1a3d79d5b9013a37b3f699ff47cf002c59cad22 Mon Sep 17 00:00:00 2001 From: Morten Piibeleht Date: Thu, 10 Jun 2021 12:10:11 +1200 Subject: [PATCH 5/9] Bump Headroom.js: 0.10.3 -> 0.12.0 --- CHANGELOG.md | 2 ++ src/Writers/HTMLWriter.jl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bdb6258323..03e635a47c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ - highlight.js has been updated to `v10.5.0`, which also brings various updates to the highlighting of Julia code. Due to the changes in highlight.js, code highlighting will not work on IE11. ([#1503][github-1503], [#1551][github-1551]) + - Headroom.js has been updated to `v0.12.0` (major version bump). ([#1590][github-1590]) + - jQuery been updated to `v3.6.0` (minor version bump). ([#1590][github-1590]) - Font Awesome has been updated to `v5.15.3` (patch version bump). ([#1590][github-1590]) diff --git a/src/Writers/HTMLWriter.jl b/src/Writers/HTMLWriter.jl index 32e7f6ac60..6929e515c4 100644 --- a/src/Writers/HTMLWriter.jl +++ b/src/Writers/HTMLWriter.jl @@ -459,7 +459,7 @@ module RD const lodash = RemoteLibrary("lodash", "https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.min.js") # headroom - const headroom_version = "0.10.3" + const headroom_version = "0.12.0" const headroom = RemoteLibrary("headroom", "https://cdnjs.cloudflare.com/ajax/libs/headroom/$(headroom_version)/headroom.min.js") const headroom_jquery = RemoteLibrary( "headroom-jquery", From 4731bb9a166f347f9d800765e80110386e925272 Mon Sep 17 00:00:00 2001 From: Morten Piibeleht Date: Thu, 10 Jun 2021 12:23:41 +1200 Subject: [PATCH 6/9] Bump highlight.js: 10.5.0 -> 11.0.1 This version bump includes an API change, which means we have to change to hljs.highlightAll(). Also, there have been updates to the style files which we vendor. --- CHANGELOG.md | 2 +- assets/html/scss/highlightjs/a11y-dark.css | 25 +++++----- assets/html/scss/highlightjs/default.css | 56 +++++++++++++++++----- assets/html/themes/documenter-dark.css | 21 ++++---- assets/html/themes/documenter-light.css | 44 +++++++++++++---- src/Writers/HTMLWriter.jl | 4 +- 6 files changed, 105 insertions(+), 47 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03e635a47c..8db589f441 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ * ![Enhancement][badge-enhancement] The JS dependencies have been updated to their respective latest versions. - - highlight.js has been updated to `v10.5.0`, which also brings various updates to the highlighting of Julia code. Due to the changes in highlight.js, code highlighting will not work on IE11. ([#1503][github-1503], [#1551][github-1551]) + - highlight.js has been updated to `v11.0.1` (major version bump), which also brings various updates to the highlighting of Julia code. Due to the changes in highlight.js, code highlighting will not work on IE11. ([#1503][github-1503], [#1551][github-1551], [#1590][github-1590]) - Headroom.js has been updated to `v0.12.0` (major version bump). ([#1590][github-1590]) diff --git a/assets/html/scss/highlightjs/a11y-dark.css b/assets/html/scss/highlightjs/a11y-dark.css index b93b742a45..e2486497cf 100644 --- a/assets/html/scss/highlightjs/a11y-dark.css +++ b/assets/html/scss/highlightjs/a11y-dark.css @@ -1,6 +1,15 @@ -/* a11y-dark theme */ -/* Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css */ -/* @author: ericwbailey */ +/*! + Theme: a11y-dark + Author: @ericwbailey + Maintainer: @ericwbailey + + Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css +*/ + +.hljs { + background: #2b2b2b; + color: #f8f8f2; +} /* Comment */ .hljs-comment, @@ -23,7 +32,6 @@ /* Orange */ .hljs-number, .hljs-built_in, -.hljs-builtin-name, .hljs-literal, .hljs-type, .hljs-params, @@ -57,14 +65,6 @@ color: #dcc6e0; } -.hljs { - display: block; - overflow-x: auto; - background: #2b2b2b; - color: #f8f8f2; - padding: 0.5em; -} - .hljs-emphasis { font-style: italic; } @@ -77,7 +77,6 @@ .hljs-addition, .hljs-attribute, .hljs-built_in, - .hljs-builtin-name, .hljs-bullet, .hljs-comment, .hljs-link, diff --git a/assets/html/scss/highlightjs/default.css b/assets/html/scss/highlightjs/default.css index f1bfade31e..b34cccf640 100644 --- a/assets/html/scss/highlightjs/default.css +++ b/assets/html/scss/highlightjs/default.css @@ -1,32 +1,66 @@ -/* +/*! + Theme: Default + Description: Original highlight.js style + Author: (c) Ivan Sagalaev + Maintainer: @highlightjs/core-team + Website: https://highlightjs.org/ + License: see project LICENSE + Touched: 2021 +*/ -Original highlight.js style (c) Ivan Sagalaev +/* +This is left on purpose making default.css the single file that can be lifted +as-is from the repository directly without the need for a build step +Typically this "required" baseline CSS is added by `makestuff.js` during build. */ - -.hljs { +pre code.hljs { display: block; overflow-x: auto; - padding: 0.5em; - background: #F0F0F0; + padding: 1em; } +code.hljs { + padding: 3px 5px; +} +/* end baseline CSS */ + +.hljs { + background: #F0F0F0; + color: #444; +} /* Base color: saturation 0; */ -.hljs, .hljs-subst { - color: #444; + /* default */ } +/* purposely ignored */ +.hljs-formula, +.hljs-attr, +.hljs-property, +.hljs-params {} + .hljs-comment { color: #888888; } +.hljs-tag, +.hljs-punctuation { + color: #444a; +} + +.hljs-tag .hljs-name, +.hljs-tag .hljs-attr { + color: #444; +} + .hljs-keyword, .hljs-attribute, .hljs-selector-tag, -.hljs-meta-keyword, +.hljs-meta .hljs-keyword, + .hljs-doctag, .hljs-name { font-weight: bold; @@ -58,11 +92,11 @@ Original highlight.js style (c) Ivan Sagalaev .hljs-template-variable, .hljs-link, .hljs-selector-attr, +.hljs-operator, .hljs-selector-pseudo { color: #BC6060; } - /* Language color: hue: 90; */ .hljs-literal { @@ -83,7 +117,7 @@ Original highlight.js style (c) Ivan Sagalaev color: #1f7199; } -.hljs-meta-string { +.hljs-meta .hljs-string { color: #4d99bf; } diff --git a/assets/html/themes/documenter-dark.css b/assets/html/themes/documenter-dark.css index ef46a6ea65..2e7125287e 100644 --- a/assets/html/themes/documenter-dark.css +++ b/assets/html/themes/documenter-dark.css @@ -1070,9 +1070,13 @@ html.theme--documenter-dark { * * The main container is
that is identified by id #documenter. */ - /* a11y-dark theme */ - /* Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css */ - /* @author: ericwbailey */ + /*! + Theme: a11y-dark + Author: @ericwbailey + Maintainer: @ericwbailey + + Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css +*/ /* Comment */ /* Red */ /* Orange */ @@ -7598,6 +7602,9 @@ html.theme--documenter-dark { overflow-y: scroll; text-rendering: optimizeLegibility; text-size-adjust: 100%; } + html.theme--documenter-dark .hljs { + background: #2b2b2b; + color: #f8f8f2; } html.theme--documenter-dark .hljs-comment, html.theme--documenter-dark .hljs-quote { color: #d4d0ab; } @@ -7612,7 +7619,6 @@ html.theme--documenter-dark { color: #ffa07a; } html.theme--documenter-dark .hljs-number, html.theme--documenter-dark .hljs-built_in, - html.theme--documenter-dark .hljs-builtin-name, html.theme--documenter-dark .hljs-literal, html.theme--documenter-dark .hljs-type, html.theme--documenter-dark .hljs-params, @@ -7632,12 +7638,6 @@ html.theme--documenter-dark { html.theme--documenter-dark .hljs-keyword, html.theme--documenter-dark .hljs-selector-tag { color: #dcc6e0; } - html.theme--documenter-dark .hljs { - display: block; - overflow-x: auto; - background: #2b2b2b; - color: #f8f8f2; - padding: 0.5em; } html.theme--documenter-dark .hljs-emphasis { font-style: italic; } html.theme--documenter-dark .hljs-strong { @@ -7646,7 +7646,6 @@ html.theme--documenter-dark { html.theme--documenter-dark .hljs-addition, html.theme--documenter-dark .hljs-attribute, html.theme--documenter-dark .hljs-built_in, - html.theme--documenter-dark .hljs-builtin-name, html.theme--documenter-dark .hljs-bullet, html.theme--documenter-dark .hljs-comment, html.theme--documenter-dark .hljs-link, diff --git a/assets/html/themes/documenter-light.css b/assets/html/themes/documenter-light.css index 5002813fe7..9ba7df2245 100644 --- a/assets/html/themes/documenter-light.css +++ b/assets/html/themes/documenter-light.css @@ -7579,29 +7579,54 @@ html { #documenter .docs-main #documenter-search-results .docs-highlight { background-color: yellow; } +/*! + Theme: Default + Description: Original highlight.js style + Author: (c) Ivan Sagalaev + Maintainer: @highlightjs/core-team + Website: https://highlightjs.org/ + License: see project LICENSE + Touched: 2021 +*/ /* +This is left on purpose making default.css the single file that can be lifted +as-is from the repository directly without the need for a build step -Original highlight.js style (c) Ivan Sagalaev - +Typically this "required" baseline CSS is added by `makestuff.js` during build. */ -.hljs { +pre code.hljs { display: block; overflow-x: auto; - padding: 0.5em; - background: #F0F0F0; } + padding: 1em; } + +code.hljs { + padding: 3px 5px; } + +/* end baseline CSS */ +.hljs { + background: #F0F0F0; + color: #444; } /* Base color: saturation 0; */ -.hljs, .hljs-subst { - color: #444; } + /* default */ } +/* purposely ignored */ .hljs-comment { color: #888888; } +.hljs-tag, +.hljs-punctuation { + color: #444a; } + +.hljs-tag .hljs-name, +.hljs-tag .hljs-attr { + color: #444; } + .hljs-keyword, .hljs-attribute, .hljs-selector-tag, -.hljs-meta-keyword, +.hljs-meta .hljs-keyword, .hljs-doctag, .hljs-name { font-weight: bold; } @@ -7628,6 +7653,7 @@ Original highlight.js style (c) Ivan Sagalaev .hljs-template-variable, .hljs-link, .hljs-selector-attr, +.hljs-operator, .hljs-selector-pseudo { color: #BC6060; } @@ -7645,7 +7671,7 @@ Original highlight.js style (c) Ivan Sagalaev .hljs-meta { color: #1f7199; } -.hljs-meta-string { +.hljs-meta .hljs-string { color: #4d99bf; } /* Misc effects */ diff --git a/src/Writers/HTMLWriter.jl b/src/Writers/HTMLWriter.jl index 6929e515c4..95831a4373 100644 --- a/src/Writers/HTMLWriter.jl +++ b/src/Writers/HTMLWriter.jl @@ -473,7 +473,7 @@ module RD # NOTE: the CSS themes for hightlightjs are compiled into the Documenter CSS # When updating this dependency, it is also necessary to update the the CSS # files the CSS files in assets/html/scss/highlightjs - hljs_version = "10.5.0" + hljs_version = "11.0.1" push!(r, RemoteLibrary( "highlight", "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/$(hljs_version)/highlight.min.js" @@ -492,7 +492,7 @@ module RD ["\$"], raw""" $(document).ready(function() { - hljs.initHighlighting(); + hljs.highlightAll(); }) """ )) From 7d63173170786551f9d356a891d72f9cc1981fb5 Mon Sep 17 00:00:00 2001 From: Morten Piibeleht Date: Thu, 10 Jun 2021 12:36:14 +1200 Subject: [PATCH 7/9] Bump MathJax: 2.7.6 -> 2.7.7, 3.0.5 -> 3.1.4 --- CHANGELOG.md | 2 ++ src/Writers/HTMLWriter.jl | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8db589f441..40362a9db6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ - Headroom.js has been updated to `v0.12.0` (major version bump). ([#1590][github-1590]) + - MathJax versions have been updated to `v2.7.7` (patch version bump) and `v3.1.4` (minor version bump), for MathJax 2 and 3, respectively. ([#1590][github-1590]) + - jQuery been updated to `v3.6.0` (minor version bump). ([#1590][github-1590]) - Font Awesome has been updated to `v5.15.3` (patch version bump). ([#1590][github-1590]) diff --git a/src/Writers/HTMLWriter.jl b/src/Writers/HTMLWriter.jl index 95831a4373..8d9e99791e 100644 --- a/src/Writers/HTMLWriter.jl +++ b/src/Writers/HTMLWriter.jl @@ -525,7 +525,7 @@ module RD )) end function mathengine!(r::RequireJS, engine::MathJax2) - url = isempty(engine.url) ? "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.6/MathJax.js?config=TeX-AMS_HTML" : engine.url + url = isempty(engine.url) ? "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS_HTML" : engine.url push!(r, RemoteLibrary( "mathjax", url, @@ -538,7 +538,7 @@ module RD )) end function mathengine!(r::RequireJS, engine::MathJax3) - url = isempty(engine.url) ? "https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.0.5/es5/tex-svg.js" : engine.url + url = isempty(engine.url) ? "https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.1.4/es5/tex-svg.js" : engine.url push!(r, Snippet([], [], """ window.MathJax = $(json_jsescape(engine.config, 2)); From 4d721f0ac2b02de40f34f56b91a8756d0684dd11 Mon Sep 17 00:00:00 2001 From: Morten Piibeleht Date: Thu, 10 Jun 2021 12:40:31 +1200 Subject: [PATCH 8/9] Bump KaTeX: 0.11.1 -> 0.13.11 --- CHANGELOG.md | 2 ++ src/Writers/HTMLWriter.jl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 40362a9db6..465d2dafd3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ - Headroom.js has been updated to `v0.12.0` (major version bump). ([#1590][github-1590]) + - KaTeX been updated to `v0.13.11` (major version bump). ([#1590][github-1590]) + - MathJax versions have been updated to `v2.7.7` (patch version bump) and `v3.1.4` (minor version bump), for MathJax 2 and 3, respectively. ([#1590][github-1590]) - jQuery been updated to `v3.6.0` (minor version bump). ([#1590][github-1590]) diff --git a/src/Writers/HTMLWriter.jl b/src/Writers/HTMLWriter.jl index 8d9e99791e..63a88142d5 100644 --- a/src/Writers/HTMLWriter.jl +++ b/src/Writers/HTMLWriter.jl @@ -499,7 +499,7 @@ module RD end # MathJax & KaTeX - const katex_version = "0.11.1" + const katex_version = "0.13.11" const katex_css = "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/$(katex_version)/katex.min.css" function mathengine!(r::RequireJS, engine::KaTeX) push!(r, RemoteLibrary( From 3b802e9cb6b7439fe3f187061a47672538915de6 Mon Sep 17 00:00:00 2001 From: Morten Piibeleht Date: Thu, 10 Jun 2021 11:11:21 +1200 Subject: [PATCH 9/9] Set version to 0.27.0 * Use DocumenterTools 0.1.12 --- Project.toml | 2 +- docs/Project.toml | 2 +- test/themes/Project.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index bdb18a5e44..87da21b64f 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "Documenter" uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4" -version = "0.26.1" +version = "0.27.0" [deps] Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" diff --git a/docs/Project.toml b/docs/Project.toml index 3c3eb0109c..f2611138cc 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -3,4 +3,4 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" DocumenterTools = "35a29f4d-8980-5a13-9543-d66fff28ecb8" [compat] -DocumenterTools = "=0.1.11" +DocumenterTools = "=0.1.12" diff --git a/test/themes/Project.toml b/test/themes/Project.toml index 6bd0c5db3a..f2611138cc 100644 --- a/test/themes/Project.toml +++ b/test/themes/Project.toml @@ -3,4 +3,4 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" DocumenterTools = "35a29f4d-8980-5a13-9543-d66fff28ecb8" [compat] -DocumenterTools = "=0.1.9" +DocumenterTools = "=0.1.12"