[AD] devhelp docs

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


The "base" attribute changed in devhelp, therefore I'm going to apply
the attached patch. In previous versions, it was ignored, now it
specifies the path to the documentation - and the bogus path which was
filled in before breaks the Allegro book now. I also removed the version
string, and added an xmlns line which I saw in other books.

-- 
Elias Pschernig <elias@xxxxxxxxxx>
Index: docs/src/makedoc/makedevh.c
===================================================================
RCS file: /cvsroot/alleg/allegro/docs/src/makedoc/makedevh.c,v
retrieving revision 1.1
diff -u -r1.1 makedevh.c
--- docs/src/makedoc/makedevh.c	16 Sep 2002 01:04:42 -0000	1.1
+++ docs/src/makedoc/makedevh.c	15 May 2003 14:46:31 -0000
@@ -35,8 +35,6 @@
 #define PREV_ROOT 1
 #define PREV_SUB  2
 
-#define VERSION_STRING "4.0.0"
-
 /* Buffered tocs. Only the 'local' pointer should be freed */
 typedef struct BTOC
 {
@@ -133,10 +131,9 @@
    
    fprintf(file, "<?xml version=\"1.0\"?>\n");
    fprintf(file, "\n");
-   fprintf(file, "<book title=\"Allegro Game Library\"\n");
+   fprintf(file, "<book xmlns=\"http://www.devhelp.net/book\"\n";);
+   fprintf(file, "      title=\"Allegro Game Library\"\n");
    fprintf(file, "      name=\"allegro\"\n");
-   fprintf(file, "      version=\"%s\"\n", VERSION_STRING);
-   fprintf(file, "      base=\"http://alleg.sf.net/api.html/\"\n";);
    fprintf(file, "      link=\"allegro.html\">\n");
    fprintf(file, "\n");
    fprintf(file, "<chapters>\n");


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/