A Sphinx directive for embedding Plotly figures in documentation. Current version 0.1.3, release cadence is low (last release Aug 2020).
pip install sphinx-plotly-directiveVerified import paths — ran on the pinned version, not inferred.
Add the extension to conf.py, then use the .. plotly:: directive in RST.
Ensure the last line or the variable name is `fig` (or use `:show-source:` option, but still need fig).
Check for duplicate extension loading or use a different directive name via `plotly_plotly_directive_directive_name` option in conf.py (undocumented).
Migrate to sphinxcontrib-plotly or nbsphinx if you need active maintenance.