]> kaliko git repositories - python-musicpd.git/blobdiff - .gitlab-ci.yml
Add sphinx doc (closes #3)
[python-musicpd.git] / .gitlab-ci.yml
index ff576c064df4ca817d4e4b6d9e4d7725de94ed3f..8ed09988737e678772cdcdaa3152cdf43fa0d0aa 100644 (file)
@@ -44,3 +44,14 @@ tag_release:
     name: "$CI_PROJECT_NAME-$CI_COMMIT_TAG"
   only:
     - tags
+
+pages:
+  stage: build
+  script:
+  - pip install sphinx sphinx_rtd_theme
+  - sphinx-build -d ./build/doctrees doc/source -b html ./public -D html_theme=sphinx_rtd_theme
+  artifacts:
+    paths:
+    - public
+  only:
+  - master