1

The root folder for my project is named demo and I'm trying to override it by adding a .gitattributes at the same level as the directory.

I have tried:

demo/** linguist-documentation

This doesn't seem to work, however.

What should I include instead so that the linguist will scan my project?

Jeremy Caney
  • 7,102
  • 69
  • 48
  • 77

1 Answers1

0

You can try .gitattributes directives mentioned in "Using gitattributes for linguist examples"

None of those includes the name of the repository, only folders/files inside the repository. See more at "ithub/linguist/blob Overrides / Using gitattributes"

In your case:

** linguist-documentation=false
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250