github-linguist / linguist

Language Savant. If your repository's language is being reported incorrectly, send us a pull request!
MIT License
12.29k stars 4.25k forks source link

Frequently Asked Questions #4263

Closed pchaigno closed 6 years ago

pchaigno commented 6 years ago

I started working on this because I don't feel the current documentation fits the users' expectations. They arrive here with a specific problem and must devise a solution by reading a complete description of how Linguist works (overview, overrides, troubleshooting, etc.). I'm guessing this is part of the reason why so many users don't read the documentation before filling in the issue template.

An FAQ seems more fitting. We can address the most common issue with concise explanations and adapt it as users file new issues. I think it should be extensive without aiming to be comprehensive. I'm imagining a single Markdown document with a summary of questions at the top and 1-4 lines answers to each.

I'm opening this issue to try and constitute a complete list of questions before we try to answer them. I established an initial list based on 1) past, closed issues and 2) questions found on stackoverflow.com. Some of these are "incorrect" (e.g., How does Linguist highlight files?) because the idea is to fit the user's questions and then explain why, in some cases, it's incorrect and doesn't work as they expected.

Without further ado, here's my initial list of questions/entries:

Any additions? Questions you think should be broken down into several questions? Questions you don't think are frequent enough to warrant an entry?

EDIT: I also plan to write down new issue templates for the few very common cases once we've established the list of possible issues/questions.

Template removed as it doesn't apply.

lildude commented 6 years ago

I like this idea. I think you've covered most of the initial questions that come to mind, but I'll have a think during the week.

pchaigno commented 6 years ago

Closing in favor of #4271.