Skip to content

Add support for ignoring every URL on a page #88

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

Merged
merged 2 commits into from
Sep 13, 2024
Merged

Conversation

s-i-v-e
Copy link
Contributor

@s-i-v-e s-i-v-e commented Jun 13, 2024

We save our outdated pages in an archive folder.
These pages shouldn't be checked for broken links.
And to make this possible I adapted the script to avoid validating the URLs on the given list of markdown pages in a similar way as ignore_urls.

The option is

ignore_pages:
  - path/to/file
  - path/to/folder/*

It checks for every link if it is on a page that should be ignored.
Maybe it's possible that it checks the page before going through every URL on that page.

@mflehmig
Copy link

Hello, is there anyone looking into this MR? It looks very promising :-)

@manuzhang manuzhang merged commit 00f9e29 into manuzhang:main Sep 13, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants