Skip to content

Linguist Languages Not Showing Correctly #7118

Discussion options

You must be logged in to vote

You've not stated what you believe is wrong with how things are showing. What are you expecting to see?

From a quick look, everything looks good to me.

Clicking on HTML shows "Your search did not match any code" (expected, there are no html files)

There's actually one file, prisma/docs/index.html, and it's massive at 1.6MB. This is too big for the search to index (as documented), hence you get no results.

If you don't want this to count, you'll need to use an override. Something like:

prisma/docs/**/* linguist-documentation

... will mark the directory as documentation and Linguist won't count the contents and will give you:

github-linguist .
53.75%  30470      TypeScript
45.60%  25852…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lildude
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #7116 on October 29, 2024 21:13.