amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Indicate page validity as part of local gulp proxy serving

Open keithwrightbos opened this issue 8 years ago • 4 comments

There has been numerous times when attributes or meta tags have been introduced as part of PRs but not added to the validator whitelist. Part of the reason is that local testing via gulp proxy works as expected as there is no validation. Would be ideal if part of proxying would be to run the JS validator (can be async to serving page) to indicate if and why the page fails validation.

keithwrightbos avatar Dec 14 '17 15:12 keithwrightbos

Also add presubmit check that all pages served from examples are valid AMP.

keithwrightbos avatar Dec 18 '17 15:12 keithwrightbos

Adding #development=1 loads the JS validator at runtime.

dreamofabear avatar Jan 25 '18 19:01 dreamofabear

@keithwrightbos Does #development=1 address the need here?

rsimha avatar May 21 '19 20:05 rsimha

Closing as stale. Please reopen if the suggestion above doesn't work.

rsimha avatar Apr 30 '20 23:04 rsimha