This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: Java web pages -vs- Mauve
- To: Tom Tromey <tromey at redhat dot com>
- Subject: Re: Patch: Java web pages -vs- Mauve
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Sat, 3 Feb 2001 02:21:05 +0100 (CET)
- cc: <gcc-patches at gcc dot gnu dot org>
On 2 Feb 2001, Tom Tromey wrote:
>> But, we should do something about the code duplication in these pages,
>> for example by using the MetaHTML machinery we have on gcc.gnu.org.
> Can you tell me how to do this?
Of course!
As you noticed already (I conclude this from the fact that we only have
*one* footer on all Java pages), also the Java pages already are auto-
matically preprocessed by wwwdocs/bin/preprocess.
If you want to have the navigation on all pages, I suggest adding
something like
<define-container TomAndJerry>
Table of contents:
<a href="blah">blah</a> |
<a href="blöh">blöh</a>
<br>
By Tom, for Jerry
</define-container>
to wwwdocs/htdocs/style.mhtml and then using
<TomAndJerry></TomAndJerry>
wherever you want that navigation thingie to appear.
(After you have committed an updated style file, you'll have to run
the wwwdocs/bin/preprocess script on gcc.gnu.org manually; we can try
to automate that later.)
Gerald
--
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/