Failed to detect language used in a repository #5630
-
I have a repository called PersonalWebsite. It is primarily written in HTML,CSS and some Javascript. But Linguist library failed to detect my repository is written in which language. It doesn't show any language in repository home page. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The reason is because your files are in a folder called "docs", and ↓ To fix the issue try adding the line |
Beta Was this translation helpful? Give feedback.
The reason is because your files are in a folder called "docs", and ↓
https://github.com/github/linguist/blob/4ce6df6a920f9e507d349da374453d0b749e7ddc/lib/linguist/documentation.yml#L1-L2
To fix the issue try adding the line
docs/ linguist-documentation=false
to file.gitattributes
. (If that doesn't work, add**/*
right afterdocs/
.)