aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-09-07 12:44:04 +0200
committerDavid Robillard <d@drobilla.net>2019-09-07 14:55:42 +0200
commitc1a4ccae6a53c5d92807bba8a8e6cc3048c1449b (patch)
tree9079094d75993ad73ee925e7c138be78442048bb
parent92937b14c733a344d7554d2edfd449a7b4ad63ff (diff)
Build documentation on CI
-rw-r--r--.gitlab-ci.yml17
-rw-r--r--README.md5
2 files changed, 21 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4fe8cf9..0a2215c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,6 @@
stages:
- build
+ - deploy
.build_template: &build_definition
stage: build
@@ -39,7 +40,10 @@ arm64_rel:
x64_dbg:
<<: *build_definition
image: lv2plugin/debian-x64
- script: python ./waf configure build -dsT --no-coverage
+ script: python ./waf configure build -dsT --no-coverage --docs
+ artifacts:
+ paths:
+ - build/doc
x64_rel:
<<: *build_definition
@@ -102,3 +106,14 @@ win_rel:
script: python ./waf configure build -T --no-coverage
tags:
- windows
+
+pages:
+ stage: deploy
+ script: mv build/doc/html/ public/
+ dependencies:
+ - x64_dbg
+ artifacts:
+ paths:
+ - public
+ only:
+ - master
diff --git a/README.md b/README.md
index 8169f79..718e690 100644
--- a/README.md
+++ b/README.md
@@ -67,4 +67,9 @@ don't depend on Cairo and its dependencies, or vice-versa.
Distributions are encouraged to include static libraries if possible so that
developers can build portable plugin binaries.
+Documentation
+-------------
+
+ * [API reference](https://lv2.gitlab.io/pugl/)
+
-- David Robillard <d@drobilla.net>