Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for sphinxcontrib-youtube and alt tags for videos #6486

Merged
merged 5 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"sphinx_copybutton",
"sphinx_examples",
"sphinxcontrib.video",
"sphinxcontrib.youtube",
"sphinxext.opengraph",
]

Expand Down
5 changes: 4 additions & 1 deletion docs/source/tutorials/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ On the [Plone Training website](https://training.plone.org), you'll find Volto-d

You can watch the talk during the World Plone Day 2021:

<iframe width="560" height="315" src="https://www.youtube.com/embed/kHec4MXH8vo" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
```{youtube} kHec4MXH8vo
:privacy_mode:
:width: 100%
```


## Presentations at Plone Conferences (PloneConf) and other events
Expand Down
2 changes: 2 additions & 0 deletions docs/source/user-manual/copy-paste-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ This will select all the blocks between the start and end blocks, allowing you t

````{only} not text
```{video} ../_static/user-manual/blocks/block-copy-cut.mp4
:alt: Copy or cut a block in Volto
```
````

Expand All @@ -44,5 +45,6 @@ Also if you hold the {kbd}`ctrl` key while clicking the paste button, it keeps t

````{only} not text
```{video} ../_static/user-manual/blocks/block-paste.mp4
:alt: Paste a block in Volto
```
````
1 change: 1 addition & 0 deletions packages/volto/news/6486.documentation
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add support for sphinxcontrib-youtube. @stevepiercy
1 change: 1 addition & 0 deletions requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ sphinx-autobuild
sphinx-copybutton
sphinx-examples
sphinxcontrib-video
sphinxcontrib-youtube
sphinxext-opengraph
vale
Loading