Skip to content

Disable GitHub pages in project language statistics #21530

Answered by melonsong
danielb987 asked this question in General
Discussion options

You must be logged in to vote

Hi there! GitHub uses the open source project Linguist to determine language statistics, which supports overrides for excluding files you don’t want counted. You can add file paths to your .gitattributes file with the linguist-documentation attribute to ignore documentation files:

project-docs/* linguist-documentation

More detailed info can be found in https://github.com/github/linguist#overrides. Hope that helps!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Liquidmasl
Comment options

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