Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aadya940 committed Jul 20, 2024
1 parent 5b78bd6 commit 7955c77
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion chainopy/_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,6 @@ def wrapper(*args, **kwargs):
return wrapper


class ChainopyException(Exception):
class _ChainopyException(Exception):
# Not Implemented
pass
5 changes: 5 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"modules.rst",
"setup.rst",
"_templates",
"chainopy._*.rst",
]

autodoc_default_options = {
Expand Down Expand Up @@ -98,6 +99,10 @@ def skip_cython_docstring(app, what, name, obj, skip, options):
# Skip docstrings in Cython files
if what == "module" and name.endswith(".pyx"):
return True

if what == "module" and name.startswith("_"):
return True

return skip


Expand Down

0 comments on commit 7955c77

Please sign in to comment.