aaronmarkham commented on a change in pull request #13246: Addressed sphinx 
build issue
URL: https://github.com/apache/incubator-mxnet/pull/13246#discussion_r233211650
 
 

 ##########
 File path: docs/_static/js/auto_module_index.js
 ##########
 @@ -10,15 +10,17 @@ function auto_index(module) {
     var html = "<ul>";
 
     for (var i = 0; i < targets.length; ++i) {
-      var id = $(targets[i]).attr('id');
-      // remove 'mxnet.' prefix to make menus shorter
-      var id_simple = id.replace(/^mxnet\./, '');
-      html += "<li><a class='reference internal' href='#";
-      html += id;
-      html += "'>" + id_simple + "</a></li>";
+       var id = $(targets[i]).attr('id');
+       if ( id ) {
 
 Review comment:
   So what was the issue here? This check makes the difference between the page 
rendering or not?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to