From a6c9738b93e5c47cfc05144322304e0fcfe9706b Mon Sep 17 00:00:00 2001 From: "Viral B. Shah" Date: Sun, 24 Apr 2022 13:48:23 -0400 Subject: [PATCH 1/5] Update the warning for dev version docs --- assets/html/warner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/html/warner.js b/assets/html/warner.js index e818482272..c3e671059b 100644 --- a/assets/html/warner.js +++ b/assets/html/warner.js @@ -37,7 +37,7 @@ function maybeAddWarning () { document.body.removeChild(div); }); const href = window.documenterBaseURL + '/../' + window.DOCUMENTER_STABLE; - div.innerHTML = 'This documentation is not for the latest version.
Go to the latest documentation.'; + div.innerHTML = 'This documentation is for the development version.
Go to the documentation for the latest stable release.'; div.appendChild(closer); document.body.appendChild(div); }; From dee8d8eb23697caaf9c1d957502ddcddc6e30d0b Mon Sep 17 00:00:00 2001 From: "Viral B. Shah" Date: Wed, 27 Apr 2022 18:47:45 -0400 Subject: [PATCH 2/5] Update assets/html/warner.js Co-authored-by: Morten Piibeleht --- assets/html/warner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/html/warner.js b/assets/html/warner.js index c3e671059b..1ebd570ea7 100644 --- a/assets/html/warner.js +++ b/assets/html/warner.js @@ -37,7 +37,7 @@ function maybeAddWarning () { document.body.removeChild(div); }); const href = window.documenterBaseURL + '/../' + window.DOCUMENTER_STABLE; - div.innerHTML = 'This documentation is for the development version.
Go to the documentation for the latest stable release.'; + div.innerHTML = 'This documentation is not for the latest stable release, but for either the development version or an older outdated release.
Click here to go to the documentation for the latest stable release.'; div.appendChild(closer); document.body.appendChild(div); }; From 0a196ec0a1c85627c8ffe39ba45fa0c353008bde Mon Sep 17 00:00:00 2001 From: "Viral B. Shah" Date: Wed, 27 Apr 2022 18:48:02 -0400 Subject: [PATCH 3/5] Update warner.js --- assets/html/warner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/html/warner.js b/assets/html/warner.js index 1ebd570ea7..5531c8851b 100644 --- a/assets/html/warner.js +++ b/assets/html/warner.js @@ -37,7 +37,7 @@ function maybeAddWarning () { document.body.removeChild(div); }); const href = window.documenterBaseURL + '/../' + window.DOCUMENTER_STABLE; - div.innerHTML = 'This documentation is not for the latest stable release, but for either the development version or an older outdated release.
Click here to go to the documentation for the latest stable release.'; + div.innerHTML = 'This documentation is not for the latest stable release, but for either the development version or an older release.
Click here to go to the documentation for the latest stable release.'; div.appendChild(closer); document.body.appendChild(div); }; From 1753f866ed5e09218aba1ec468e470805911e7b4 Mon Sep 17 00:00:00 2001 From: Morten Piibeleht Date: Thu, 28 Apr 2022 11:00:22 +1200 Subject: [PATCH 4/5] Update CHANGELOG.md --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 009ebe3e3f..b95e035273 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## Unreleased * ![Enhancement][badge-enhancement] PDF/LaTeX output can now be compiled with the [Tectonic](https://tectonic-typesetting.github.io) LaTeX engine. ([#1802][github-1802], [#1803][github-1803]) +* ![Enhancement][badge-enhancement] The phrasing of the oudated version warning in the HTML output has been improved. ([#1805][github-1805]) * ![Bugfix][badge-bugfix] When linkchecking HTTP and HTTPS URLs, Documenter now also passes a realistic `accept-encoding` header along with the request, in order to work around servers that try to block non-browser requests. ([#1807][github-1807]) ## Version `v0.27.16` @@ -1014,6 +1015,7 @@ [github-1797]: https://github.com/JuliaDocs/Documenter.jl/pull/1797 [github-1802]: https://github.com/JuliaDocs/Documenter.jl/issues/1802 [github-1803]: https://github.com/JuliaDocs/Documenter.jl/pull/1803 +[github-1805]: https://github.com/JuliaDocs/Documenter.jl/pull/1805 [github-1807]: https://github.com/JuliaDocs/Documenter.jl/pull/1807 From 1f916c60efb5ce3345914b7d0b1d39c60a344709 Mon Sep 17 00:00:00 2001 From: Morten Piibeleht Date: Thu, 28 Apr 2022 11:00:47 +1200 Subject: [PATCH 5/5] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b95e035273..9584fc16ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ ## Unreleased * ![Enhancement][badge-enhancement] PDF/LaTeX output can now be compiled with the [Tectonic](https://tectonic-typesetting.github.io) LaTeX engine. ([#1802][github-1802], [#1803][github-1803]) -* ![Enhancement][badge-enhancement] The phrasing of the oudated version warning in the HTML output has been improved. ([#1805][github-1805]) +* ![Enhancement][badge-enhancement] The phrasing of the outdated version warning in the HTML output has been improved. ([#1805][github-1805]) * ![Bugfix][badge-bugfix] When linkchecking HTTP and HTTPS URLs, Documenter now also passes a realistic `accept-encoding` header along with the request, in order to work around servers that try to block non-browser requests. ([#1807][github-1807]) ## Version `v0.27.16`