Open attakei opened 11 months ago
Using sphinx_revealjs.ext.screenshot, sphinx-builder generates html-presentations and screenshots of first-section.
sphinx_revealjs.ext.screenshot
By this idea, user can select any section as screenshot from presentation for og-image.
(On top of rst source)
.. revealjs-screenshot:: :section: /1/1 :fallback:
section
fallback
Overview
Using
sphinx_revealjs.ext.screenshot
, sphinx-builder generates html-presentations and screenshots of first-section.By this idea, user can select any section as screenshot from presentation for og-image.
Example
(On top of rst source)
section
is fragment parameter of Reveal.js presentation URL.fallback
is flag to use top-page for screenshot if invalid section is specified.Inspired