Skip to content

My repository only identifies Jinja and ignores other languages #6202

Discussion options

You must be logged in to vote
  • YAML(in tasks and playbooks)
  • INI (in ansible.cfg file)

YAML and INI is considered data so ignored by default. If you want them to counted and for YAML to show in the side bar, you need to use the linguist-detectable override.

  • Jinja2 (in two lines of code)

Already detected, so nothing to do here.

  • Ruby(in Vagrantfile)

It is already being correctly detected as Ruby without an override, but Linguist considered it as vendored so you'll need to use the -linguist-vendored override if you want this to appear in your sidebar.

More info on the overrides and links to the files affecting things can be found in https://github.com/github/linguist/blob/master/docs/overrides.md

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ferminolinux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants