Skip to content

Commit

Permalink
Setup docs for namespace package
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
shenanigansd authored Oct 7, 2023
1 parent 5bb6c13 commit 84d7aaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
]

autoapi_type: str = "python"
autoapi_dirs: list[str] = ["../../src"]
autoapi_add_toctree_entry: bool = False
autoapi_python_use_implicit_namespaces: bool = True
autoapi_dirs: list[str] = ["../../src/darbia/"]

intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}

Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Module Index
.. toctree::
:maxdepth: 1

autoapi/index
autoapi/darbia/sns/index

.. toctree::
:caption: Other:
Expand Down

0 comments on commit 84d7aaa

Please sign in to comment.