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

ignoreDeadLinks doesn't work #1084

Closed
3 tasks done
jackdotink opened this issue Jul 28, 2022 · 1 comment
Closed
3 tasks done

ignoreDeadLinks doesn't work #1084

jackdotink opened this issue Jul 28, 2022 · 1 comment
Labels
bug: pending triage Maybe a bug, waiting for confirmation

Comments

@jackdotink
Copy link

Describe the bug

When I enable the ignoreDeadLinks option in /docs/.vitepress/config.js, yarn docs:build still fails with the reason being One or more pages contain dead links.

Reproduction

Create a new vitepress project.
In /docs/.vitepress/config.js:

export default {
    ignoreDeadLinks: true,
    title: "test",
    description: "test stuff"
}

In /docs/api/index.md:

[test](./test)

Expected behavior

It is expected that the build process will succeed, because it should ignoreDeadLinks instead of failing because of them.

System Info

System:
    OS: Windows 10 10.0.19044
    CPU: (12) x64 Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz       
    Memory: 6.63 GB / 15.93 GB
  Binaries:
    Node: 18.5.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - C:\Program Files\nodejs\yarn.CMD
    npm: 8.15.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (103.0.1264.71)    
    Internet Explorer: 11.0.19041.1566
  npmPackages:
    vitepress: ^1.0.0-alpha.4 => 1.0.0-alpha.4

Additional context

No response

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
@jackdotink jackdotink added the bug: pending triage Maybe a bug, waiting for confirmation label Jul 28, 2022
@cy920820
Copy link

It'll be there in alpha-5.

@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
bug: pending triage Maybe a bug, waiting for confirmation
Projects
None yet
Development

No branches or pull requests

2 participants