Skip to main content

embedding gist to sphinx

Project description

embedding youtube video to sphinx

usage:

First of all, add sphinxext.adaptive_youtube to sphinx extension list in conf.py

extensions = ['sphinxext.adaptive_youtube']

then use youtube directive.

You can specify video by video url or video id.

.. youtube:: Ql9sn3aLLlI

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

finally, build your sphinx project.

$ make html

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinxext.adaptive_youtube-0.0.1.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file sphinxext.adaptive_youtube-0.0.1.tar.gz.

File metadata

  • Download URL: sphinxext.adaptive_youtube-0.0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for sphinxext.adaptive_youtube-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4d68f993faeecf4788a4ef828ee769fa456004585aeaad72067cbc19e8161be8
MD5 862997774fbfec37973f2547762f11e7
BLAKE2b-256 a2f7fc525f5564719c4b1d6bf2bb7a037353ef69060f622dc950c07c81be7ac5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page