Skip to content

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
@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

Development

Successfully merging this pull request may close these issues.

How to organize navigation (the left sidebar) by category without the remainder being placed in a default "Other" category?

2 participants