summaryrefslogtreecommitdiff
path: root/doc/source/reference/random
diff options
context:
space:
mode:
authorRobert Kern <robert.kern@gmail.com>2023-04-20 00:45:00 -0400
committerRobert Kern <robert.kern@gmail.com>2023-04-20 00:45:00 -0400
commit6d95ea6d978e71d9d07937c1bfda7a496872a626 (patch)
tree74248a027feb67d54c673294b2b804fcbe2496a1 /doc/source/reference/random
parent8bd846f5ea3bfe6256a7c0d9b9fdc08934de6ddd (diff)
downloadnumpy-6d95ea6d978e71d9d07937c1bfda7a496872a626.tar.gz
DOC: prevent all of the legacy sections from being visible in the index ToC
Diffstat (limited to 'doc/source/reference/random')
-rw-r--r--doc/source/reference/random/legacy.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/source/reference/random/legacy.rst b/doc/source/reference/random/legacy.rst
index fe654235c..00921c477 100644
--- a/doc/source/reference/random/legacy.rst
+++ b/doc/source/reference/random/legacy.rst
@@ -52,7 +52,7 @@ using the state of the `RandomState`:
:exclude-members: __init__
Seeding and State
------------------
+=================
.. autosummary::
:toctree: generated/
@@ -62,7 +62,7 @@ Seeding and State
~RandomState.seed
Simple random data
-------------------
+==================
.. autosummary::
:toctree: generated/
@@ -75,7 +75,7 @@ Simple random data
~RandomState.bytes
Permutations
-------------
+============
.. autosummary::
:toctree: generated/
@@ -83,7 +83,7 @@ Permutations
~RandomState.permutation
Distributions
--------------
+==============
.. autosummary::
:toctree: generated/
@@ -126,7 +126,7 @@ Distributions
.. _functions-in-numpy-random:
Functions in `numpy.random`
----------------------------
+===========================
Many of the RandomState methods above are exported as functions in
`numpy.random` This usage is discouraged, as it is implemented via a global
`RandomState` instance which is not advised on two counts: