Clarify that docs are for farmOS 1.x, link to 2.x docs #115

This commit is contained in:
Michael Stenta 2021-12-20 10:55:04 -05:00
parent f35cf0c723
commit f20e813151
2 changed files with 5 additions and 0 deletions

3
docs/deprecated.js Normal file
View File

@ -0,0 +1,3 @@
(function ($) {
$('#toc-collapse').before('<div class="card" style="background-color: #FF6 !important; padding: 10px; margin: 10px 0;"><h4 style="text-align: center;">ATTENTION</h4><p><strong>These docs are for the old version of farmOS (v1). The latest docs (for v2) are available at <a href="https://docs.farmOS.org">docs.farmOS.org</a>.</strong></p></div>');
})(jQuery)

View File

@ -65,6 +65,8 @@ nav:
theme: sandstone
extra_css:
- extra.css
extra_javascript:
- deprecated.js
markdown_extensions:
- toc:
permalink: true