Skip to content

Commit

Permalink
Adjust wording of outdated warning (JuliaDocs#1595)
Browse files Browse the repository at this point in the history
  • Loading branch information
pfitzseb authored and Andrey Oskin committed Jun 21, 2021
1 parent 2ff7351 commit dfc1c98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Version `v0.27.1`

* ![Enhancement][badge-enhancement] The wording of the text in the the old version warning box was improved. ([#1595][github-1595])

* ![Bugfix][badge-bugfix] Documenter no longer throws an error when generating the version selector if there are no deployed versions. ([#1594][github-1594], [#1596][github-1596])

## Version `v0.27.0`
Expand Down Expand Up @@ -813,6 +815,7 @@
[github-1577]: https://github.com/JuliaDocs/Documenter.jl/pull/1577
[github-1590]: https://github.com/JuliaDocs/Documenter.jl/pull/1590
[github-1594]: https://github.com/JuliaDocs/Documenter.jl/issues/1594
[github-1595]: https://github.com/JuliaDocs/Documenter.jl/pull/1595
[github-1596]: https://github.com/JuliaDocs/Documenter.jl/pull/1596

[julia-38079]: https://github.com/JuliaLang/julia/issues/38079
Expand Down
2 changes: 1 addition & 1 deletion assets/html/warner.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function maybeAddWarning () {
document.body.removeChild(div);
});
const href = window.documenterBaseURL + '/../' + window.DOCUMENTER_STABLE;
div.innerHTML = 'This is an old version of the documentation. <br> <a href="' + href + '">Go to the newest version</a>.';
div.innerHTML = 'This documentation is not for the latest version. <br> <a href="' + href + '">Go to the latest documentation</a>.';
div.appendChild(closer);
document.body.appendChild(div);
};
Expand Down

0 comments on commit dfc1c98

Please sign in to comment.