You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Ben Weidig (Jira)" <ji...@apache.org> on 2023/06/25 09:29:00 UTC
[jira] [Commented] (TAP5-2629) T5 website: most slugs in footer of release notes are broken
[ https://issues.apache.org/jira/browse/TAP5-2629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17736846#comment-17736846 ]
Ben Weidig commented on TAP5-2629:
----------------------------------
I looked into it, and the problem is how Confluence exports its pages.
The "Footer" page correctly uses absolute URLs in the anchors, e.g., "/index.html", which you'll see if you edit the page.
If you click "View Source" instead, it removes the leading slash, making it a relative URL.
My guess it that Confluence sees that the page is already at root level and removes the slash.
However, the SiteExporter includes the page regardless of location.
I don't know how to fix it yet, as the data the SiteExporter receives is already broken.
Maybe marking absolute links with a class, so the SiteExporter can change them?
> T5 website: most slugs in footer of release notes are broken
> ------------------------------------------------------------
>
> Key: TAP5-2629
> URL: https://issues.apache.org/jira/browse/TAP5-2629
> Project: Tapestry 5
> Issue Type: Bug
> Components: documentation
> Reporter: Benjamin Redling
> Priority: Minor
> Labels: web
>
> A lot of links in the footer (Home, Download, Team ... Introduction, Principles, Getting Started... etc.) of release notes are broken due to a wrong slug:
> non-extistent slug is of format
> https://tapestry.apache.org/2020/03/23/<page>
> ->
> working slug on frontpage is
> https://tapestry.apache.org/<page>
>
> e.g., https://tapestry.apache.org/2020/03/23/tapestry-550-released.html
--
This message was sent by Atlassian Jira
(v8.20.10#820010)