[ 
https://issues.apache.org/jira/browse/BEAM-5678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Scott Wegner resolved BEAM-5678.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 2.8.0

> 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)

Reply via email to