Since October 1st — the start of Hacktoberfest — the Gatsby OSS community has seen a huge uptick in docs contributions. In the first 5 days of October we merged 31 PR’s with the
documentation label (and by the time you click on that link, it will likely be more than 31, especially if PR’s are labeled correctly!).
A big thanks to every contributor who jumped in to help Gatsby docs keep becoming more polished, comprehensive, and clear. In fact, many of the PR’s fixed problems we hadn’t even created issues for yet! And we’re increasing the number of
documentation labeled issues to account for the surge of helpful contributions. A special thanks to @amberleyromo, @jlengstorf, @DSchau, and @pieh for their hard work giving feedback and merging PR’s!
Read more on how to participate in Gatsby Hacktoberfest in our Hacktoberfest kickoff post
The increase in contributions means the Gatsby community makes more frequent decisions about what goes in the docs and what doesn’t, how to title them, the best slugs for SEO, and when to create new categories.
This has led to two changes:
With the help of many people, I created a “docs decision tree,” so that when the @gatsbyjs/docs team is notified, they can make decisions in a unified manner according to a set of agreed-upon principles (which can be adjusted over time). This will help anyone making decisions pertaining to docs escape any biases and fickleness. The “docs decision tree” will be tested over Hacktoberfest with all issues labeled
documentationand collect discussion in the Docs Decision Tree RFC.
Here is a summary of the “docs decision tree,” a tool we’ll use to make decisions about how to grow and maintain Gatsby docs.
You can also look at a visualization of the decision tree(s) in Whimsical.
A doc qualifies to be in the .org site if it:
- Deals with a piece of Gatsby-maintained software (e.g. pertains to code in the Gatsby OSS repository), a core dependency of the code in the Gatsby OSS repo, or a third-party software that works well with Gatsby and is in high demand
Yes —> Belongs in the docs (to make sure we don’t have to maintain docs about core dependencies and third-party software, we will focus on linking to their docs as much as possible)
No —> Belongs in blog, marketing, Twitter, podcast, starter library, plugin library, etc.
Helps further something on the developer journey:
- Get Started
- Implement & Troubleshoot
- Celebrate & Share
- Contribute & Maintain
Yes —> Belongs in the docs
No —> Does not belong in the docs
Does doc already exist?
Yes —> Is there a discovery problem? If so, solve it
No —> move ahead
Is there a demand to create the doc?
Yes —> move ahead
No —> don’t create it
Does the doc qualify to be in the /docs/?
Yes —> Create it
No —> Don’t create it
Is there a category that the doc(s) could fit in that has more than 5-7 docs in it?
Yes —> Put in existing category
No —> Move on
Would the new category have more than 2 docs in it?
Yes —> Create new category
No —> consider waiting to create the category until there is more than 2 docs
Is there evidence that the reorganization would help further one of the steps on the developer journey?
Yes —> Reorder them and do usability testing to measure the value of the change
No —> Don’t reorder the categories
Names categories in the .org site should:
- be SEO-friendly (common google search term, easy-to-remember URL that is not likely to change anytime soon)
- communicate a core concept of Gatsby (TBD) and/or a core value (TBD)
- be a noun, like “plugins, styling, guides, core concepts” etc.
Names for guides, tutorial sections, and sub-headings in the .org site should:
- be SEO friendly (common google search term, easy-to-remember URL that is not likely to change anytime soon)
- nearly always start with an -ing verb, like “adding”, since all tasks are action-oriented.
It’s been incredible to see how many hard-working contributors have gotten PR’s merged with us so far! Don’t forget to check out how to participate in Gatsby Hacktoberfest!
And don’t forget to also read the Docs Decision Tree RFC and leave your comments before October 31st, when the commenting period will be closed.