Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoming0625 committed Jun 8, 2024
1 parent c225fd9 commit f490bd8
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 35 deletions.
6 changes: 2 additions & 4 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ API Documentation
:maxdepth: 1

apis/changelog.md
apis/functional.rst
apis/init.rst
apis/metric.rst
apis/optim.rst
apis/brainunit.rst
apis/brainunit.math.rst

9 changes: 9 additions & 0 deletions docs/apis/brainunit.math.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
``brainunit.math`` module
==========================

.. currentmodule:: brainunit.math
.. automodule:: brainunit.math

.. autosummary::
:toctree: generated/

29 changes: 0 additions & 29 deletions docs/apis/math.rst

This file was deleted.

2 changes: 1 addition & 1 deletion docs/auto_generater.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def main():
os.makedirs('apis/auto/', exist_ok=True)

_write_module(module_name='brainunit',
filename='apis/math.rst',
filename='apis/brainunit.math.rst',
header='``brainunit.init`` module')


Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
``brainunit`` documentation
===========================

`brainunit <https://github.com/brainpy/brainunit>`_ implements the common toolboxes for brain dynamics programming (BDP).
`brainunit <https://github.com/brainpy/brainunit>`_ implements a unit system for brain dynamics programming (BDP).

----

Expand Down

0 comments on commit f490bd8

Please sign in to comment.