Re: [AD] Problem with web docs?

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


On 2005-02-09, guilt <karthikkumar@xxxxxxxxxx> wrote:
> IMHO, the index.html should first be restored to allegro.html and
> a new index.html should do a HTML redirection to allegro.html :)

I agree this is the best option, without HTML redirection,
however. Proposed changes attached.
Index: makefile.all
===================================================================
RCS file: /cvsroot/alleg/allegro/makefile.all,v
retrieving revision 1.49
diff -u -r1.49 makefile.all
--- makefile.all	27 Nov 2004 09:39:20 -0000	1.49
+++ makefile.all	6 Mar 2005 14:51:51 -0000
@@ -130,7 +130,7 @@
 
 DOCS  = $(addprefix docs/txt/,$(addsuffix .txt,$(filter-out changes thanks readme, $(DOCBASEFILES))))
 DOCS += $(addprefix docs/rtf/,$(addsuffix .rtf,$(DOCBASEFILES)))
-DOCS += $(addprefix docs/html/,$(addsuffix .$(HTML),$(DOCBASEFILES)))
+DOCS += $(addprefix docs/html/,$(addsuffix .$(HTML),index $(DOCBASEFILES)))
 DOCS += $(addprefix docs/html/build/,$(addsuffix .html,$(DOCBUILDFILES)))
 DOCS += CHANGES AUTHORS THANKS readme.txt
 DOCS += docs/scite/allegro.api
Index: makefile.in
===================================================================
RCS file: /cvsroot/alleg/allegro/makefile.in,v
retrieving revision 1.70
diff -u -r1.70 makefile.in
--- makefile.in	1 Dec 2004 23:58:08 -0000	1.70
+++ makefile.in	6 Mar 2005 14:51:51 -0000
@@ -242,7 +242,7 @@
 
 DOCS  = $(addprefix docs/txt/,$(addsuffix .txt,$(filter-out changes thanks readme, $(DOCBASEFILES))))
 DOCS += $(addprefix docs/rtf/,$(addsuffix .rtf,$(DOCBASEFILES)))
-DOCS += $(addprefix docs/html/,$(addsuffix .html,$(DOCBASEFILES)))
+DOCS += $(addprefix docs/html/,$(addsuffix .html,index $(DOCBASEFILES)))
 DOCS += $(addprefix docs/html/build/,$(addsuffix .html,$(DOCBUILDFILES)))
 DOCS += docs/texi/allegro.texi docs/info/allegro.info docs/man/install_allegro.3
 DOCS += CHANGES AUTHORS THANKS readme.txt
Index: docs/src/index._tx
===================================================================
RCS file: docs/src/index._tx
diff -N docs/src/index._tx
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ docs/src/index._tx	6 Mar 2005 14:51:51 -0000
@@ -0,0 +1,30 @@
+@# This file is only meant for the HTML documentation.
+@# All other file formats should ignore it.
+@external-css=allegro.css
+@document_title=Allegro Documentation Index
+@titlepage
+<textblock>
+     ______   ___    ___
+    /\  _  \ /\_ \  /\_ \
+    \ \ \L\ \\//\ \ \//\ \      __     __   _ __   ___ 
+     \ \  __ \ \ \ \  \ \ \   /'__`\ /'_ `\/\`'__\/ __`\
+      \ \ \/\ \ \_\ \_ \_\ \_/\  __//\ \L\ \ \ \//\ \L\ \
+       \ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/
+	\/_/\/_/\/____/\/____/\/____/\/___L\ \/_/ \/___/
+				       /\____/
+				       \_/__/
+
+
+		A game programming library.
+<endblock>
+@!titlepage
+@contents
+
+@chapter
+Documentation Index
+
+@externalfile license License and Disclaimer
+@externalfile readme Readme (pointers to build instructions)
+@externalfile allegro The Allegro manual
+@externalfile changes Changes since previous versions
+@externalfile thanks Contributors: The Hall of Fame


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