Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🏗 Ignore markdown templates in link checker by convention #25226

Merged
merged 2 commits into from Oct 23, 2019

Conversation

alanorozco
Copy link
Member

This might not be necessary if the ignore-by-backtick strategy works.

@rsimha Unsure how it would work with actual link syntax:

[${name} rules](https://github.com/ampproject/amphtml/blob/master/extensions/${name}/validator-${name}.protoascii) 

Also some modernizing and cleanup.

(Offshoot of #25164)

@rsimha
Copy link
Contributor

rsimha commented Oct 23, 2019

@rsimha Unsure how it would work with actual link syntax:

[${name} rules](https://github.com/ampproject/amphtml/blob/master/extensions/${name}/validator-${name}.protoascii) 

I tried a few things locally and realized that filtering out templated links is the way to go. Actual review of this PR coming up soon.

Copy link
Contributor

@rsimha rsimha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the cleanup. Always appreciate PRs of this sort.

build-system/tasks/check-links.js Show resolved Hide resolved
build-system/tasks/check-links.js Show resolved Hide resolved
@alanorozco alanorozco merged commit 57894f9 into ampproject:master Oct 23, 2019
@alanorozco alanorozco deleted the allowtemplates branch October 23, 2019 23:21
micajuine-ho pushed a commit to micajuine-ho/amphtml that referenced this pull request Dec 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants