You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ralf Quebbemann <ra...@gmx.de> on 2006/07/17 22:02:02 UTC

[M2] Generating TOC in sites created in APT or simplified docbook format

Hi,

I can't seem to find an option to activate the generation of a Table of contents (TOC) for my APT or docbook 
documentation. I assume that the doxia module is the place to look for such a feature, but I can't find anything except 
for this JIRA entry (http://jira.codehaus.org/browse/DOXIA-40). Unfortunately the Maven site plugin does not provide an 
option to generate a TOC.

Did I miss something or is it (currently) not possible to generate TOCs for APT (docbook) documents?

Any help would be greatly appreciated

	Ralf

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [M2] Generating TOC in sites created in APT or simplified docbook format

Posted by Trygve Laugstøl <tr...@apache.org>.
Ralf Quebbemann wrote:
> Looks very promising. That is indeed something I am looking for. Just 
> another question: I am not sure why I must specify an XML file to 
> describe the book's chapters and sections. That information can be 
> extracted from the apt document structure. Is it mandatory to provide 
> that XML file?

Currently it is. I'm open to suggestions on how you would structure a 
document if you're not to use some form of descriptor. I found making a 
deep directory structure annoying and the same with a special naming 
convention. Using a descriptor also made it easier to include external 
content as it's all referenced using IDs instead of file paths.

Note that Doxia Book is very much a scratching of a personal itch but it 
has been useful in the couple of projects I've used it in. For any other 
interrested parties I've uploaded the new Doxia site which includes an 
example site to [1].

[1]: http://maven.apache.org/doxia/doxia-example-book/

--
Trygve

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [M2] Generating TOC in sites created in APT or simplified docbook format

Posted by Ralf Quebbemann <ra...@gmx.de>.
Looks very promising. That is indeed something I am looking for. Just another question: I am not sure why I must specify 
an XML file to describe the book's chapters and sections. That information can be extracted from the apt document 
structure. Is it mandatory to provide that XML file?

Thanke in advance

	Ralf

Trygve Laugstøl wrote:
> Ralf Quebbemann wrote:
>> Hi,
>>
>> I can't seem to find an option to activate the generation of a Table 
>> of contents (TOC) for my APT or docbook documentation. I assume that 
>> the doxia module is the place to look for such a feature, but I can't 
>> find anything except for this JIRA entry 
>> (http://jira.codehaus.org/browse/DOXIA-40). Unfortunately the Maven 
>> site plugin does not provide an option to generate a TOC.
>>
>> Did I miss something or is it (currently) not possible to generate 
>> TOCs for APT (docbook) documents?
> 
> If you feel experimental you can check out the Doxia sources from [1] 
> and build you can write books with TOCs and "next"/"prev" links. Check 
> out the generated site from doxia-site [2] for an example on how to use it.
> 
> Just beware that the code is very new, but from the generated site you 
> should see that it is in fact working (at least in my back yard) :)
> 
> [1]: https://svn.apache.org/repos/asf/maven/doxia/trunk
> [2]: https://svn.apache.org/repos/asf/maven/doxia/trunk/doxia-site
> 
> -- 
> Trygve
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [M2] Generating TOC in sites created in APT or simplified docbook format

Posted by Trygve Laugstøl <tr...@apache.org>.
Ralf Quebbemann wrote:
> Hi,
> 
> I can't seem to find an option to activate the generation of a Table of 
> contents (TOC) for my APT or docbook documentation. I assume that the 
> doxia module is the place to look for such a feature, but I can't find 
> anything except for this JIRA entry 
> (http://jira.codehaus.org/browse/DOXIA-40). Unfortunately the Maven site 
> plugin does not provide an option to generate a TOC.
> 
> Did I miss something or is it (currently) not possible to generate TOCs 
> for APT (docbook) documents?

If you feel experimental you can check out the Doxia sources from [1] 
and build you can write books with TOCs and "next"/"prev" links. Check 
out the generated site from doxia-site [2] for an example on how to use it.

Just beware that the code is very new, but from the generated site you 
should see that it is in fact working (at least in my back yard) :)

[1]: https://svn.apache.org/repos/asf/maven/doxia/trunk
[2]: https://svn.apache.org/repos/asf/maven/doxia/trunk/doxia-site

--
Trygve

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org