I am developing a small python 3.10 library. I have integrated Sphinx 5.0 to document the project functions, classes, modules etc. This runs on a ubuntu container. The documentation is working. The point that confuses me is how to properly document the use of the library multiple entrypoints?
More specifically, in my setup.cfg
, I wrote the following:
[options.entry_points]
console_scripts =
crumbs-fit-sdm = crumbs.sdm.fit:main
So that after installation the user can type in the terminal eg crumbs-fit-sdm input -v
without having to locate the .py
file.
How to have Sphinx properly (and automatically) document this feature along with the available options?