diff --git a/docs/Makefile b/docs/Makefile index dd7865a6f..02db7db2d 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -32,7 +32,7 @@ clean: @echo "Copying docs & config to build folder..." cp -a "$(DOCSDIR)" "$(BUILDDIR)" cd "$(OPENPILOT_ROOT)" && \ - find . -type f \( -name "*.md" -o -name "*.rst" \) \ + find . -type f \( -name "*.md" -o -name "*.rst" -o -name "*.png" -o -name "*.jpg" \) \ -not -path "*/.*" \ -not -path "./build/*" \ -not -path "./docs/*" \ diff --git a/docs/docker/Dockerfile b/docs/docker/Dockerfile index 0a7005d36..9635d8277 100644 --- a/docs/docker/Dockerfile +++ b/docs/docker/Dockerfile @@ -30,6 +30,7 @@ COPY ./opendbc ${OPENPILOT_PATH}/opendbc COPY ./cereal ${OPENPILOT_PATH}/cereal COPY ./panda ${OPENPILOT_PATH}/panda COPY ./selfdrive ${OPENPILOT_PATH}/selfdrive +COPY ./*.md ${OPENPILOT_PATH}/ RUN scons -j$(nproc)