diff --git a/docs/_static/js/auto_module_index.js b/docs/_static/js/auto_module_index.js
index 7f4e185655d3..8df9a20ef8ec 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 = "
";
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 += "- " + id_simple + "
";
+ var id = $(targets[i]).attr('id');
+ if ( id ) {
+ // remove 'mxnet.' prefix to make menus shorter
+ var id_simple = id.replace(/^mxnet\./, '');
+ html += "- " + id_simple + "
";
+ }
}
html += "
";
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 01a154405cf3..37965e913125 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 4341a3ce2cd3..3ea611f5c8e4 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:
```