From 48f721de8f242b15f7588ea8bac363ad907730aa Mon Sep 17 00:00:00 2001 From: Gerhard Aigner Date: Tue, 5 Jan 2021 08:53:50 +0100 Subject: [PATCH 1/2] update highlightjs version --- src/Writers/HTMLWriter.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Writers/HTMLWriter.jl b/src/Writers/HTMLWriter.jl index 9c21ba6169..b37958023f 100644 --- a/src/Writers/HTMLWriter.jl +++ b/src/Writers/HTMLWriter.jl @@ -465,7 +465,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 = "9.15.10" + hljs_version = "10.5.0" push!(r, RemoteLibrary( "highlight", "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/$(hljs_version)/highlight.min.js" @@ -481,7 +481,7 @@ module RD end push!(r, Snippet( vcat(["jquery", "highlight"], ["highlight-$(jsescape(language))" for language in languages]), - ["\$", "hljs"], + ["\$"], raw""" $(document).ready(function() { hljs.initHighlighting(); From ae3567b14757f953cd89f6c8888622917e9ae304 Mon Sep 17 00:00:00 2001 From: Morten Piibeleht Date: Sat, 16 Jan 2021 16:29:03 +1300 Subject: [PATCH 2/2] Add CHANGELOG --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b422e9871..7ac3b8cf99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Documenter.jl changelog +## Version `v0.27.0` + +* ![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]) + ## Version `v0.26.1` * ![Bugfix][badge-bugfix] HTML assets that are copied directly from Documenters source to the build output now has correct file permissions. ([#1497][github-1497]) @@ -722,6 +728,7 @@ [github-1491]: https://github.com/JuliaDocs/Documenter.jl/pull/1491 [github-1493]: https://github.com/JuliaDocs/Documenter.jl/pull/1493 [github-1497]: https://github.com/JuliaDocs/Documenter.jl/pull/1497 +[github-1503]: https://github.com/JuliaDocs/Documenter.jl/pull/1503 [julia-38079]: https://github.com/JuliaLang/julia/issues/38079