Skip to content

Add New Option hiddenCategories #1407

@tobiasschweizer

Description

@tobiasschweizer

Search Terms

Category, @category, hide, internal,

Problem

I would like to have an additional option to hide certain categories.

There is an existing typedoc option --stripInternal based on the tag @internal.
But this is not very flexible and it is actually based on a TypeScript compiler option which causes declarations not to emit:

This is an internal compiler option; use at your own risk, because the compiler does not check that the result is valid.

Suggested Solution

I suggest adding a new typedoc option hiddenCategories which takes a list of categories as an input and ignores those when building the docs.

Without touching the source, different docs could be built for different purposes. For example, you could build docs that only cover classes that are directly used by your users, and more extensive docs for active maintainers of your project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedContributions are especially encouraged

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions