marcoabreu closed pull request #12075: Add Clojure to website nav
URL: https://github.com/apache/incubator-mxnet/pull/12075
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docs/_static/js/sidebar.js b/docs/_static/js/sidebar.js
index 1c27b7e0007..3e7ad41bfcf 100644
--- a/docs/_static/js/sidebar.js
+++ b/docs/_static/js/sidebar.js
@@ -1,5 +1,5 @@
 /*Preprocess*/
-var LANG = ['python', 'scala', 'r', 'julia', 'c++', 'perl'];
+var LANG = ['python', 'c++', 'clojure', 'julia', 'perl', 'r', 'scala'];
 var TITLE_WITH_LANG = ['/get_started/', '/tutorials/', '/faq/', 
'/architecture/', '/community/'];
 for(var i = 0; i < LANG.length; ++i) {
     TITLE_WITH_LANG.push('/api/' + LANG[i] + '/');
diff --git a/docs/_static/mxnet-theme/navbar.html 
b/docs/_static/mxnet-theme/navbar.html
index 6588ec0cca8..f7f5997ab4e 100644
--- a/docs/_static/mxnet-theme/navbar.html
+++ b/docs/_static/mxnet-theme/navbar.html
@@ -20,10 +20,11 @@ <h1 id="logo-wrap">
           <ul id="package-dropdown-menu" class="dropdown-menu navbar-menu">
             <li><a class="main-nav-link" 
href="{{url_root}}api/python/index.html">Python</a></li>
             <li><a class="main-nav-link" 
href="{{url_root}}api/c++/index.html">C++</a></li>
-            <li><a class="main-nav-link" 
href="{{url_root}}api/scala/index.html">Scala</a></li>
+            <li><a class="main-nav-link" 
href="{{url_root}}api/clojure/index.html">Clojure</a></li>
             <li><a class="main-nav-link" 
href="{{url_root}}api/julia/index.html">Julia</a></li>
             <li><a class="main-nav-link" 
href="{{url_root}}api/perl/index.html">Perl</a></li>
             <li><a class="main-nav-link" 
href="{{url_root}}api/r/index.html">R</a></li>
+            <li><a class="main-nav-link" 
href="{{url_root}}api/scala/index.html">Scala</a></li>
           </ul>
         </span>
 
@@ -50,7 +51,7 @@ <h1 id="logo-wrap">
           </ul>
         </span>
       </nav>
-      
+
       <script> function getRootPath(){ return "{{url_root}}" } </script>
       <div class="burgerIcon dropdown">
           <a href="#" class="dropdown-toggle" data-toggle="dropdown" 
role="button">☰</a>
@@ -71,7 +72,7 @@ <h1 id="logo-wrap">
               <li class="dropdown-submenu">
                 <a href="#" tabindex="-1" role="button" aria-haspopup="true" 
class="dropdown-toggle burger-link" data-toggle="dropdown">{{name}}</a>
                 <ul class="dropdown-menu">
-                  {% for lang in ['Python', 'Scala', 'R', 'Julia', 'C++', 
'Perl'] %}
+                  {% for lang in ['Python', 'C++', 'Clojure', 'Julia',  
'Perl', 'R', 'Scala'] %}
                     <li><a tabindex="-1" 
href="{{url_root}}{{name.lower()|replace(" ", 
"_")}}/{{lang.lower()}}/index.html">{{lang}}</a>
                     </li>
                   {% endfor %}


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to