Skip to content

Commit

Permalink
Add path to mkdocstring
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeschamps committed Dec 21, 2023
1 parent 722235a commit 300c17a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion docs/gen_ref_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def sub_index_text(module_name):
# add to navigation
nav[tuple(module_path.parts)] = module_path.as_posix()


# create module index
with mkdocs_gen_files.open(Path("reference", module_path), "w") as fd:
fd.write(sub_index_text(path.name))
Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ plugins:
- mkdocstrings:
handlers:
python:
paths: [src]
options:
docstring_style: numpy

Expand Down

0 comments on commit 300c17a

Please sign in to comment.