Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ASEM000 committed Jul 25, 2023
1 parent bd78a5f commit 0d821a0
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 30 deletions.
12 changes: 5 additions & 7 deletions docs/API/pytreeclass.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
``PyTreeClass`` exported API
``PyTreeClass`` API
=============================

Serket relies on ``PyTreeClass`` :ref: for its module system (``TreeClass``).
The entire ``PyTreeClass`` is reexported for convinence and is defiend below.

.. toctree::
:maxdepth: 2
:caption: API Documentation

pytreeclass_core
pytreeclass_advanced_api
pytreeclass_pretty_print
pytreeclass/core
pytreeclass/masking
pytreeclass/advanced_api
pytreeclass/pretty_print
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Advanced API
Advanced API
---------------------------------------
.. currentmodule:: serket
.. currentmodule:: pytreeclass

.. autofunction:: bcmap
.. autoclass:: Partial
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Core API
🎯 Core API
=============================

.. currentmodule:: serket

.. currentmodule:: pytreeclass

.. autoclass:: TreeClass
.. autoclass:::members: at
Expand Down
11 changes: 11 additions & 0 deletions docs/API/pytreeclass/masking.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
💼 Masking API
----------------------------------------------

.. currentmodule:: pytreeclass

.. autofunction:: is_nondiff
.. autofunction:: freeze
.. autofunction:: unfreeze
.. autofunction:: is_frozen
.. autofunction:: tree_mask
.. autofunction:: tree_unmask
12 changes: 12 additions & 0 deletions docs/API/pytreeclass/pretty_print.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
🎨 Pretty printing API
----------------------------------------------

.. currentmodule:: pytreeclass

.. autofunction:: tree_diagram
.. autofunction:: tree_graph
.. autofunction:: tree_mermaid
.. autofunction:: tree_repr
.. autofunction:: tree_str
.. autofunction:: tree_summary
.. autofunction:: tree_repr_with_trace
19 changes: 0 additions & 19 deletions docs/API/pytreeclass_pretty_print.rst

This file was deleted.

0 comments on commit 0d821a0

Please sign in to comment.