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

Add --skip-external-links CLI flag to check subcommand #2756

Merged
merged 3 commits into from
Jan 2, 2025

Conversation

lo48576
Copy link

@lo48576 lo48576 commented Dec 31, 2024

Adds --skip-external-links flag to skip checking for all the external links.
This will be useful when users will run zola check very frequently or the site contains so much external links.

The default behavior is preserved, zola check checks the external links if the new flag is not specified.

Discussed in CLI flag to skip external links check - Feature requests - Zola.


Sanity check:

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Code changes

  • Are you doing the PR on the next branch?

If the change is a new feature or adding to/changing an existing one:

  • Have you created/updated the relevant documentation page(s)?

Copy link
Collaborator

@Keats Keats left a comment

Choose a reason for hiding this comment

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

Thanks for the PR

@Keats Keats merged commit d8ac819 into getzola:next Jan 2, 2025
5 checks passed
Keats pushed a commit that referenced this pull request Jan 2, 2025
* Add `--skip-external-links` CLI flag to `check` subcommand

* Add a test for checks with external links skipped

* Add a description of `--skip-external-links` flag
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.

2 participants