This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch: Java web pages -vs- Mauve


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]