Skip to content

Option to specify default non-categorized/grouped reflection name #2922

Closed
@sergeiivankov

Description

@sergeiivankov

Search Terms

none, default category, default group, top-level navigation

Problem

I try to make documentation navigation structure like next (with most common usage entities in top level navigation, without hidden its behind category/group dropdown element).

  • Entity1
  • Entity2
  • ...
  • Advanced category
    -- Advanced category Entity 1
    -- Advanced category Entity 2
    -- ...
  • Internal category
    -- Internal category Entity 1
    -- Internal category Entity 2
    -- ...

I found code

const none = reflection.find((x) => x.title.toLocaleLowerCase() === "none");
, so I named category for top level navigation entities None to get the behavior I want.

But in modules documentation page shows category name None, it's not very nice, I would like to be able to change this default name.

Image

I do this with categoriest, but I think this works similarly with groups too.

Suggested Solution

Add option for TypeDoc to change default name for non-collectibles reflections.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions