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

How to ignore unknown block tag from node_modules #2647

Closed
noxzym opened this issue Jul 25, 2024 · 4 comments
Closed

How to ignore unknown block tag from node_modules #2647

noxzym opened this issue Jul 25, 2024 · 4 comments
Labels
bug Functionality does not match expectation
Milestone

Comments

@noxzym
Copy link

noxzym commented Jul 25, 2024

Question

How to ignore unknown block tag from node_modules

./node_modules/.pnpm/@[email protected]/node_modules/@sapphire/framework/dist/cjs/index.d.cts:988:7 - [warning] Encountered an unknown block tag @note

988         * @note You can set {@link Command.Options.fullCategory} to override the built-in category resolution.

./node_modules/.pnpm/@[email protected]/node_modules/@sapphire/framework/dist/cjs/index.d.cts:997:7 - [warning] Encountered an unknown block tag @note

997         * @note You can set {@link Command.Options.fullCategory} to override the built-in category resolution.

./node_modules/.pnpm/@[email protected]/node_modules/@sapphire/framework/dist/cjs/index.d.cts:1006:7 - [warning] Encountered an unknown block tag @note

1006         * @note You can set {@link Command.Options.fullCategory} to override the built-in category resolution.

typedoc.json

{
    "$schema": "https://typedoc.org/schema.json",
    "name": "My Monorepo Packages",
    "emit": "docs",
    "readme": "./README.md",
    "hideGenerator": true,
    "cleanOutputDir": true,
    "excludeExternals": true,
    "entryPoints": ["packages/*"],
    "entryPointStrategy": "packages",
    "packageOptions": {
        "entryPoints": ["src/index.ts"]
    },
    "plugin": [
        "typedoc-plugin-djs-links",
        "typedoc-plugin-mdn-links",
        "typedoc-material-theme"
    ]
}
@noxzym noxzym added the question Question about functionality label Jul 25, 2024
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Jul 25, 2024

You want the suppressCommentWarningsInDeclarationFiles option, which apparently I forgot to add to the documentation

@noxzym
Copy link
Author

noxzym commented Jul 26, 2024

I have try it and that warning still appears

@Gerrit0
Copy link
Collaborator

Gerrit0 commented Jul 26, 2024

Ah, you found a bug -- it works for .d.ts, but not .d.cts

@Gerrit0 Gerrit0 added bug Functionality does not match expectation and removed question Question about functionality labels Jul 26, 2024
@noxzym
Copy link
Author

noxzym commented Jul 27, 2024

IC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality does not match expectation
Projects
None yet
Development

No branches or pull requests

2 participants