[
https://issues.apache.org/jira/browse/BEAM-5678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16645734#comment-16645734
]
Scott Wegner commented on BEAM-5678:
------------------------------------
As of https://github.com/apache/beam/pull/6608, this no longer seems to be an
issue. The locally-generated HTML used for testing no longer specifies as site
{{url}} in the _config.yml, so the redirect plugin generates relative
redirects. Huzzah!
> Jeckyll redirect_from incompatible with HTMLProofer url validation
> ------------------------------------------------------------------
>
> Key: BEAM-5678
> URL: https://issues.apache.org/jira/browse/BEAM-5678
> Project: Beam
> Issue Type: Sub-task
> Components: website
> Reporter: Scott Wegner
> Assignee: Scott Wegner
> Priority: Minor
> Fix For: 2.8.0
>
>
> Renaming a URL and using the Jekyll {{redirect_from}} feature breaks
> pre-commit validation.
> We hit this on
> [PR580|https://github.com/apache/beam-site/pull/580#issuecomment-427516952]:
> bq. The scenario for using a redirect is if you're moving {{pageA.md}} to
> {{pageB.md}}; you would rename the file to {{pageB.md}} and add
> {{redirect_from: pageA}}. This will cause jekyll to generate a {{pageA.html}}
> with a redirect to {{https://beam.apache.org/pageB.html}}. But {{pageB.html}}
> doesn't exist on the livesite yet, so it will always fail.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)