Skip to main content

Embedding

example

youtube:

:emb:`youtube<identifier>`

:emb:`yt<identifier>`

vimeo:

:emb:`vimeo<identifier>`

:emb:`vm<identifier>`

nicovideo:

:emb:`nicovideo<identifier>`

:emb:`nv<identifier>`

conf.py

you can register new embedding. you have to change the indentifier to ‘{0}’.

example:

html_embedding = {
    'foo': r'<script type="TYPE_INFO" src="THE_URL/{0}/param?arg1=val1&arg2=val2"></script>'
}

CHANGES

  • 2021-10-01 0.6 use doctest

  • 2021-09-30 0.5 use string.format()

Metadata

Release files for sphinxcontrib.embedding 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphinxcontrib.embedding 0.6.0
File Size Uploaded
sphinxcontrib.embedding-0.6.0.tar.gz 4.8 kB Details

Release files / sphinxcontrib.embedding-0.6.0.tar.gz

Download URL sphinxcontrib.embedding-0.6.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f051d49a565f71787fd06dd0112d82d03d2322cf5cec5e1989ff753b4d75b617
BLAKE2b-256 checksum
How to use checksums
857ddd456500a4b7a50506d5956a6c975f225b4f443e403d3c21d2a38d41feb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.6.0 This release

1 release file

0.5.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page