Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Routhleck committed Nov 24, 2024
1 parent c4891ca commit dc7ef21
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
7 changes: 6 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@
import os
import sys

sys.path.insert(0, os.path.abspath(os.path.curdir))
sys.path.insert(0, os.path.abspath('../'))

import braintaichi
import auto_generater

os.makedirs('api', exist_ok=True)


# -- Project information -----------------------------------------------------
Expand All @@ -57,6 +61,7 @@
'sphinx.ext.viewcode',
'sphinx_autodoc_typehints',
'myst_nb',
'matplotlib.sphinxext.plot_directive',
'sphinx_thebe',
'sphinx_design'
]
Expand Down Expand Up @@ -118,7 +123,7 @@


html_theme_options = {
'show_toc_level': 2,
'show_toc_level': 1,
}

# -- Options for myst ----------------------------------------------
Expand Down
19 changes: 14 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,22 @@ See also the BDP ecosystem

We are building the `brain dynamics programming ecosystem <https://ecosystem-for-brain-dynamics.readthedocs.io/>`_.


----


.. toctree::
:hidden:
:maxdepth: 2
:maxdepth: 1
:caption: Tutorial

tutorial/braintaichi_intro.ipynb
api.rst
tutorial/complete_example.ipynb


.. toctree::
:maxdepth: 1
:caption: API Documentation

apis/changelog.md
apis/operator-registration.rst
apis/sparse-operators.rst
apis/event-operators.rst
apis/jitconn-operators.rst

0 comments on commit dc7ef21

Please sign in to comment.