maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Nesterenko (JIRA)" <j...@codehaus.org>
Subject [jira] (DOXIA-525) Rendering links in xdocs breaks them
Date Fri, 13 Feb 2015 22:39:17 GMT

     [ https://jira.codehaus.org/browse/DOXIA-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aleksey  Nesterenko updated DOXIA-525:
--------------------------------------

    Description: 
Generating linkcheck report on our project has encountered some problems.
In final report lots of links are marked as "invalid"

Report generated on test project:

http://alexkravin.github.io/testproject/writingchecks.html

For example try to follow link  processFiltered(java.io.File, java.util.List)

Look to the URL:
link looks like AbstractFileSetCheck.html#processFilteredjava.io.File_java.util.List

Rendering link in this velocity template breaks it:

https://github.com/alexkravin/linkstest/blob/master/src/xdocs/writingchecks.xml.vm#L13

brackets and space in the link are broken, the similar problem was specified here
https://jira.codehaus.org/browse/DOXIA-397

but in velocity template developer can't put '##' - it would fail the rendering

Steps of reproducing my problem (for simplifying I'm pointing on my test project):

1) git clone git@github.com:alexkravin/linkstest.git && cd linkstest/
2) mvn clean site
3) Open target/site/writingchecks.html



  was:
Generating linkcheck report on our project has encountered some problems.
In final report lots of links are marked as "invalid"

Report generated on test project:

http://alexkravin.github.io/testproject/linkcheck.html

Problems in scope of doxia are in the end of report, e.g.:

apidocs/com/puppycrawl/tools/checkstyle/api/AbstractFileSetCheck.html#processFilteredjava.io.File_java.util.List:
doesn't exist.

For example, rendering link in this velocity template breaks it:

https://github.com/alexkravin/linkstest/blob/master/src/xdocs/writingchecks.xml.vm#L486

brackets and space in the link are broken, the similar problem was specified here http://osdir.com/ml/issues.maven.apache.org/2013-02/msg00437.html

Steps of reproducing my problem (for simplifying I'm pointing on my test project):

1) git clone git@github.com:alexkravin/linkstest.git && cd linkstest/
2) mvn clean site
3) Open target/site/linkcheck.html

Current report: http://alexkravin.github.io/testproject/linkcheck.html




> Rendering links in xdocs breaks them
> ------------------------------------
>
>                 Key: DOXIA-525
>                 URL: https://jira.codehaus.org/browse/DOXIA-525
>             Project: Maven Doxia
>          Issue Type: Bug
>    Affects Versions: 1.6
>            Reporter: Aleksey  Nesterenko
>
> Generating linkcheck report on our project has encountered some problems.
> In final report lots of links are marked as "invalid"
> Report generated on test project:
> http://alexkravin.github.io/testproject/writingchecks.html
> For example try to follow link  processFiltered(java.io.File, java.util.List)
> Look to the URL:
> link looks like AbstractFileSetCheck.html#processFilteredjava.io.File_java.util.List
> Rendering link in this velocity template breaks it:
> https://github.com/alexkravin/linkstest/blob/master/src/xdocs/writingchecks.xml.vm#L13
> brackets and space in the link are broken, the similar problem was specified here
> https://jira.codehaus.org/browse/DOXIA-397
> but in velocity template developer can't put '##' - it would fail the rendering
> Steps of reproducing my problem (for simplifying I'm pointing on my test project):
> 1) git clone git@github.com:alexkravin/linkstest.git && cd linkstest/
> 2) mvn clean site
> 3) Open target/site/writingchecks.html



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message