A sphinx extension for dooble.
pip install dooble
In your sphinx project configuration, add dooble to the extensions:
extensions = [
'sphinxcontrib_dooble',
]
Then marble diagrams can be added with the new marble directive:
.. marble:: :alt: map ---1---2---3---4---> [ map(i: i*2) ] ---2---4---6---8--->