You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by jx...@apache.org on 2018/02/10 22:21:22 UTC
[incubator-mxnet] branch master updated: Fix active tab on website
(#9757)
This is an automated email from the ASF dual-hosted git repository.
jxie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new b73c57c Fix active tab on website (#9757)
b73c57c is described below
commit b73c57c526396d6485bdf65986e3819c54eb7bd9
Author: Rahul Huilgol <ra...@gmail.com>
AuthorDate: Sat Feb 10 14:21:18 2018 -0800
Fix active tab on website (#9757)
* Update titles of pages to fix active tab
Updated titles of pages and corrected index of docs tab
* Remove line break
* Line break removed
* remove the line break which was not getting removed by github UI
---
docs/_static/js/navbar.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/_static/js/navbar.js b/docs/_static/js/navbar.js
index ee011bd..d7635af 100644
--- a/docs/_static/js/navbar.js
+++ b/docs/_static/js/navbar.js
@@ -1,6 +1,6 @@
var searchBox = $("#search-input-wrap");
-var TITLE = ['/get_started/', '/tutorials/', '/gluon/' , '/api/', '/community/contribute.html', ];
-var DOC_TITLE = ['/faq/', '/architecture/', '/model_zoo/'];
+var TITLE = ['/install/', '/gluon/' , '/api/', '/docs/', '/github/', '/community/', ];
+var DOC_TITLE = ['/faq/', '/tutorials/', '/architecture/', '/model_zoo/'];
var APISubmenu, versionSubmenu, docSubmenu;
$("#burgerMenu").children().each(function () {
if($(this).children().first().html() == 'API') APISubmenu = $(this).clone();
@@ -72,7 +72,7 @@ function showTab() {
}
for(var i = 0; i < DOC_TITLE.length; ++i) {
if(url.indexOf(DOC_TITLE[i]) != -1) {
- var tab = $($('#main-nav').children().eq(4));
+ var tab = $($('#main-nav').children().eq(3));
if(!tab.is('a')) tab = tab.find('a').first();
tab.css('border-bottom', '3px solid');
}
--
To stop receiving notification emails like this one, please contact
jxie@apache.org.