MKDOCS Media Galleries
MkDocs plugin for that adds image and YouTube galleries with shortcodes.
Install
pip install mkdocs-media-gallery-plugin
Configure (mkdocs.yml)
plugins:
- search
- media-gallery:
images_path: images # relative to docs_dir
youtube_links_path: youtube-links.yaml # relative to docs_dir
generate_category_pages: true # auto-generate one page per category
Shortcodes in Markdown
{{ gallery_preview }}: Shows preview tiles for each category (folder under images_path){{ gallery_full category="cats" }}: Shows full gallery for the given category{{ youtube_gallery }}: Renders YouTube gallery from YAML (optionallycategory="...")
YouTube data (docs/youtube-links.yaml)
# Either flat list
- https://www.youtube.com/watch?v=ZucM9aw6Qlo
- sHfe3nT5-jk
# Or categorized
Music:
- https://www.youtube.com/watch?v=mEK0owuRoks
Shows:
- https://www.youtube.com/watch?v=ZucM9aw6Qlo
Metadata
Release files for mkdocs-media-gallery-plugin 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mkdocs_media_gallery_plugin-1.0.0.tar.gz | 10.3 kB | Without provenance | Details for mkdocs_media_gallery_plugin-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mkdocs_media_gallery_plugin-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for mkdocs_media_gallery_plugin-1.0.0-py3-none-any.whl |
Total release size: 22.4 kB
Release files / mkdocs_media_gallery_plugin-1.0.0.tar.gz
| Download URL | mkdocs_media_gallery_plugin-1.0.0.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8991967ea1c3ebc7a3bdebc76e1fe5ef3ce5f16fe06e41ec5081a3399b0e2124
|
|
BLAKE2b-256 checksum How to use checksums |
b69d275638375c61b20d2689916cbf206e1f59e4a8f0c9a761b9232608cd3248
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / mkdocs_media_gallery_plugin-1.0.0-py3-none-any.whl
| Download URL | mkdocs_media_gallery_plugin-1.0.0-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c639776eeb45b6010ab13487c2163a062e43668a5252c510a23c16d0c5b6c1a0
|
|
BLAKE2b-256 checksum How to use checksums |
4736ce3c3468aa72332003812c21a937c6ccb132fd4c941c381a856e79b258d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for mkdocs-media-gallery-plugin 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.