Skip to content

Commit

Permalink
Add support for sphinxcontrib-youtube and alt tags for videos (#6486)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy authored Nov 19, 2024
1 parent 8ea1215 commit de98f08
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 1 deletion.
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

0 comments on commit de98f08

Please sign in to comment.