From 0683e047c403ddcb9a9cee71f01242702d355058 Mon Sep 17 00:00:00 2001
From: Dilawar Singh <dilawar@subcom.tech>
Date: Tue, 11 Oct 2022 15:07:27 +0530
Subject: [PATCH] use the poetry to build docs.

---
 .gitlab-ci.yml | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index aed10e6..ef75955 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -39,10 +39,9 @@ pages:
     - linux
   stage: deploy
   script:
-    - apt update && apt install -y graphviz
-    - python3 -m pip install sphinx
-    - python3 -m pip install -r docs/requirements.txt
-    - sphinx-build -b html docs/source public
+    - apt update && apt install -y graphviz make
+    - python3 -m pip install poetry
+    - make docs && cp -r docs/build/html public
   artifacts:
     paths:
       - public
-- 
GitLab