From c86e4ee2cda3f1b3bf042f13ca4dd363bf73f0bc Mon Sep 17 00:00:00 2001 From: Marius Kriegerowski Date: Fri, 19 Feb 2021 10:32:39 +0100 Subject: [PATCH] add documentation to Makefile/CI --- .gitlab-ci.yml | 5 +++++ Makefile | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 35fedc9..4382303 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,3 +32,8 @@ coverage: artifacts: reports: cobertura: coverage.xml + +docs: + script: + - pip3 install pdoc3 + - make documentation diff --git a/Makefile b/Makefile index 5775cde..ed01851 100644 --- a/Makefile +++ b/Makefile @@ -8,3 +8,9 @@ check: $(SOURCES) black: $(SOURCES) black --line-length $(LENGTH) $^ + +documentation: + pdoc --html shakyground2 -o docs/build -f + +clean: + rm -r -f docs/build -- GitLab