Skip to content

broken links on build #7679

Description

@Arhell

Have you read the Contributing Guidelines on issues?

Prerequisites

  • I'm using the latest version of Docusaurus.
  • I have tried the npm run clear or yarn clear command.
  • I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
  • I have tried creating a repro with https://new.docusaurus.io.
  • I have read the console error message carefully (if applicable).

Description

When checking yarn start locally, everything works, I checked the links.
yarn build throws errors

Provided that docusaurus.config.js has onBrokenLinks: 'throw'
If you remove this value, then everything is fine, but the condition that this value would be.

Reproducible demo

kubevela/kubevela.github.io#771

Steps to reproduce

update https://github.com/kubevela/kubevela.io/pull/771/files
https://github.com/kubevela/kubevela.io/runs/7039961689?check_suite_focus=true

Expected behavior

There should be no errors if the links are not broken

Actual behavior

https://github.com/kubevela/kubevela.io/runs/7039961689?check_suite_focus=true

Your environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed: working as intendedThis issue is intended behavior, there's no need to take any action.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions