Closed melchoyce closed 5 years ago
I'd love to see some documentation for post type templates and theme support moved out into "Onboarding" and see Onboarding get three sub-sections for Users, Themes, and Plugins.
This would basically serve as "If you're in Group X, here's what you need to know about Gutenberg".
The revised section would also include the "How to switch" and "How to not switch (aka Classic Editor)" documentation based on the suggestions over here.
One proposed structure:
Thanks @melchoyce this is great start.
I prefer "Getting Started" to "Onboarding" as a term. I also think "Getting Started" could potentially be placed under the HIG.
@chrisvanpatten I don't think we should move the documentation per se as people wanting to find out about theme support APIs should still be able to find it there without having to go through the "onboarding/getting started" section.
cc @pento how should we handle URL updates in the case of invalidating permalinks?
The other point to consider is how we call these top level sections from a navigation perspective, as they might not be clear enough on their own. "High Level Principles" could be just "Vision" for example.
Question: How do we plan to position onboarding section, as a quick info on block creation or as a tutorial/guide to create & extend blocks?
Suggestion:
Adding a Getting Started
section to get up and running with the required environment for block/plugin development. As many folks referring to this might feel lost if they are not familiar with JS World
.
We can adopt https://github.com/youknowriad/wp-js-plugin-starter here :)
Hi 👋🏻
Handbook IA
Looking at the proposed IA here, I think it begs a mention that care should be taken not to glom all things Gutenberg into one handbook for the sake of it. As a long time maintainer for DevHub and former docs team lead, I can tell you that keeping the responsibilities of user-facing handbooks simple is a must, if only to avoid future confusion and a rising maintenance burden.
For instance, I note that you have a Resources and References section in what is otherwise by all accounts a user-facing handbook. This information is absolutely useful ... to the Gutenberg team and its contributors. As per the organizational style of the Make network on .org, each Make community has their own contributor-facing handbook. That is where the bulk of this contributor-facing information should live.
Any Gutenberg development information specific to WordPress should live either in the Plugin and/or Theme Development handbooks on DevHub or as a standalone Gutenberg handbook, again, on DevHub. Hopefully that makes sense.
"Official" Docs Reflect Latest Stable
On another note, I don't see it mentioned but it's worth clarifying that any docs coming from parsed source should reflect only current stable code. This is a policy we follow on DevHub for core as well as in the Theme and Plugin Development handbooks.
I think there is some value to keeping Gutenberg documentation centralised for at least the short term, while it's so new and since the contribution process is fairly different than the rest of core.
That said it could certainly make sense to split more cleanly into "Developing Gutenberg" and "Using Gutenberg" handbooks, but one of the challenges is that there's a degree of overlap, especially for developers. The packages and components documentation is relevant both to people developing Gutenberg and people developing for Gutenberg, and are one of the biggest documentation areas.
I can't speak on behalf of the leads but I don't think there's necessarily any opposition to putting the Gutenberg handbook into DevHub but I know from a practical perspective we would need to sort out a way to differentiate documentation for the version of Gutenberg in core, vs the version that lives on in the plugin. Does DevHub make it possible to build and switch between multiple versions of documentation, or would that mean basically maintaining two handbooks in parallel?
Happy to discuss this further in today's #core-docs meeting at 2pm ET. I'm pretty flexible on what the final implementation looks like (and truthfully I'm not sure I have the authority to make a decision anyway) but as we start divvying up the work it would be great to settle on a definitive "this is how we're going to do it".
I know from a practical perspective we would need to sort out a way to differentiate documentation for the version of Gutenberg in core, vs the version that lives on in the plugin. Does DevHub make it possible to build and switch between multiple versions of documentation, or would that mean basically maintaining two handbooks in parallel?
If we're keeping the Markdown -> WordPress workflow, then we can have two separate manifest.json
files, one feeding DevHub and the other feeding the Make Handbook.
Based on some of the feedback, here's a new proposed outline. I didn't go into as much detail in some sections (e.g. the HIG) but that would all be there still.
https://www.notion.so/chrisvanpatten/IA-Outline-ec2bc7d6348f43dca23cae127f605c7b
Would love thoughts @melchoyce @mtias :)
EDIT: Pasting it in for posterity:
Hi everyone —
Based on our discussion yesterday, we are going to try to split our written documentation into three handbooks:
With that in mind, I reorganised the IA outline again. Here's how I see it getting split up:
For the time, these handbooks should continue to be built from this GitHub repo. This also gives us some extra flexibility because we should be able to have multiple targets: e.g. we build these three handbooks separately, but then also build a combined handbook for the plugin version of Gutenberg.
I'm looking to finalise this by tomorrow at 12pm ET, so please comment with feedback. This is not going to be a locked/unchangeable document but it should be good at a high level :)
(Note: I'd like suggestions on the User Handbook in particular.)
@chrisvanpatten Is this issue still relevant, I feel that the reorganization happened already?
These conversations have been instrumental through the many docs iterations. We've just shipped the last iteration (can be seen at https://developer.wordpress.org/block-editor/) and the state of docs is now different than it was months ago. I believe we can close this.
This issue goes more in-depth into the Handbook IA, as mentioned in #10549:
I've been taking a look at how we can reorganize the existing Handbook content into the five new categories (High Level Principles, Human Interface Guidelines: Design and Dev, Code and API Documentation, Resources and References, Onboarding).
Some questions: