Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the warning for dev version docs #1805

Merged
merged 7 commits into from
Apr 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 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`
Expand Down Expand Up @@ -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
<!-- end of issue link definitions -->

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 documentation is not for the latest version. <br> <a href="' + href + '">Go to the latest documentation</a>.';
div.innerHTML = 'This documentation is not for the latest stable release, but for either the development version or an older release.<br><a href="' + href + '">Click here to go to the documentation for the latest stable release.</a>';
div.appendChild(closer);
document.body.appendChild(div);
};
Expand Down