[libgda] CI: use correct Vala documenation location
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] CI: use correct Vala documenation location
- Date: Thu, 26 Jul 2018 14:29:27 +0000 (UTC)
commit 886b6f7d4c6d21023ef34e6239d8c36f6a74b4ae
Author: Daniel Espinosa <esodan gmail com>
Date: Wed Jul 25 12:21:23 2018 -0500
CI: use correct Vala documenation location
Now it force documentation generation to avoid
fail on non-empty directories
.gitlab-ci.yml | 2 +-
doc/index.html | 10 ++++++++++
doc/meson.build | 1 +
3 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b11c0fbee..e06ada89e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -84,7 +84,7 @@ pages:
- ninja install
- mv doc/index.html public/
- mv doc/C ../public/C
- - mv doc/valadoc/libgda-6.0 ../public/vala
+ - mv doc/libgda-6.0 ../public/vala
artifacts:
paths:
- public
\ No newline at end of file
diff --git a/doc/index.html b/doc/index.html
new file mode 100644
index 000000000..a31390a49
--- /dev/null
+++ b/doc/index.html
@@ -0,0 +1,10 @@
+<html>
+ <body>
+ <h1>GNOME Data Access Documentation</h1>
+ <p></p>
+ <h2>C API</h2>
+ <p>GDA is written in C, checkout API <a href="C">documentation</a></p>
+ <h2>Vala API</h2>
+ <p>GDA has GObject Introspection support and <a href="vala">Vala Bindings</a></p>
+ </body>
+</html>
\ No newline at end of file
diff --git a/doc/meson.build b/doc/meson.build
index ea1f6f667..4f3f78c50 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -5,6 +5,7 @@ if valadoc.found()
command: [ valadoc,
'--pkg=libxml-2.0',
'--pkg=gio-2.0',
+ '--force',
'--girdir='+join_paths(meson.build_root(),'libgda'),
'--metadatadir='+join_paths(meson.source_root(),'libgda'),
'--vapidir='+join_paths(meson.build_root(),'libgda'),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]