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

feat(build): allow ignoring dead links #793

Merged
merged 1 commit into from Jun 25, 2022
Merged

feat(build): allow ignoring dead links #793

merged 1 commit into from Jun 25, 2022

Conversation

brc-dd
Copy link
Member

@brc-dd brc-dd commented Jun 14, 2022

This PR introduces a new option ignoreDeadLinks in user config:

// .vitepress/config.js

export default {
  ignoreDeadLinks: true // <-- this will still warn users on dead links but won't throw error
                        // default value is false, i.e. builds will fail on encountering dead links
}

Fixes #586.

@brc-dd brc-dd changed the title feat: allow ignoring dead links feat(build): allow ignoring dead links Jun 17, 2022
@brc-dd brc-dd requested review from kiaking and meteorlxy June 17, 2022 07:47
@brc-dd brc-dd merged commit 19b0758 into main Jun 25, 2022
@brc-dd brc-dd deleted the feat/ignoreDeadLinks branch June 25, 2022 17:44
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add configuration for ignore dead links
1 participant