From 48ef2bcbf6d2f157ceffea95e5fbdf0d3ec939b7 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Thu, 28 Oct 2021 19:16:39 +0200 Subject: [PATCH] Small docs cleanup (#22725) * add images * Add root README.md to docker container --- docs/Makefile | 2 +- docs/docker/Dockerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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)