From c1a4ccae6a53c5d92807bba8a8e6cc3048c1449b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 7 Sep 2019 12:44:04 +0200 Subject: Build documentation on CI --- .gitlab-ci.yml | 17 ++++++++++++++++- README.md | 5 +++++ 2 files changed, 21 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1