The doc comments are suboptimal, and some are missing. We should auto-generate HTML documentation using [pdoc](https://pdoc.dev/). It looks like [readthedocs] supports [custom build systems](https://docs.readthedocs.com/platform/stable/build-customization.html) so we don't have to use Sphinx. [readthedocs]: https://readthedocs.io/
The doc comments are suboptimal, and some are missing.
We should auto-generate HTML documentation using pdoc. It looks like readthedocs supports custom build systems so we don't have to use Sphinx.