-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Now we have .pyi
file (#167), we can generate API docs by pdoc.
For example, the following commands generate static HTML files in apidoc
dir if you have tantivy
module in your python path.
pip install pdoc
pdoc tantivy -o ./apidocs
Generated HTML looks very neat because PyO3 exposes comments in .rs
files as docstrings of tantivy module, then pdoc collects all of them throughout the stubs and type hints!
Perhaps we can publish the API doc to https://tantivy-py.readthedocs.io/en/latest/.
I'm not familiar with the CI pipeline to publish the docs site. Is there any suggestions about that?
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation