Open thedavidprice opened 4 years ago
Some helpful inspiration we can reference from Storybook, a project with great documentation about documentation:
also the gatsby documentation approach overlapping with the storybook would make a excelent base for documentation. More specifically docs contributions community contributions and their style guide
@jtoar I've updated this Issue (see original comment). Reactions and/or changes?
Also, I've added a GH Project to help keep track of everything in motion here: https://github.com/redwoodjs/redwood/projects/3
This looks great! :+1: A few things to consider adding:
Those are my thoughts right now but I'll add more as they occur to me.
@jtoar thanks! I've updated and added based on your comments.
re: "Explanation" docs, I think this will emerge over time. Most likely these will just go in "Guides" section. If we start to outgrow then we'll re-org.
@thedavidprice bringing this up again in light of #3485
edited on 5/18: added information about Contribution and Development documentation
Two Contexts for Docs: Contributing and Developing
✏️ "Contributing" Docs: Located in the Redwood Packages Repo
These docs are located in the Framework repo
redwoodjs/redwood
and contain content to assist in contributing to Redwood packages. In general, they may be more straightforward explanations, technically heavy, and written for individuals with more experience. However, as a best practice for collaborative projects, these docs should still provide a Vision + Roadmap and information about who is the project point person (or lead).README Stub
For an example of of package README, see this one for the Web package. Here's the general outline
✏️"Developing" Docs: Located in the Redwoodjs.com Repo
These docs are located in redwoodjs/redwoodjs.com repo and are displayed on the Redwood website. The purpose of these docs is to help individuals develop applications using Redwood. There are three types of Developing docs:
1) Cookbooks
Tutorial-style content focused on a specific problem-solution. Most often these have a beginner in mind (if not, they should indicate 'advanced' or 'deep-dive', etc. in either the title or intro). Cookbooks may include some explanatory text as asides, but this should not be the majority of the content.
2) Guides
Guides are for "how-to" specific content. They are similar to Cookbooks in that they are problem-solution oriented. However, they are more direct and to-the-point. The focus is "getting something done" much more than any kind of "learning journey".
3) Reference
These include API, Config, CLI, etc. They should be information-oriented, accessible, comprehensive, and well structured to make content findable. We've all experienced great API documentation. That's what we want this section to be in the future.
(Bonus) Explanation
There is another type of documentation that focuses on conveying understand (verses learning or problem-solving). For Redwood Docs, this is not a specific category but is included (when needed) as a call-out section. A great example from the Tutorial is Side Quest: How Redwood Works with Data.
👉 Guidelines
Misc Info
Different docs, different handling/cases
see: https://www.divio.com/blog/documentation/
For example about what we’d like to do for “Reference”, see CLI doc Issue #322