Scott Wegner created BEAM-5678:
----------------------------------
Summary: 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
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)