← Back to team overview

dhis2-documenters team mailing list archive

Re: "Home" link not working on HTML documentation

 

Hi Inés (Looks like you figured this out. I was just about to send this mail)

I dug a little bit on this, and figured out that this line in the POM
is causing the problem.

<move file="${docbook.target}/en/user/html/dhis2_user_manual_en.html"
tofile="${docbook.target}/en/user/html/index.html" />

The file is renamed, but the links in the file are not changed.

So, I think the best thing to do would be to remove this line
entirely, and redirect to the dhis2_user_manual_en.html with the
webserver.

The next best (and perhaps more desirable thing) would be to use the
ReplaceRegExp task to alter the links after they have been generated.

Your proposed fix might work, but the files would be duplicated.

Best regards,
Jason




On Wed, Sep 26, 2012 at 12:08 PM, Inés Bebea <ines.bebea@xxxxxxxxxx> wrote:
> Hi all,
>
> When generating documentation in HTML, there are some automatically created
> navigation links such as Previous, Next and Home. I realized that Home is
> not working in the Spanish version, but it is just a translation of the
> English one. Also seems to point to a non existing page in the English
> version, instead of pointing to an Index page.
>
> Is it possible to fix this?
>
> Thanks!
>
> Inés
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-documenters
> Post to     : dhis2-documenters@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-documenters
> More help   : https://help.launchpad.net/ListHelp
>


References