[tracker/wip/carlosg/hotdoc: 45/53] docs: Fix image locations
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/hotdoc: 45/53] docs: Fix image locations
- Date: Fri, 20 Aug 2021 12:38:41 +0000 (UTC)
commit 0227af261f81629acb9a542f4b84442d5b81622f
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Aug 3 17:46:02 2021 +0200
docs: Fix image locations
docs/reference/libtracker-sparql/tutorial.md | 6 +++---
docs/tools/tracker-docgen-md.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/docs/reference/libtracker-sparql/tutorial.md b/docs/reference/libtracker-sparql/tutorial.md
index 6be99511d..cff3d8565 100644
--- a/docs/reference/libtracker-sparql/tutorial.md
+++ b/docs/reference/libtracker-sparql/tutorial.md
@@ -21,7 +21,7 @@ triple of the form:
Or expressed visually:
-![Triple Graph](triple-graph-1.png)
+![Triple Graph](images/triple-graph-1.png)
Subject and object are 2 graph vertices and the predicate is the edge,
the accumulation of those triples form the full graph. For example,
@@ -51,7 +51,7 @@ the following triples:
Would visually generate the following graph:
-![Triple Graph](triple-graph-2.png)
+![Triple Graph](images/triple-graph-2.png)
The dot after each triple is not (just) there for legibility, but is
part of the syntax. The RDF triples in full length are quite
@@ -209,7 +209,7 @@ SELECT ?song ?songTitle ?albumTitle { ?song a nmm:MusicPiece ;
```
Stop a bit to think on the graph pattern expressed in the last query:
-![Graph Pattern](triple-graph-3.png)
+![Graph Pattern](images/triple-graph-3.png)
This pattern on one hand consists of specified data (eg. `?song` must be
a `nmm:MusicPiece`, it must have a `nmm:musicAlbum` and a `nie:title`,
diff --git a/docs/tools/tracker-docgen-md.c b/docs/tools/tracker-docgen-md.c
index 0f5c27ed6..411d8c7f7 100644
--- a/docs/tools/tracker-docgen-md.c
+++ b/docs/tools/tracker-docgen-md.c
@@ -109,7 +109,7 @@ print_flag (FILE *f,
const gchar *icon_name,
const gchar *flag_description)
{
- g_fprintf (f, "[![%s](%s \"%s\")](%s)",
+ g_fprintf (f, "[![%s](images/%s \"%s\")](%s)",
flag_description, icon_name, flag_description, flag_property_link);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]