Note: You are currently browsing the development documentation. The current release may work differently.
+ + Available versions:-
{% for slug, url in versions %}
- Local '); - } - - // mark the active documentation in the version widget - $(".version-flyer a:contains('" + doc_version + "')").parent().addClass('active-slug'); - - // attached handler on click // Do not attach to first element or last (intro, faq) so that // first and last link directly instead of accordian @@ -95,4 +87,18 @@ $(function(){ // add class to all those which have children $('.sidebar > ul > li').not(':last').not(':first').addClass('has-children'); + + if (doc_version == "") { + $('.version-flyer ul').html('
- Local '); + } + + if (doc_version == "master") { + $('.version-flyer .version-note').hide(); + } + + // mark the active documentation in the version widget + $(".version-flyer a:contains('" + doc_version + "')").parent().addClass('active-slug').setAttribute("title", "Current version"); + + + }); \ No newline at end of file