From 9ce7007b6a3062a55f3be760afc8d45abb266e20 Mon Sep 17 00:00:00 2001 From: woclass Date: Mon, 13 Mar 2023 17:36:28 +0800 Subject: [PATCH 1/9] Bump highlight.js from `v11.5.1` to `v11.7.0` --- CHANGELOG.md | 2 ++ assets/html/scss/highlightjs/a11y-dark.css | 1 + assets/html/scss/highlightjs/default.css | 12 +++++++----- src/html/RD.jl | 2 +- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 52253e7f2d..3637256733 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,6 +63,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Added keyboard shortcuts for search box (`Ctrl + /` or `Cmd + /` to focus into the search box, `Esc` to focus out of it). (#1536), (#2027) +* highlight.js has been updated from `v11.5.1` to `v11.7.0`. + ### Fixed * Documenter now generates the correct source URLs for docstrings from other packages when the `repo` argument to `makedocs` is set (note: the source links to such docstrings only work if the external package is cloned from GitHub and added as a dev-dependency). However, this change **breaks** the case where the `repo` argument is used to override the main package/repository URL, assuming the repository is cloned from GitHub. (#1808) diff --git a/assets/html/scss/highlightjs/a11y-dark.css b/assets/html/scss/highlightjs/a11y-dark.css index e2486497cf..f40cb02ec3 100644 --- a/assets/html/scss/highlightjs/a11y-dark.css +++ b/assets/html/scss/highlightjs/a11y-dark.css @@ -1,3 +1,4 @@ +/* https://github.com/highlightjs/highlight.js/blob/11.7.0/src/styles/a11y-dark.css */ /*! Theme: a11y-dark Author: @ericwbailey diff --git a/assets/html/scss/highlightjs/default.css b/assets/html/scss/highlightjs/default.css index e8a890cc3b..1e83fa873d 100644 --- a/assets/html/scss/highlightjs/default.css +++ b/assets/html/scss/highlightjs/default.css @@ -1,3 +1,4 @@ +/* https://github.com/highlightjs/highlight.js/blob/11.7.0/src/styles/default.css */ /*! Theme: Default Description: Original highlight.js style @@ -17,6 +18,7 @@ Typically this "required" baseline CSS is added by `makestuff.js` during build. pre code.hljs { display: block; overflow-x: auto; + padding: 1em; } code.hljs { @@ -25,7 +27,7 @@ code.hljs { /* end baseline CSS */ .hljs { - background: #F0F0F0; + background: #F3F3F3; color: #444; } @@ -42,7 +44,7 @@ code.hljs { .hljs-params {} .hljs-comment { - color: #888888; + color: #697070; } .hljs-tag, .hljs-punctuation { @@ -93,13 +95,13 @@ code.hljs { .hljs-selector-attr, .hljs-operator, .hljs-selector-pseudo { - color: #BC6060; + color: #ab5656; } /* Language color: hue: 90; */ .hljs-literal { - color: #78A960; + color: #695; } .hljs-built_in, @@ -117,7 +119,7 @@ code.hljs { } .hljs-meta .hljs-string { - color: #4d99bf; + color: #38a; } diff --git a/src/html/RD.jl b/src/html/RD.jl index 0c07131ccb..2935dafe67 100644 --- a/src/html/RD.jl +++ b/src/html/RD.jl @@ -34,7 +34,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 = "11.5.1" + hljs_version = "11.7.0" push!(r, RemoteLibrary( "highlight", "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/$(hljs_version)/highlight.min.js" From bb0381ed3d1bdb3798dfbb2852ca84f90d4d7f3f Mon Sep 17 00:00:00 2001 From: woclass Date: Mon, 13 Mar 2023 17:38:40 +0800 Subject: [PATCH 2/9] Bump JuliaMono from `v0.045` to `v0.048` --- CHANGELOG.md | 2 ++ src/html/RD.jl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3637256733..a30c618165 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -65,6 +65,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * highlight.js has been updated from `v11.5.1` to `v11.7.0`. +* JuliaMono has been updated from `v0.045` to `v0.048`. + ### Fixed * Documenter now generates the correct source URLs for docstrings from other packages when the `repo` argument to `makedocs` is set (note: the source links to such docstrings only work if the external package is cloned from GitHub and added as a dev-dependency). However, this change **breaks** the case where the `repo` argument is used to override the main package/repository URL, assuming the repository is cloned from GitHub. (#1808) diff --git a/src/html/RD.jl b/src/html/RD.jl index 2935dafe67..c869ce34d8 100644 --- a/src/html/RD.jl +++ b/src/html/RD.jl @@ -6,7 +6,7 @@ module RD const requirejs_cdn = "https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" const lato = "https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/css/lato-font.min.css" - const juliamono = "https://cdnjs.cloudflare.com/ajax/libs/juliamono/0.045/juliamono.min.css" + const juliamono = "https://cdnjs.cloudflare.com/ajax/libs/juliamono/0.048/juliamono.min.css" const fontawesome_version = "5.15.4" const fontawesome_css = [ "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/$(fontawesome_version)/css/fontawesome.min.css", From b306147d261e238e2336156d02c3b175b0d92878 Mon Sep 17 00:00:00 2001 From: woclass Date: Mon, 13 Mar 2023 19:30:43 +0800 Subject: [PATCH 3/9] Bump highlight.js: update compiled css --- assets/html/themes/documenter-dark.css | 1 + assets/html/themes/documenter-light.css | 14 ++++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/assets/html/themes/documenter-dark.css b/assets/html/themes/documenter-dark.css index 8aedc56310..577fb5ff0d 100644 --- a/assets/html/themes/documenter-dark.css +++ b/assets/html/themes/documenter-dark.css @@ -1056,6 +1056,7 @@ html.theme--documenter-dark { * * The main container is
that is identified by id #documenter. */ + /* https://github.com/highlightjs/highlight.js/blob/11.7.0/src/styles/a11y-dark.css */ /*! Theme: a11y-dark Author: @ericwbailey diff --git a/assets/html/themes/documenter-light.css b/assets/html/themes/documenter-light.css index cb8e1d5044..43a778e8b8 100644 --- a/assets/html/themes/documenter-light.css +++ b/assets/html/themes/documenter-light.css @@ -7638,6 +7638,7 @@ code.language-julia-repl > span.hljs-meta { color: #066f00; font-weight: bolder; } +/* https://github.com/highlightjs/highlight.js/blob/11.7.0/src/styles/default.css */ /*! Theme: Default Description: Original highlight.js style @@ -7655,14 +7656,15 @@ Typically this "required" baseline CSS is added by `makestuff.js` during build. */ pre code.hljs { display: block; - overflow-x: auto; } + overflow-x: auto; + padding: 1em; } code.hljs { padding: 3px 5px; } /* end baseline CSS */ .hljs { - background: #F0F0F0; + background: #F3F3F3; color: #444; } /* Base color: saturation 0; */ @@ -7671,7 +7673,7 @@ code.hljs { /* purposely ignored */ .hljs-comment { - color: #888888; } + color: #697070; } .hljs-tag, .hljs-punctuation { @@ -7713,11 +7715,11 @@ code.hljs { .hljs-selector-attr, .hljs-operator, .hljs-selector-pseudo { - color: #BC6060; } + color: #ab5656; } /* Language color: hue: 90; */ .hljs-literal { - color: #78A960; } + color: #695; } .hljs-built_in, .hljs-bullet, @@ -7730,7 +7732,7 @@ code.hljs { color: #1f7199; } .hljs-meta .hljs-string { - color: #4d99bf; } + color: #38a; } /* Misc effects */ .hljs-emphasis { From feabbeef5f6058d699b60debacab28e502a959cc Mon Sep 17 00:00:00 2001 From: woclass Date: Mon, 13 Mar 2023 20:03:00 +0800 Subject: [PATCH 4/9] Update CHANGELOG.md --- CHANGELOG.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a30c618165..9cae7b5ce0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,9 +63,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Added keyboard shortcuts for search box (`Ctrl + /` or `Cmd + /` to focus into the search box, `Esc` to focus out of it). (#1536), (#2027) -* highlight.js has been updated from `v11.5.1` to `v11.7.0`. - -* JuliaMono has been updated from `v0.045` to `v0.048`. +* The various JS and font dependencies of the HTML backend have been updated to the latest non-breaking versions. + + - highlight.js has been updated from `v11.5.1` to `v11.7.0`. + - JuliaMono has been updated from `v0.045` to `v0.048`. ### Fixed From 333fb9ad26776b1339d6e1b45dcacc3813a69af9 Mon Sep 17 00:00:00 2001 From: woclass Date: Mon, 13 Mar 2023 20:03:59 +0800 Subject: [PATCH 5/9] Bump jQuery UI from `v1.12.1` to `v1.13.2` --- CHANGELOG.md | 1 + src/html/RD.jl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9cae7b5ce0..0fe5914491 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -67,6 +67,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - highlight.js has been updated from `v11.5.1` to `v11.7.0`. - JuliaMono has been updated from `v0.045` to `v0.048`. + - jQuery UI has been updated from `v1.12.1` to `v1.13.2`. ### Fixed diff --git a/src/html/RD.jl b/src/html/RD.jl index c869ce34d8..de30d77eee 100644 --- a/src/html/RD.jl +++ b/src/html/RD.jl @@ -15,7 +15,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 jqueryui = RemoteLibrary("jqueryui", "https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.13.2/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.21/lodash.min.js") From 8c11ab352aa2abf2ade1fd0c95140ddea3361eb0 Mon Sep 17 00:00:00 2001 From: woclass Date: Mon, 13 Mar 2023 20:04:35 +0800 Subject: [PATCH 6/9] Bump jquery from `v3.6.0` to `v3.6.4` --- CHANGELOG.md | 1 + src/html/RD.jl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fe5914491..33528b652d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -68,6 +68,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - highlight.js has been updated from `v11.5.1` to `v11.7.0`. - JuliaMono has been updated from `v0.045` to `v0.048`. - jQuery UI has been updated from `v1.12.1` to `v1.13.2`. + - jquery has been updated from `v3.6.0` to `v3.6.4`. ### Fixed diff --git a/src/html/RD.jl b/src/html/RD.jl index de30d77eee..516a13d91d 100644 --- a/src/html/RD.jl +++ b/src/html/RD.jl @@ -14,7 +14,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.6.0/jquery.min.js") + const jquery = RemoteLibrary("jquery", "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.4/jquery.min.js") const jqueryui = RemoteLibrary("jqueryui", "https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.13.2/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.21/lodash.min.js") From 88593385668bd5b0e9fcbc44785cb897cfadc45e Mon Sep 17 00:00:00 2001 From: woclass Date: Tue, 14 Mar 2023 13:22:37 +0800 Subject: [PATCH 7/9] Bump MathJax 2 from `v2.7.7` to `v2.7.9` --- CHANGELOG.md | 1 + src/html/RD.jl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 303ef5952b..352901e078 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -71,6 +71,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - JuliaMono has been updated from `v0.045` to `v0.048`. - jQuery UI has been updated from `v1.12.1` to `v1.13.2`. - jquery has been updated from `v3.6.0` to `v3.6.4`. + - MathJax 2 has been updated from `v2.7.7` to `v2.7.9`. ### Fixed diff --git a/src/html/RD.jl b/src/html/RD.jl index 7ee1fd81f4..f2a352d85e 100644 --- a/src/html/RD.jl +++ b/src/html/RD.jl @@ -86,7 +86,7 @@ module RD )) end function mathengine!(r::RequireJS, engine::MathJax2) - url = isempty(engine.url) ? "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS_HTML" : engine.url + url = isempty(engine.url) ? "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/MathJax.js?config=TeX-AMS_HTML" : engine.url push!(r, RemoteLibrary( "mathjax", url, From b5cf60ef3e1a92be7f26f3bf2f2cc0a3d6613a1a Mon Sep 17 00:00:00 2001 From: woclass Date: Tue, 14 Mar 2023 13:26:54 +0800 Subject: [PATCH 8/9] Link github pr --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 352901e078..a40f5788de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,9 +63,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Added keyboard shortcuts for search box (`Ctrl + /` or `Cmd + /` to focus into the search box, `Esc` to focus out of it). (#1536), (#2027) -* KaTeX has been updated from `v0.13.24` to `v0.16.4` (major version bump). +* KaTeX has been updated from `v0.13.24` to `v0.16.4` (major version bump). (#2066) -* The various JS and font dependencies of the HTML backend have been updated to the latest non-breaking versions. +* The various JS and font dependencies of the HTML backend have been updated to the latest non-breaking versions. (#2067) - highlight.js has been updated from `v11.5.1` to `v11.7.0`. - JuliaMono has been updated from `v0.045` to `v0.048`. From 7e1efc22c1507621d22653e91e295445c6167595 Mon Sep 17 00:00:00 2001 From: woclass Date: Wed, 15 Mar 2023 11:43:31 +0800 Subject: [PATCH 9/9] Update CHANGELOG.md Co-authored-by: Morten Piibeleht --- CHANGELOG.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a40f5788de..cefd00df03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -63,10 +63,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Added keyboard shortcuts for search box (`Ctrl + /` or `Cmd + /` to focus into the search box, `Esc` to focus out of it). (#1536), (#2027) -* KaTeX has been updated from `v0.13.24` to `v0.16.4` (major version bump). (#2066) +* The various JS and font dependencies of the HTML backend have been updated to the latest non-breaking versions. (#2066, #2067) -* The various JS and font dependencies of the HTML backend have been updated to the latest non-breaking versions. (#2067) - + - KaTeX has been updated from `v0.13.24` to `v0.16.4` (major version bump). - highlight.js has been updated from `v11.5.1` to `v11.7.0`. - JuliaMono has been updated from `v0.045` to `v0.048`. - jQuery UI has been updated from `v1.12.1` to `v1.13.2`.