Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .gitattributes to allow for language detection in /demo directory #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greg-gorlen-andela
Copy link

@greg-gorlen-andela greg-gorlen-andela commented Feb 21, 2024

Currently, the custom-questions-skeleton repo has no language detection because all files are in a directory called 'demo' that GitHub's language detection software Linguist ignores by default:

image showing no languages in the custom-questions-skeleton repo

This PR marks that directory as non-documentation so that Linguist will scan the folder and detect the languages within, making it easier for developers to understand which languages are used in the repo at a glance.

See this fork to see it in action:

image showing languages detected on the repo

Note that languages may take a bit of time to detect and/or require a change to a code file within the 'demos' directory in order to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants