Comments (5)
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.
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.
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.
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.
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)
- Pages do not support Markdown "file path" links HOT 6
- navigation to '/index.html' with a static web server duplicates the page's content. HOT 2
- Broken link found where it should not on relative (same folder) link HOT 5
- LastUpdateTime and LastUpdateAuthor are not displayed in some documents HOT 2
- onBrokenAnchors reports spurious broken anchors for every page HOT 3
- [Bug]: `Invalid name=docusaurus-plugin-vercel-analytics version number=0.0.0-5831.` HOT 1
- Hydration failed because the initial UI does not match what was rendered on the server. HOT 6
- Dark mode not sticking on Brave Browser HOT 1
- Code block no longer show syntax highlight HOT 8
- how to create code blocks new design HOT 1
- Mermaid not displaying correctly in mdx HOT 2
- Reference link to source path introduce extra ) HOT 1
- Issues with npm run build with custom calendar component HOT 2
- End-of-line CRLF sequence causes TabItem compilation error HOT 4
- Math equations do not work when imported from another file HOT 3
- Unable to import type for `SidebarItemConfig` in a typescript Docusaurus project. HOT 1
- Table of contents should scroll with content HOT 7
- Invalid hook call when using react class component in MDX HOT 12
- RangeError: Invalid string length when building with a very large number of blogs HOT 7
- Broken link in a-tag not detected HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docusaurus.