[tracker/wip/carlosg/hotdoc: 35/40] docs: Fix image locations




commit 22b9f09ae82c4f9201dab4b1f1fbc5c36e334da6
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]