-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Addressed sphinx build issue #13246
Addressed sphinx build issue #13246
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 ) { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So what was the issue here? This check makes the difference between the page rendering or not? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I added a short note in the PR section describing the change. Please feel free to correct my understanding if I am wrong :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You are correct, page wouldn't render in the previous PR but would render here. |
||
// 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>"; | ||
} | ||
} | ||
|
||
html += "</ul>"; | ||
li_node.append(html); | ||
}); | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,6 +51,7 @@ In the rest of this document, we list routines provided by the `ndarray.random` | |
|
||
.. automodule:: mxnet.random | ||
:members: | ||
:noindex: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can we also add the return values for these APIs here #13227 ? using There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this will take a bit more research as to why |
||
|
||
``` | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[minor] remove spaces around
( )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be a critical PR. Making this change will trigger another 2-3 hour wait before this can be merged. I will hold off this chagne for another PR.