Today I learned how to create and register a simple Sphinx extension to use as a custom directive in a Jupyter Book project.
The only way to learn mathematics is to do mathematics.