Sphinx extension for automatic generation of an example gallery