Skip to content

Commit

Permalink
fix doc building
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoming0625 committed Aug 3, 2024
1 parent c464025 commit d1a4afb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
3 changes: 2 additions & 1 deletion brainpy/_src/math/modes.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ def __repr__(self):
return self.__class__.__name__

def __eq__(self, other: 'Mode'):
assert isinstance(other, Mode)
if not isinstance(other, Mode):
return False
return other.__class__ == self.__class__

def is_one_of(self, *modes):
Expand Down
13 changes: 0 additions & 13 deletions docs/apis/connect.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,9 @@ Base Connection Classes and Tools
coo2csr
coo2csc
coo2mat
coo2mat_num
mat2mat_num
visualizeMat
MAT_DTYPE
IDX_DTYPE
Connector
TwoEndConnector
OneEndConnector
CONN_MAT
PRE_IDS
POST_IDS
PRE2POST
POST2PRE
PRE2SYN
POST2SYN
SUPPORTED_SYN_STRUCTURE


Custom Connections
Expand Down
2 changes: 1 addition & 1 deletion requirements-doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ taichi==1.7.0
# document requirements
pandoc
Jinja2
sphinx>=5
sphinx>=5, <7.4.0
myst-nb
sphinx_thebe
sphinx-autodoc-typehints
Expand Down

0 comments on commit d1a4afb

Please sign in to comment.