[tracker/wip/carlosg/domain-ontologies: 17/76] docs: Generate documentation for internal ontology in libtracker-sparql
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/domain-ontologies: 17/76] docs: Generate documentation for internal ontology in libtracker-sparql
- Date: Thu, 29 Jun 2017 18:51:01 +0000 (UTC)
commit fef4b41f6665f0e2222be75d70e7c660905ce182
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Jun 15 20:58:07 2017 +0200
docs: Generate documentation for internal ontology in libtracker-sparql
docs/reference/libtracker-sparql/Makefile.am | 11 +++++++++++
.../libtracker-sparql/libtracker-sparql-docs.sgml | 9 +++++++++
2 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/libtracker-sparql/Makefile.am b/docs/reference/libtracker-sparql/Makefile.am
index 4104528..9ba68dc 100644
--- a/docs/reference/libtracker-sparql/Makefile.am
+++ b/docs/reference/libtracker-sparql/Makefile.am
@@ -1,5 +1,13 @@
AUTOMAKE_OPTIONS = 1.6
+# Generation of the base ontology XML files.
+ontology-doc.stamp:
+ $(MKDIR_P) xml
+ $(top_builddir)/docs/tools/ttl2sgml -d $(top_srcdir)/src/ontologies/ -o xml/
+ $(AM_V_GEN) touch $@
+
+version.xml: ontology-doc.stamp
+
# The name of the module.
DOC_MODULE = libtracker-sparql
@@ -62,3 +70,6 @@ include $(top_srcdir)/gtk-doc.make
EXTRA_DIST += \
version.xml.in \
meson.build
+
+CLEANFILES += \
+ ontology-doc.stamp
diff --git a/docs/reference/libtracker-sparql/libtracker-sparql-docs.sgml
b/docs/reference/libtracker-sparql/libtracker-sparql-docs.sgml
index 8e628ba..bedea92 100644
--- a/docs/reference/libtracker-sparql/libtracker-sparql-docs.sgml
+++ b/docs/reference/libtracker-sparql/libtracker-sparql-docs.sgml
@@ -38,6 +38,15 @@
<xi:include href="xml/tracker-version.xml"/>
</part>
+ <part id="base-ontology">
+ <title>Base ontology</title>
+ <xi:include href="xml/dc-ontology.xml"/>
+ <xi:include href="xml/xsd-ontology.xml"/>
+ <xi:include href="xml/rdf-ontology.xml"/>
+ <xi:include href="xml/nrl-ontology.xml"/>
+ <xi:include href="xml/nao-ontology.xml"/>
+ </part>
+
<xi:include href="ontologies.sgml"/>
<xi:include href="examples.sgml"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]