From 35fd32a4c1966ad998450ad070041e40837a31aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scharnitzky=20Don=C3=A1t?= Date: Tue, 7 Apr 2020 17:57:48 +0200 Subject: [PATCH] added sphinx commands --- .drone.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.drone.yml b/.drone.yml index a3e6b8c..1d9ce37 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,6 +36,15 @@ steps: - docker push "$DOCKER_USERNAME/producer" - docker push "$DOCKER_USERNAME/producer:$DRONE_BUILD_NUMBER" +- name: build_docs + image: python:3 + commands: + - pip3 install Sphinx + - pip3 install -r requirements.txt + - cd docs + - sphinx-apidoc -o source/ ../ + - make html + - name: slack image: plugins/slack settings: