[tracker] Add links to classes in different files in the HTML documentation



commit 9eea5708d49fc2e9e3788d90364f818b8f55b0d4
Author: Ivan Frade <ivan frade nokia com>
Date:   Fri Nov 13 14:27:30 2009 +0200

    Add links to classes in different files in the HTML documentation

 utils/services/gen-doc.sh |    4 ++--
 utils/services/ttl2html.c |    3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/utils/services/gen-doc.sh b/utils/services/gen-doc.sh
index c52c429..3b566fb 100755
--- a/utils/services/gen-doc.sh
+++ b/utils/services/gen-doc.sh
@@ -17,7 +17,7 @@ mkdir -p $BUILD_DIR
 echo "Compiling the tools"
 make
 
-echo "Generating list of classes-properties and files"
+echo "Generating list of classes-properties and files (file-class.cache)"
 if [ -e file-class.cache ]; then
    rm -f file-class.cache ;
 fi
@@ -34,7 +34,7 @@ for f in `find ../../data/ontologies -name "*.description"` ; do
       PREFIX=${TMPNAME#*-}
       echo "Generating $PREFIX"
       mkdir -p $BUILD_DIR/$PREFIX
-      ./ttl2html -d $f -o $BUILD_DIR/$PREFIX/index.html
+      ./ttl2html -d $f -o $BUILD_DIR/$PREFIX/index.html -l file-class.cache
 done
 
 echo "Copying resources"
diff --git a/utils/services/ttl2html.c b/utils/services/ttl2html.c
index 906e07d..8e7591b 100644
--- a/utils/services/ttl2html.c
+++ b/utils/services/ttl2html.c
@@ -35,7 +35,6 @@ main (gint argc, gchar **argv)
         gchar *ttl_file = NULL;
         gchar *dirname = NULL;
         FILE *f = NULL;
-        gchar *class_location = NULL;
 
         g_type_init ();
 
@@ -80,7 +79,7 @@ main (gint argc, gchar **argv)
         g_free (ttl_file);
         g_free (dirname);
 
-        ttl_html_print (description, ontology, f, class_location);
+        ttl_html_print (description, ontology, f, class_location_file);
 
         ttl_loader_free_ontology (ontology);
         ttl_loader_free_description (description);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]