Skip to content

Commit

Permalink
DOC: Document videos (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
choldgraf authored Feb 20, 2022
1 parent 056d66e commit 4b0ab4b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"sphinx.ext.autodoc",
"sphinx.ext.intersphinx",
"sphinx.ext.viewcode",
"sphinxcontrib.youtube",
"sphinx_copybutton",
"sphinx_design",
"sphinx_tabs.tabs",
Expand Down
7 changes: 7 additions & 0 deletions docs/reference/extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,10 @@ This toggle is in the margin!
Oranges are orange.
````

## `sphinxcontrib.youtube` for videos

[`sphinxcontrib.youtube`](https://github.com/sphinx-contrib/youtube) makes it possible to easily embed videos in your documentation.

```{youtube} 2Z7wDaYt53Y
```
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ doc = [
"sphinx-togglebutton>=0.2.1",
"sphinx-thebe>=0.1.1",
"sphinxcontrib-bibtex~=2.2",
"sphinxcontrib-youtube",
"sphinxext-opengraph",
]
test = [
Expand Down

0 comments on commit 4b0ab4b

Please sign in to comment.