Skip to content

Commit 9f7c443

Browse files
committed
Docs: drop sphinxcontrib-video
The epub build broke on sphinx-design's dropdowns after moving to the upstream release, which registers node handlers under the `epub` builder name and so suppresses Sphinx's fallback to the `html` handlers. The extension had a single call site, so render that video with a plain `<video>` tag instead of working around the conflict. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kq5hTeCe1JedqHAF1UEGvt
1 parent 8acd566 commit 9f7c443

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

docs/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
"sphinx.ext.extlinks",
3333
"sphinx.ext.intersphinx",
3434
"sphinxcontrib.httpdomain",
35-
"sphinxcontrib.video",
3635
"sphinxemoji.sphinxemoji",
3736
"sphinxext.opengraph",
3837
]

docs/user/science.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,14 @@ Here's a brief overview of some :doc:`features </reference/features>` that peopl
7272

7373
Build and publish your project for every change made through Git (GitHub, GitLab, Bitbucket etc). Preview changes via pull requests. Receive notifications when something is wrong. How does this work? Have a look at this video:
7474

75-
.. video:: https://anti-pattern-sphinx-video-downloader.readthedocs.io/_static/videos/enable-pull-request-builders.mp4
76-
:height: 300
75+
.. raw:: html
76+
77+
<video controls height="300" preload="auto">
78+
<source
79+
src="https://anti-pattern-sphinx-video-downloader.readthedocs.io/_static/videos/enable-pull-request-builders.mp4"
80+
type="video/mp4"
81+
>
82+
</video>
7783

7884
.. dropdown:: 💬 Collaboration and community
7985

requirements/docs.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,3 @@ sphinx-copybutton
2727
# Markdown
2828
myst_parser
2929

30-
sphinxcontrib-video

requirements/docs.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ sphinx==8.2.3
116116
# sphinx-tabs
117117
# sphinxcontrib-httpdomain
118118
# sphinxcontrib-jquery
119-
# sphinxcontrib-video
120119
# sphinxemoji
121120
# sphinxext-opengraph
122121
sphinx-autobuild==2025.8.25
@@ -153,8 +152,6 @@ sphinxcontrib-qthelp==2.0.0
153152
# via sphinx
154153
sphinxcontrib-serializinghtml==2.0.0
155154
# via sphinx
156-
sphinxcontrib-video==0.4.2
157-
# via -r requirements/docs.in
158155
sphinxemoji==0.3.2
159156
# via -r requirements/docs.in
160157
sphinxext-opengraph==0.13.0

0 commit comments

Comments
 (0)