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