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

Possibility to always show re-exports in the main navigation? #2671

Closed
KillyMXI opened this issue Aug 18, 2024 · 1 comment
Closed

Possibility to always show re-exports in the main navigation? #2671

KillyMXI opened this issue Aug 18, 2024 · 1 comment
Labels
question Question about functionality
Milestone

Comments

@KillyMXI
Copy link

Search terms

re-export, rename, alias, module page, navigation, sidebar

Question

TypeDoc 0.23.28 was always showing re-exports in the sidebar, among all other functions exported by a module.

With TypeDoc 0.26.5, I only see re-exports on the module page - in the grid and in "On this page" menu.
This new behavior is inconvenient - it makes re-exports less discoverable.

When aliases added not for code compatibility but for ease of use, I want to keep them equally discoverable.
Expected usage scenario: user jumps between individual function pages (there are a lot of them), not visiting the module page often.

Is there a way to restore previous behavior?
Looking through the documentation I couldn't find it.

@KillyMXI KillyMXI added the question Question about functionality label Aug 18, 2024
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Aug 18, 2024

This changed in 0.26.4, the page navigation sidebar was never intended to include links to elements which don't have an individual page, so including the links broke the active page highlighting.

It's an easy enough change to fix the active page highlighting while still including re-exports... I should probably just revert the change to remove them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question about functionality
Projects
None yet
Development

No branches or pull requests

2 participants