This directive outputs the documentation in :epkg:`RST` format with all the sphinx directives converted into pure RST format.
In conf.py:
extensions = [ ...
'sphinx_runpython.sphinx_rst_builder',
]
.. autoclass:: sphinx_runpython.sphinx_rst_builder.RstBuilder
:members:
.. autoclass:: sphinx_runpython.sphinx_rst_builder.RstTranslator
:members:
.. autoclass:: sphinx_runpython.sphinx_rst_builder.RstWriter
:members: