Skip to content

Commit

Permalink
docs organization
Browse files Browse the repository at this point in the history
  • Loading branch information
ASEM000 committed Mar 29, 2024
1 parent fb79837 commit 69bbcfe
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 30 deletions.
10 changes: 10 additions & 0 deletions docs/API/constructor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
🎯 Constructor utils API
=============================


.. currentmodule:: sepes

.. autofunction:: field
.. autofunction:: fields
.. autofunction:: autoinit
.. autofunction:: leafwise
24 changes: 0 additions & 24 deletions docs/API/core.rst

This file was deleted.

2 changes: 1 addition & 1 deletion docs/API/masking.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

.. currentmodule:: sepes

.. autofunction:: is_nondiff
.. autofunction:: is_masked
.. autofunction:: tree_mask
.. autofunction:: tree_unmask
10 changes: 10 additions & 0 deletions docs/API/module.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
🎯 Module API
=============================


.. currentmodule:: sepes

.. autoclass:: TreeClass
:members:
at

4 changes: 3 additions & 1 deletion docs/API/sepes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
:maxdepth: 2
:caption: API Documentation

core
module
masking
tree
constructor
pretty_print
backend
17 changes: 17 additions & 0 deletions docs/API/tree.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
🎯 Tree utils API
=============================


.. currentmodule:: sepes

.. autoclass:: at
:members:
get,
set,
apply,
scan,
reduce,
pluck,

.. autofunction:: value_and_tree
.. autofunction:: bcmap
7 changes: 3 additions & 4 deletions sepes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
__all__ = (
# module utils
"TreeClass",
"value_and_tree",
"leafwise",
# pprint utils
"tree_diagram",
"tree_repr",
Expand All @@ -34,14 +32,15 @@
"is_masked",
"tree_unmask",
"tree_mask",
# indexing utils
"at",
# tree utils
"at",
"bcmap",
"value_and_tree",
# construction utils
"field",
"fields",
"autoinit",
"leafwise",
# backend utils
"backend_context",
)
Expand Down

0 comments on commit 69bbcfe

Please sign in to comment.