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

Display flags next to class name #1914

Merged
merged 1 commit into from Apr 9, 2022

Commits on Apr 7, 2022

  1. Display flags next to class name

    Reflections in TypeDoc can be assigned flags, describing certain
    properties of the reflection, e.g. abstract, private, readonly etc.
    These flags were rendered using badges for most type of reflections, but
    not for reflections which are displayed on their own page (like classes,
    interfaces etc.). This made it difficult to establish e.g. whether a
    class is abstract (see TypeStrong#1874).
    
    This PR fixes the issue by rendering flags in the page titles next to
    the name of the documented entity.
    
    Styling of the badges has been amended, to account for them now showing
    next to much bigger headings. The styling was inspired by [Bootstrap
    badges](https://getbootstrap.com/docs/4.0/components/badge/).
    
    Partially resolves TypeStrong#1874.
    ejuda committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    e0306ec View commit details
    Browse the repository at this point in the history