Re: [AD] Docs and set_gfx_mode |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Sun, 2004-09-26 at 17:58 +0100, Grzegorz Adam Hankiewicz wrote:
> On 2004-09-26, Elias Pschernig <elias@xxxxxxxxxx> wrote:
> > > > 1. bottom of the /docs/html/readme.html "A general
> > > > introduction to Allegro" there is no 'Back to Contents'
> > > > link at the bottom of the page, like all the other pages.
> > > > it would be nice to have the "back to contents" link at the
> > > > top of all pages.
> > >
> > > PD: Damn, I just figured out how to do it myself. Shouldn't read
> > > these mails while drunk...
> >
> > I'm confused.. did you figure out how to enable the links in
> > external files, and this problem is fixed? Else I'm going to
> > investigate..
>
> I happened to think of an acceptable way to fix those external
> pages. When the external link is processed, a function can be called
> to modify the external page. This function would load the HTML
> file as a binary block and perform a search for the standard "Back
> to contents" text in the last 5KB. If not found, it would search
> for the usual </body> tag and resave the file with the "Back to
> contents" HTML chunk just before the </body> tag. Then we only need
> to make sure allegro._tx is processed after all other ._tx files.
>
> Hacky hacky. It could even work with the build/* files. Since
> they are clearly external, we could write "Back to Allegro manual"
> instead.
>
Couldn't it be added unconditionally (without scanning)?
--
Elias Pschernig