Skip to content

docs: making the docs interactive and newbie friendly #60993

@codayon

Description

@codayon

Affected URL(s)

No response

Description of the problem

I'm a newbie and have been trying to learn Node.js from the official docs but I continuously find myself jumping around different modules to know about a certain terms/classes that were used or mentioned in the module that I was trying to read.

When I was reading the learn section for Node.js, it also got me into some troubles. Similarly in that page, it mentioned some terms that I was not familiar with. There was no mention/explanation for the prerequisites in the previous sections that could have potentially helped to get rid of these issues.

I will try to give an example from the fs module. In class docs, it mentioned , but that's from a different module which I did not start read yet. In the same section it also mentions instances of FileHandle are created by fsPromises.open(), but it did not mention what will be the arguments inside that method.

There is also some silly mistakes that I made at the beginning, for example, path.basename(path[, suffix]) I thought that suffix is supposed to be inside and array or counts as an array. But, now I know that, the square brackets represent optional arguments, learned out of curiosity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions