Note: You are currently browsing the development documentation. The current release may work differently.
+ + Available versions:-
{% for slug, url in versions %}
- a.headerlink {
.deprecated {
color: orangered;
}
-
-
diff --git a/components/engine/docs/theme/docker/static/img/footer-links.png b/components/engine/docs/theme/docker/static/img/footer-links.png
deleted file mode 100644
index 4bef964214..0000000000
Binary files a/components/engine/docs/theme/docker/static/img/footer-links.png and /dev/null differ
diff --git a/components/engine/docs/theme/docker/static/img/social/docker_social_logos.png b/components/engine/docs/theme/docker/static/img/social/docker_social_logos.png
new file mode 100644
index 0000000000..5bde456365
Binary files /dev/null and b/components/engine/docs/theme/docker/static/img/social/docker_social_logos.png differ
diff --git a/components/engine/docs/theme/docker/static/js/docs.js b/components/engine/docs/theme/docker/static/js/docs.js
index 769922f583..4151ea5a80 100755
--- a/components/engine/docs/theme/docker/static/js/docs.js
+++ b/components/engine/docs/theme/docker/static/js/docs.js
@@ -53,14 +53,6 @@ $(function(){
}
}
- if (doc_version == "") {
- $('.version-flyer ul').html('
- 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