From c38e47153d50e9aecd3ef7585ece06e718d32046 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Thu, 2 Oct 2025 23:23:44 -0400 Subject: [PATCH] Fix video paths This resolved the incorrect paths for me locally. Fixes #1050 --- docs.Dockerfile | 4 ++-- docs/{static => _static}/history-panel-use.mp4 | Bin docs/{static => _static}/history-panel.png | Bin docs/{static => _static}/mail-panel.mp4 | Bin docs/{static => _static}/mail-previewer.mp4 | Bin 5 files changed, 2 insertions(+), 2 deletions(-) rename docs/{static => _static}/history-panel-use.mp4 (100%) rename docs/{static => _static}/history-panel.png (100%) rename docs/{static => _static}/mail-panel.mp4 (100%) rename docs/{static => _static}/mail-previewer.mp4 (100%) diff --git a/docs.Dockerfile b/docs.Dockerfile index 1cab82455..53fce1d62 100644 --- a/docs.Dockerfile +++ b/docs.Dockerfile @@ -1,7 +1,7 @@ # Generate the HTML output. FROM ghcr.io/cakephp/docs-builder as builder -RUN pip install git+https://github.com/sphinx-contrib/video.git@master +RUN pip install sphinxcontrib-video # Copy entire repo in with .git so we can build all versions in one image. COPY docs /data/docs @@ -12,7 +12,7 @@ RUN cd /data/docs-builder \ && make website LANGS="$LANGS" SOURCE=/data/docs DEST=/data/website \ # Move media files into the output directory so video elements work. && mkdir -p /data/website/html/_static \ - && cp /data/docs/static/* /data/website/html/_static/ + && cp /data/docs/_static/* /data/website/html/_static/ # Build a small nginx container with just the static site in it. FROM ghcr.io/cakephp/docs-builder:runtime as runtime diff --git a/docs/static/history-panel-use.mp4 b/docs/_static/history-panel-use.mp4 similarity index 100% rename from docs/static/history-panel-use.mp4 rename to docs/_static/history-panel-use.mp4 diff --git a/docs/static/history-panel.png b/docs/_static/history-panel.png similarity index 100% rename from docs/static/history-panel.png rename to docs/_static/history-panel.png diff --git a/docs/static/mail-panel.mp4 b/docs/_static/mail-panel.mp4 similarity index 100% rename from docs/static/mail-panel.mp4 rename to docs/_static/mail-panel.mp4 diff --git a/docs/static/mail-previewer.mp4 b/docs/_static/mail-previewer.mp4 similarity index 100% rename from docs/static/mail-previewer.mp4 rename to docs/_static/mail-previewer.mp4