-
Notifications
You must be signed in to change notification settings - Fork 31
Docs WG Ratification #50
Comments
👍 from me. 😸 |
It seems to me that one of the major blockers is the "shares responsibility for So, perhaps its worth exploring the idea of using tooling to solve the conflict. e.g. the API docs that core owns are purely descriptive and have a well defined format. Perhaps its even JSON or semi-JSON, with fields such as "arguments", "errors", "return value", maybe going so far as to include a basic description but stopping short of being complete. Then tooling could be used to generate the final docs by pulling in this formal data and combining it with data owned by the docs group that fleshes out the formal descriptives with expanded descriptions, examples, warnings, links to tutorials, etc. A case could be made here that what core needs to own is very limited in scope and it would be healthier for the docs as a whole for that scope to be well defined so that we can allow for clearer distinction between contributing code and contributing docs when it comes to core's API docs (great coders are rarely great documenters and vice versa so how about we make our processes allow for that?). At a minimum, having a non-freeform API doc specification format would help with consistency, we keep on making note of how inconsistent it all is (e.g. nodejs/node#4362 (comment)). /cc @jasnell |
I definitely like the idea of separating this out and having a more machine
|
I think just pulling all the non-reference content out into guides is probably enough. Code PRs would have to include reference docs, but in-depth guides could be written separately. |
@jasnell, @rvagg: This is an interesting approach! However, I'd like to avoid new tooling until we:
Which isn't to say we can't have a discussion around doc tooling (which I agree, needs to improve!), but that we shouldn't focus on doc tooling as a key piece of getting the WG stood up. Process discussion is totally viable at this stage, though, especially in terms of reducing friction between core and the Docs WG. Perhaps the Docs WG doesn't block code PRs for doc review, but instead has a weekly task of editing newly merged documentation — the only thing the WG could block would be releases, in order to make sure the docs are in a good state? |
We're ratified! |
very goood! |
There's been a bunch of discussion with regards to getting ratified on the Node tracker.
The current proposal is:
doc/
,tools/docs
; and shares responsibility fordoc/api
with the core team.While I've been in contact with a few of us, I'd like to make sure we're OK with this plan going forward.
/cc @nodejs/documentation
The text was updated successfully, but these errors were encountered: