[tracker/sam/tracker-miner-warning-fixes] docs: Add tracker-sparql documentation into fixxref search path
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/sam/tracker-miner-warning-fixes] docs: Add tracker-sparql documentation into fixxref search path
- Date: Wed, 27 Mar 2019 23:06:00 +0000 (UTC)
commit 89852ca9bd6db0c936dcfe06866ecc312094f879
Author: Sam Thursfield <sam afuera me uk>
Date: Wed Mar 27 23:59:10 2019 +0100
docs: Add tracker-sparql documentation into fixxref search path
The libtracker-miner library depends on libtracker-sparql and uses some
of the types defined there. The docs refer to these types, which
previously produced warnings and broken links:
html/TrackerDecorator.html:739: warning: no link for: "TrackerSparqlBuilder" -> (<span
class="type">TrackerSparqlBuilder</span>).
html/TrackerMiner.html:124: warning: no link for: "TrackerSparqlConnection" -> (<span
class="type">TrackerSparqlConnection</span>).
html/TrackerMiner.html:655: warning: no link for: "tracker-sparql-connection-get" -> (<code
class="function">tracker_sparql_connection_get()</code>).
With this change, the warnings are gone and the links to types from
libtracker-sparql work as expected.
docs/reference/meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
index f6af841d4..f64931159 100644
--- a/docs/reference/meson.build
+++ b/docs/reference/meson.build
@@ -1,13 +1,14 @@
glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix')
glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
-docpath = join_paths(datadir, 'gtk-doc', 'html')
+docpath = join_paths(datadir, 'gtk-doc')
fixxref_args = [
'--html-dir=@0@'.format(docpath),
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'glib')),
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gobject')),
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gio')),
+ '--extra-dir=@0@'.format(join_paths(docpath, 'libtracker-sparql')),
]
subdir('libtracker-control')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]