Skip to content

How to efficiently fix unresolved links in generated docs? #2942

@litvix-whale

Description

@litvix-whale

Hello!

When generating documentation with TypeDoc, We get many warnings like:
[warning] Failed to resolve link to "ResourceList" in document README

However, "ResourceList" is exported from src/index.ts and has a JSDoc comment like:

/**
 * Displays a list of resources with optional filtering and table display modes.
 *
 * @param props - {@link ResourceListProps}
 */
export function ResourceList({ ... }: ResourceListProps) { ... }

Our typedoc.json looks like this:

{
    "entryPoints": ["./src", "./server"],
    "out": "packages/docusaurus/docs",
    "plugin": ["typedoc-plugin-markdown", "./tools/custom-typedoc-theme/custom-typedoc-theme.mjs"],
    "theme": "custom-markdown-theme",
    "excludePrivate": true,
    "excludeProtected": true,
    "suppressCommentWarningsInDeclarationFiles": true,
    "projectDocuments": ["./docs/**/*.md", "./README.md"],
    "hideBreadcrumbs": true,
    "entryPointStrategy": "expand",
    "excludeNotDocumented": true,
    "readme": "none"
}

Why does TypeDoc fail to resolve the link to ResourceList in the README, even though it is exported and documented? Is there something wrong with our configuration or the way we reference the symbol in markdown?

What is the recommended way to efficiently fix or manage these unresolved links in documentation?

TypeDoc version: 0.27.6
Node.js version: 22.14.0

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions