From e2a6c9602537be9f6b37d512776f5d60b0643326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scharnitzky=20Don=C3=A1t?= Date: Tue, 7 Apr 2020 17:56:38 +0200 Subject: [PATCH] adde sphinx commands --- .drone.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.drone.yml b/.drone.yml index a3e6b8c..9838b6c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -35,6 +35,15 @@ steps: - docker build -t="$DOCKER_USERNAME/producer:$DRONE_BUILD_NUMBER" . - 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