summaryrefslogtreecommitdiff
path: root/doc/source/reference
diff options
context:
space:
mode:
authorJonathan Deng <jonathan.j.deng@gmail.com>2022-02-25 15:59:55 -0500
committerJonathan Deng <jonathan.j.deng@gmail.com>2022-02-25 15:59:55 -0500
commit12582800d2ec69957e4f28b089bffc772c92a721 (patch)
tree895b5bf4930ebecda744a243aec7b9d1d8f7232e /doc/source/reference
parenta2d91e6f5b3b2e192ae741798844e306a7854e85 (diff)
downloadnumpy-12582800d2ec69957e4f28b089bffc772c92a721.tar.gz
DOC: Fix broken links to numpy.emath module
There are a number of broken links to the numpy.emath module because there are no generated documentation for numpy.emath, which is an alias of numpy.lib.scimath. This fixes the broken links by generating documentation for numpy.emath, that duplicates the documentation for numpy.lib.scimath.
Diffstat (limited to 'doc/source/reference')
-rw-r--r--doc/source/reference/routines.emath.rst4
-rw-r--r--doc/source/reference/routines.lib.scimath.rst9
2 files changed, 11 insertions, 2 deletions
diff --git a/doc/source/reference/routines.emath.rst b/doc/source/reference/routines.emath.rst
index c0c5b61fc..fc7de5fc6 100644
--- a/doc/source/reference/routines.emath.rst
+++ b/doc/source/reference/routines.emath.rst
@@ -1,4 +1,4 @@
-Mathematical functions with automatic domain (:mod:`numpy.emath`)
+Mathematical functions with automatic domain
***********************************************************************
.. currentmodule:: numpy
@@ -6,4 +6,4 @@ Mathematical functions with automatic domain (:mod:`numpy.emath`)
.. note:: :mod:`numpy.emath` is a preferred alias for :mod:`numpy.lib.scimath`,
available after :mod:`numpy` is imported.
-.. automodule:: numpy.lib.scimath
+.. automodule:: numpy.emath
diff --git a/doc/source/reference/routines.lib.scimath.rst b/doc/source/reference/routines.lib.scimath.rst
new file mode 100644
index 000000000..43eea087e
--- /dev/null
+++ b/doc/source/reference/routines.lib.scimath.rst
@@ -0,0 +1,9 @@
+Mathematical functions with automatic domain (:mod:`numpy.emath`)
+***********************************************************************
+
+.. currentmodule:: numpy
+
+.. note:: :mod:`numpy.emath` is a preferred alias for :mod:`numpy.lib.scimath`,
+ available after :mod:`numpy` is imported.
+
+.. automodule:: numpy.lib.scimath \ No newline at end of file