This is an automated email from the ASF dual-hosted git repository.

nswamy 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 f79bb18  Addressed sphinx build issue (#13246)
f79bb18 is described below

commit f79bb18a060f796ebe3cb46d0c607b6576e77cc0
Author: vdantu <[email protected]>
AuthorDate: Tue Nov 13 15:46:14 2018 -0800

    Addressed sphinx build issue (#13246)
---
 docs/_static/js/auto_module_index.js | 16 +++++++++-------
 docs/api/python/ndarray/ndarray.md   |  7 ++++++-
 docs/api/python/ndarray/random.md    |  1 +
 3 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/docs/_static/js/auto_module_index.js 
b/docs/_static/js/auto_module_index.js
index 7f4e185..8df9a20 100644
--- a/docs/_static/js/auto_module_index.js
+++ b/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 ) {
+           // 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);
   });
-}
\ No newline at end of file
+}
diff --git a/docs/api/python/ndarray/ndarray.md 
b/docs/api/python/ndarray/ndarray.md
index 01a1544..37965e9 100644
--- a/docs/api/python/ndarray/ndarray.md
+++ b/docs/api/python/ndarray/ndarray.md
@@ -706,9 +706,14 @@ The `ndarray` package provides several classes:
     :members:
     :imported-members:
     :special-members:
-    :exclude-members: CachedOp, NDArray
+    :exclude-members: CachedOp, NDArray, save, load
+
+.. automodule:: mxnet.ndarray
+    :noindex:
+    :members: save, load
 
 .. automodule:: mxnet.random
+    :noindex:
     :members:
 
 ```
diff --git a/docs/api/python/ndarray/random.md 
b/docs/api/python/ndarray/random.md
index 4341a3c..3ea611f 100644
--- a/docs/api/python/ndarray/random.md
+++ b/docs/api/python/ndarray/random.md
@@ -51,6 +51,7 @@ In the rest of this document, we list routines provided by 
the `ndarray.random`
 
 .. automodule:: mxnet.random
     :members:
+    :noindex:
 
 ```
 

Reply via email to