diff --git a/docs/gen_ref_pages.py b/docs/gen_ref_pages.py index c18d7b26..b9679bba 100755 --- a/docs/gen_ref_pages.py +++ b/docs/gen_ref_pages.py @@ -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)) diff --git a/mkdocs.yml b/mkdocs.yml index 9110229a..60bb62de 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -120,6 +120,7 @@ plugins: - mkdocstrings: handlers: python: + paths: [src] options: docstring_style: numpy