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.2.tar.gz (3.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: sphinxext.adaptive_youtube-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 284eae0ad288a5f697e64df1492dabec1a9d9a688465b0e11781098f8598649a
MD5 45d9fdd6666fcdb118f893eae867b9f6
BLAKE2b-256 5c02ec7a473973d3933b934f644600a1e4555b3d275d6eacdde872fe8102053d

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