docs icon indicating copy to clipboard operation
docs copied to clipboard

Kinds of Documentation

Open kazk opened this issue 5 years ago • 3 comments

We should write documentation with purpose and target audience in mind.

https://github.com/codewars/docs/blob/409a7cd9482b363e8536266d7f15a1dd3ae66331/data/kinds.yml#L9-L36

The documentation system

Reference: https://documentation.divio.com/

kazk avatar Jul 07 '20 02:07 kazk

@hobovsky @Blind4Basics

I decided to name it Kind instead of DocType. See data/kinds.yml. The main 4 kinds were taken from https://documentation.divio.com/.

I think this system is great and would like to follow this. What do you guys think?

kazk avatar Jul 15 '20 03:07 kazk

sounds good. I guess we might sometimes have a hard time to choose between recipes and tutorials but... x)

Blind4Basics avatar Jul 15 '20 06:07 Blind4Basics

Yeah, it's difficult and the article explains that's why writing a good documentation is difficult. I'd recommend reading https://documentation.divio.com/introduction, but here's my understanding:

Recipes (How-to guides in the linked article) show how to solve a specific goal. The reader isn't new to the topic itself, but looking for a solution for a problem within it. Recipes should present the problem and the solution for it. It can also include some discussions on the problem.

Tutorials are for newcomers. We need to familiarize the reader with the topic. We need to walk them through all the necessary steps and let them learn how things work. Tutorials should only include the necessary information for each step to prevent overwhelming the reader.

  • Recipe: "How to write random tests in JavaScript"
  • Tutorial: "Creating Your First Kata"

kazk avatar Jul 15 '20 19:07 kazk