diff --git a/Doxyfile b/docs/Doxyfile similarity index 100% rename from Doxyfile rename to docs/Doxyfile diff --git a/Doxyfile.bak b/docs/Doxyfile.bak similarity index 100% rename from Doxyfile.bak rename to docs/Doxyfile.bak diff --git a/docs/docker/Dockerfile b/docs/docker/Dockerfile new file mode 100644 index 0000000..69b7c81 --- /dev/null +++ b/docs/docker/Dockerfile @@ -0,0 +1,13 @@ +FROM alpine:latest + +RUN apk --update --no-cache add doxygen graphviz git + +COPY entrypoint.sh /entrypoint.sh + +RUN chmod +x /entrypoint.sh + +WORKDIR /source + +ENTRYPOINT ["/entrypoint.sh"] + +CMD ["doxygen", "/Doxyfile_copy"] \ No newline at end of file diff --git a/docs/docker/entrypoint.sh b/docs/docker/entrypoint.sh new file mode 100644 index 0000000..748948e --- /dev/null +++ b/docs/docker/entrypoint.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +cp /Doxyfile /Doxyfile_copy +echo "OUTPUT_DIRECTORY = /output" >> /Doxyfile_copy + +exec "$@" \ No newline at end of file