I use poetry to build my cython package. I have NumPy-style docstrings in all functions and classes. What I want to do now is to add Sphinx automatic documentation and publishing it at Read the Docs.
I have read this thread How do I use Sphinx with Cython? and understand that first I have to compile my .pyx files. However when I call poetry build
in the end I get only .tar.gz and .whl files and no .pyd or .so ones.
So the question is following: are there any ways to insert callbacks in poetry build process so that when calling with some argument the docs generate automatically?
I will also appreciate links to packages, that use poetry, sphinx and cython together, so that I could learn from them.