From 0a9cda86b8d473d5e0a9e53d25280de72cb7d134 Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Thu, 22 Jul 2021 18:33:42 +0200
Subject: [PATCH] [doc] Fix documentation generation

The generation was happening outside Poetry virtualenv
where the dependencies where not found and therefore
some parts of the autodoc was missing
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 963563fd..8d82da68 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
 
 # generate documentation
 docs:
-	cd docs && rm duniterpy.*; poetry run sphinx-apidoc -o . ../duniterpy && make clean && make html && cd ..
+	cd docs && rm duniterpy.*; poetry run sphinx-apidoc -o . ../duniterpy && poetry run make clean && poetry run make html && cd ..
 
 # run tests
 tests:
-- 
GitLab