Skip to content
Source
Sign inSign up

Ask and answer

Teams and community / Community

Ask and answer questions

You are stuck with a library and the docs do not answer your question, or you know the library well and want to help. Use the Questions part of the repository's Community tab: people answer, and the person who asked marks the answer that helped.

2 min read

1. Look for an answer first

  1. Open the repository, then Community, then Questions.
  2. Pick a filter: Unanswered (the default), Answered or All.
  3. Pick a sort: New or Recently active.

A question with an accepted answer shows a check mark in the list.

2. Ask a question

  1. Click Ask a question. If you are not signed in, click Sign in to post first.
  2. Type a Title.
  3. In Add details, say what you tried and what happened.
  4. Click Post question.

Note

If you do not have write access, the question is screened first, like an issue. Until screening shows it, only you and the maintainers see it.

3. Answer a question

  1. Open the question.
  2. Type your answer in Your answer at the bottom.
  3. Click Post answer.

To reply to an answer, use Add a comment under it, then click Comment. Comments go one level deep: you cannot reply to a comment.

4. Accept the answer that helped

The person who asked, and the maintainers, can do this.

  1. Open the question.
  2. Click Accept answer on the answer that helped.

The answer moves to the top, with the label Accepted answer and a check mark. The question moves from Unanswered to Answered.

A question with an accepted answer at the top, a Remove accepted answer button, and a comment under the answer

To pick another answer, click Accept answer on it. To remove the mark, click Remove accepted answer.

What maintainers can do

  • Lock conversation: people without write access can no longer reply.
  • Close question: the question gets the state Closed. Reopen question opens it again.
  • Hide or Delete a question, an answer or a comment.

Done

Your question is on the list, and people can answer it. When an answer helps, you accept it, and the next person with the same question finds it under Answered.