[ http://jira.codehaus.org/browse/DOXIA-29?page=all ]

Vincent Massol reopened DOXIA-29:
---------------------------------

             
Hi Emmanuel,

I'm having the same problem (anchor links not generated properly). I'm using 
the syntax specified in the Maven APT guide. I've done a "mvn site" on my 
project . I had removed all doxia artifacts from my local repo to see which 
ones are used. Both 1.0 alpha 7 and 1.0 alpha 8 are used during the site 
generation so it seems it wasn't fixed in 1.0 alpha 6 or there's been a 
regression somewhere. Thus I'm reopening this issue.

It does work if I use the following syntax:

{noformat}
User Guide

 * {{{usage.html#Generating a Clover report when generating the site}Generating 
a Clover report when generating the site}}

 * {{{usage.html#Generating a Clover report without modifying your 
POM}Generating a Clover report without modifying your POM}}

 * {{{usage.html#Generating HTML, XML and PDF reports}Generating HTML, XML and 
PDF reports}}

 * {{{usage.html#Generating historical reports}Generating historical reports}}

 * {{{usage.html#Checking test coverage}Checking test coverage}}

 * {{{usage.html#Using Clover with JDK 1.4 and JDK 1.5 keywords}Using Clover 
with JDK 1.4 and JDK 1.5 keywords}}

 * {{{usage.html#Specifying a Clover flush policy}Specifying a Clover flush 
policy}}

 * {{{usage.html#Specifying a custom license file}Specifying a custom license 
file}}

 * {{{usage.html#Aggregating Clover reports}Aggregating Clover reports}}

 * {{{usage.html#Controlling files to instrument}Controlling files to 
instrument}}

 []

* {Generating a Clover report when generating the site}

  Blah blah...
{noformat}

But that's not the format specified in the APT guide. The section should also 
generate an implicit anchor without the need to explicitely create it.

Thanks

> APT - local anchor doesn't work
> -------------------------------
>
>                 Key: DOXIA-29
>                 URL: http://jira.codehaus.org/browse/DOXIA-29
>             Project: doxia
>          Issue Type: Bug
>    Affects Versions: 1.0-alpha-5
>         Environment: Using maven 2.0 on windows XP
>            Reporter: Olivier Berlanger
>         Assigned To: Emmanuel Venisse
>            Priority: Minor
>             Fix For: 1.0-alpha-6
>
>
> In APT documents,  the local anchor definition {anchor} and references 
> {{anchor}} are not correctly processed.
> Also, there is no anchor generated automatically for section titles (as 
> mentionned in APT doc)
> Sample page : http://doxia.codehaus.org/format.html
> --> try to click on the only internal  link named "document structure" it has 
> been generated as an external link.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to