diff --git a/Dockerfile b/Dockerfile index 4cda6f3..cb835ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ FROM python:3-alpine as docs ADD . /usr/src/app/shaarli RUN cd /usr/src/app/shaarli \ && pip install --no-cache-dir mkdocs \ - && mkdocs build + && mkdocs build --clean # Stage 2: # - Resolve PHP dependencies with Composer diff --git a/Makefile b/Makefile index 4adbdd6..b0cdadf 100644 --- a/Makefile +++ b/Makefile @@ -207,7 +207,7 @@ htmldoc: python3 -m venv venv/ bash -c 'source venv/bin/activate; \ pip install mkdocs; \ - mkdocs build' + mkdocs build --clean' find doc/html/ -type f -exec chmod a-x '{}' \; rm -r venv