-
-
Notifications
You must be signed in to change notification settings - Fork 735
Option to specify default non-categorized/grouped reflection name #2922
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
Comments
Would it be better for the modules page to be rendered like the navigation, leaving those elements outside of a group/category entirely? |
I think this is a good solution. On the other hand, in the current version there is an option to specify a description of the base category (entity without a category), in your proposal, if I understand correctly, there will be no such option. |
The category description should be unnecessary, the top of the module page renders the comment for the module, which seems like it ought to be sufficient to me... |
Possibly related: there doesn't seem to be a way to make a module page not have groups or categories -- |
Yes, the navigation and module structure is completely separate as I simply hadn't considered if module pages should care about those tags. I'm leaning towards TypeDoc should use the same logic for both for consistency. |
Upon further reflection, I'm backtracking here a bit... Trying to make the navigation and page structure follow the same rules is nice at first, but runs into problems because they are truly different things. The navigation has customization options that it would be very weird to have the module page follow, and
Only if you have turned on the navigation.includeGroups option, which is off by default. I am going to introduce a |
Hm. I just tried the dev branch, and |
This and the double navigation bug were both caused by forgetting a |
Hey, we've all been there. 😁 Anyway, it works great now! |
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).
-- Advanced category Entity 1
-- Advanced category Entity 2
-- ...
-- Internal category Entity 1
-- Internal category Entity 2
-- ...
I found code
typedoc/src/lib/output/themes/default/DefaultTheme.tsx
Line 266 in 3a3976d
None
to get the behavior I want.But in
modules
documentation page shows category nameNone
, it's not very nice, I would like to be able to change this default name.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.
The text was updated successfully, but these errors were encountered: