Re: [AD] chapters for devhelp documentation |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Mon, 2004-09-20 at 11:57 +0200, Elias Pschernig wrote:
> On Mon, 2004-09-20 at 08:58 +0100, Grzegorz Adam Hankiewicz wrote:
> > On 2004-09-17, Elias Pschernig <elias@xxxxxxxxxx> wrote:
> > > Committed the change now, along with an updated format.txt. Sorry for
> > > the delay.
> >
> > Hmmm... sorry for not actually trying it before, but with your
> > patch the TOC of each chapter in the generated HTML documentation is
> > misplaced, meaning that chapter X uses the mini-toc from chapter X-1.
> >
>
> Hm, I should have tested it myself more. Looking into it..
>
Luckily, was easy to fix. Just commited the attached one-line patch. Now
I'm going to check text, info and man docs as well.. who knows where
else those TOC entries are used.
--
Elias Pschernig
Index: docs/src/makedoc/makehtml.c
===================================================================
RCS file: /cvsroot/alleg/allegro/docs/src/makedoc/makehtml.c,v
retrieving revision 1.30
diff -r1.30 makehtml.c
688c688
< if ((toc->root) && (!toc->otherfile))
---
> if ((toc->htmlable) && (toc->root) && (!toc->otherfile))