GithubHelp home page GithubHelp logo

Comments (5)

techbridgedev avatar techbridgedev commented on May 2, 2024 1

yes you can run "npm run build" in the sandbox normally

I see; I just needed to open a second terminal. I was able to reproduce the error.

from docusaurus.

slorber avatar slorber commented on May 2, 2024 1

Although it doesn't seem not super practical, it is working as intended, cf my comment here: #9721 (comment)

You need to use useBrokenLinks().collectAnchor("another-anchor") on the page to make sure Docusaurus is aware of this anchor.

Thanks to (#9732), when Docusaurus 3.1.1 is released (later this week?) you should be able to use Docusaurus Link component to make it more convenient in practice to create anchors:

import Link from '@docusaurus/Link';

<Link id="test-link-anchor"/>

We'll investigate later how we could make it possible to automatically collect anchors so that you don't have to care about it, but for now you have to collect all anchors manually for the broken link checker to know about them, or use the @theme/Heading (Markdown heading) or the <Link> component.

from docusaurus.

slorber avatar slorber commented on May 2, 2024

please create a repro using docusaurus.new.

The repro steps are too vague to act on. We don't even know the content of the files.

We'll reopen if a repro is provided

from docusaurus.

techbridgedev avatar techbridgedev commented on May 2, 2024

I've opened a repo at https://codesandbox.io/p/devbox/great-brahmagupta-q5kf5c.

However, since the error is thrown only during a build, I'm unable to test or duplicate the error. Is there a way to trigger a build on the sandbox?

from docusaurus.

slorber avatar slorber commented on May 2, 2024

thanks, will check later

However, since the error is thrown only during a build, I'm unable to test or duplicate the error. Is there a way to trigger a build on the sandbox?

yes you can run "npm run build" in the sandbox normally

from docusaurus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.