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

Option to hide the legend? #1108

Closed
ianstormtaylor opened this issue Oct 8, 2019 · 1 comment
Closed

Option to hide the legend? #1108

ianstormtaylor opened this issue Oct 8, 2019 · 1 comment
Labels
enhancement Improved functionality

Comments

@ianstormtaylor
Copy link

Right now it doesn't seem like there's a way to hide the legend printed at the bottom of each page. For most small use cases the icons themselves are distinct enough, and the groupings are labelled with a header already, so the extra information overload isn't worth it. It would be nice to be able to hide.

@Gerrit0
Copy link
Collaborator

Gerrit0 commented Oct 12, 2019

I'm kind of wary about including this in the main TypeDoc project, it would be really nice to be able to attach options to themes and let themes provide options for tweaks like this, but more work needs to be done on options before this is feasible.

That said, removing it locally isn't very difficult.

Create a theme directory with partials inside it, then create footer.hbs inside that partials directory. Grab as much, or as little, from the original file as you like. Then tell TypeDoc to use your custom theme with --theme path/to/theme/dir

@Gerrit0 Gerrit0 added Component: Theme enhancement Improved functionality labels Dec 26, 2019
@Gerrit0 Gerrit0 added this to To do in Version 0.22 via automation Dec 30, 2020
@Gerrit0 Gerrit0 added this to To Do in Version 0.22 via automation Aug 15, 2021
@Gerrit0 Gerrit0 moved this from To Do to Done in Version 0.22 Aug 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improved functionality
Projects
No open projects
Development

No branches or pull requests

2 participants