I would just say follow pyserial example if that is something you like; look at their source code docstrings vs the documentation including the API bits.
If that's something you like, then just lift their documentation/ wholesale and tailor it to your needs, which is how I started. I also tweaked the sphinx settings to generate a pdf as well, but that was a special thing for the customer we were delivering the library and documentation to.