Skip to content

Commit

Permalink
docs: refactor modules into a section
Browse files Browse the repository at this point in the history
  • Loading branch information
JPXKQX committed Aug 20, 2024
1 parent 903aebe commit 2888205
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 2 deletions.
13 changes: 11 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,20 @@ of the *Anemoi* packages.
Modules
*********

- :doc:`modules/node_builder`
- :doc:`modules/edge_builder`
- :doc:`modules/node_attributes`
- :doc:`modules/edge_attributes`

.. toctree::
:maxdepth: 1
:glob:
:hidden:
:caption: Modules

modules/*
modules/node_builder
modules/edge_builder
modules/node_attributes
modules/edge_attributes

*******************
Command line tool
Expand Down
2 changes: 2 additions & 0 deletions docs/modules/edge_attributes.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _edge_attributes:

#################
Edge attributes
#################
Expand Down
2 changes: 2 additions & 0 deletions docs/modules/edge_builder.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _edge_builder:

##############
Edge builder
##############
Expand Down
2 changes: 2 additions & 0 deletions docs/modules/node_attributes.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _node_attributes:

#################
Node attributes
#################
Expand Down
2 changes: 2 additions & 0 deletions docs/modules/node_builder.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _node_builder:

##############
Node builder
##############
Expand Down

0 comments on commit 2888205

Please sign in to comment.