Description
Set up the tooltips
Add tooltips to these keywords. The markdown files should have the description below and a newbie-friendly description.
Try to avoid having tooltips which are over-zealous (e.g. DefNode
will work on any keyword within a method definition).
Write long-form documentation
Write newbie-friendly documentation in .md
form for each of the following keywords. Once written, link to it from the tooltip. The link should open the markdown file locally in the editor.
Please see the north star comment from @vinistock below:
Expand thoughts on newbie-friendly documentation
I would expand on certain things and try to be super exhaustive with all aspects of the language. For example, in the methods documentation, what is a method?
In the modules documentation, we could explain that they are Ruby's way of supporting multiple inheritance, since it does not allow for more than on parent class. We should also mention the differences between prepending, including or extending a module
The goal of these docs is to make someone who is new to Ruby (or new to programming altogether) be able to gather a better understanding of how Ruby works from inside the editor. So a good exercise is trying to put yourself into the position of a newbie. What could be confusing? What was unclear when you first started with Ruby?