Skip to content

Commit

Permalink
seedbank doc tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mdekstrand committed May 23, 2024
1 parent f63837a commit 9cd55a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ Seed Material
SeedBank seeds (either root seeds or keys for derived RNGs) can be specified in a number
of formats.

.. py:attribute:: SeedLike
:canonical: _keys.SeedLike
.. py:data:: SeedLike
“Seed-like” data is data that can be used as seed material. This includes:

Expand All @@ -34,7 +33,7 @@ of formats.
- :py:class:`bytes` (hashed)
- :py:class:`numpy.ndarray` (converted to uint32)

.. py:attribute:: RNGKey
.. py:data:: RNGKey
:canonical: _keys.RNGKey

``RNGKey`` is the type of seed-like data (:py:attr:`SeedLike`) *except* for
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@

autodoc_default_options = {"members": True, "member-order": "bysource"}
autodoc_typehints = "description"
autodoc_type_aliases = {"SeedLike": "seedbank.SeedLike"}
# autodoc_type_aliases = {"SeedLike": "seedbank.SeedLike"}

0 comments on commit 9cd55a5

Please sign in to comment.