Repo language issue #23755
-
i have uploaded an html file, but github repo is taking it as java. please help. my website is not displaying properly |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi there! 👋 Welcome to the Community! When you say “the github repo is taking it as java” I think you’re talking about the language bar that displays on the front of the repository? GitHub determines language statistics based on the total size of the files that belong to each language. We use the Linguist open source library to analyze source code files. You can read about how to use overrides in the Linguist documentation: GitHubgithub/linguistLanguage Savant. If your repository's language is being reported incorrectly, send us a pull request! - github/linguist …and create a That won’t affect how your website displays, assuming you’re talking about a GitHub Pages site. If the repo is public can you give me a link to it and I’ll take a look! |
Beta Was this translation helpful? Give feedback.
Hi there! 👋 Welcome to the Community!
When you say “the github repo is taking it as java” I think you’re talking about the language bar that displays on the front of the repository? GitHub determines language statistics based on the total size of the files that belong to each language.
We use the Linguist open source library to analyze source code files. You can read about how to use overrides in the Linguist documentation:
GitHubgithub/linguist
Language Savant. If your repository's language is being reported incorrectly, send us a pull request! - github/linguist
…and create a
.gitattributes
file that specifies your file should be HTML, not Java.That won’t affect how your website d…