Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 786 Bytes

File metadata and controls

26 lines (19 loc) · 786 Bytes

Based on https://github.com/edwardtheharris/sphinxcontrib.youtube, https://github.com/divi255/sphinxcontrib.youtube/, and the original https://github.com/shomah4a/sphinxcontrib.youtube.

PyPI - Version PyPI - Python Version

Install:

pip install enginehub.sphinx_youtube

Usage:

First of all, add enginehub.sphinx_youtube to sphinx extension list in conf.py:

extensions = ['enginehub.sphinx_youtube']

then use youtube directive.

You can specify video by video url or video id:

.. youtube:: https://www.youtube.com/watch?v=Ql9sn3aLLlI

.. youtube:: Ql9sn3aLLlI