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

Add support for "none" category #2664

Merged
merged 2 commits into from
Aug 13, 2024
Merged

Add support for "none" category #2664

merged 2 commits into from
Aug 13, 2024

Conversation

nick-ls
Copy link
Contributor

@nick-ls nick-ls commented Aug 12, 2024

Resolves #2656

---
title: Syntax Highlighting
category: none
---

With navigation.includeCategories being set to true, this will place the markdown file at the top level of navigation:

image

@Gerrit0
Copy link
Collaborator

Gerrit0 commented Aug 12, 2024

Awesome! I thought it was going to be a pretty easy update. Could you make the same addition to the groups section of the navigation builder?

@nick-ls
Copy link
Contributor Author

nick-ls commented Aug 12, 2024

/**
 * Calculates the square root of a number.
 *
 * @group None
 */
export function sqrt(x: number): number;

Setting the group to none with navigation.includeGroups now places that group at the top level of navigation.

image

@Gerrit0 Gerrit0 merged commit 3e13dc1 into TypeStrong:master Aug 13, 2024
5 checks passed
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Aug 13, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants