Skip to content

Commit eb75ecc

Browse files
authored
Add youtube support (#37)
* Update requirements * Update environment.yml
1 parent 14e1906 commit eb75ecc

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

docs/conf.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
"sphinx.ext.extlinks",
3636
"sphinx_design",
3737
"sphinx_gmt.gmtplot",
38+
'sphinx.ext.intersphinx',
39+
'sphinxcontrib.youtube'
3840
]
3941
# Add any paths that contain templates here, relative to this directory.
4042
templates_path = ['_templates']
@@ -69,4 +71,4 @@
6971
html_css_files = ["style.css"]
7072

7173
# Adjust highlight language for sphinx_gmt examples
72-
highlight_language = "bash"
74+
highlight_language = "bash"

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ dependencies:
1010
- sphinx-design
1111
- sphinx_gmt
1212
- sphinx_rtd_theme
13-
- sphinxcontrib-youtube
13+
- sphinxcontrib-youtube

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ sphinx
33
sphinx-design
44
sphinx_gmt
55
sphinx_rtd_theme
6+
sphinxcontrib-youtube==1.4.1

0 commit comments

Comments
 (0)