This is an automated email from the ASF dual-hosted git repository. erisu pushed a commit to branch feat/versioning-and-htaccess in repository https://gitbox.apache.org/repos/asf/cordova-docs.git
commit 012754a3e5ad83114f83d3e05c3d4667aaa6aa11 Author: Erisu <[email protected]> AuthorDate: Fri Jan 9 13:23:18 2026 +0900 docs: add back but comment out outdated warning block --- www/_layouts/docs.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/www/_layouts/docs.html b/www/_layouts/docs.html index 8fb4f39c5c..9992ee619c 100644 --- a/www/_layouts/docs.html +++ b/www/_layouts/docs.html @@ -129,6 +129,21 @@ NOTE: {% assign latest_url = latest_root %} {% endunless %} + <!-- Show warnings for special versions --> + <!-- outdated warning --> + <!-- TODO: Fix this to trigger only during snapshot creation. --> + <!-- {% if page.version != 'dev' and page.version != site.latest_docs_version %} + <div class="alert docs-alert alert-danger" role="alert"> + <button type="button" class="close" data-dismiss="alert" aria-label="Close"> + <span aria-hidden="true">×</span> + </button> + {{ layout.outdated_text }} + <a href="{{ site.baseurl }}{{ latest_url }}"> + {{ layout.click_here_text }} + </a> + </div> + {% endif %} --> + <!-- plugin version warning --> {% if page.plugin_name and page.plugin_version %} <div class="alert alert-warning docs-alert" role="alert"> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
