Skip to content

Failed to detect language used in a repository #5630

Discussion options

You must be logged in to vote

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 after docs/.)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@gurjeetsinghvirdee
Comment options

@lildude
Comment options

@gurjeetsinghvirdee
Comment options

Answer selected by lildude
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants