-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs][workflows] plugin authoring workflow improvements #20232
Comments
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Because the plugin tutorial content is covered in issue #16095 and that's the last recommendation of this evaluation, I'm going to close this in favor of that to narrow the scope of what needs to be finished. |
Part of the Top 25 Learning Workflows initiative. See #13708 for the meta issue that this issue falls under.
User story
As a new Gatsby user, I want to understand how to build a plugin using Gatsby, and when I should use a plugin (vs a theme or starter).
Evaluation
Steps taken to implement
1. Searchability:
gatsby plugin
brings up plugin library and docs first 👍gatsby themes
orgatsby theme
now ranks ahead of Great Gatsby related content 😅2. Discoverability
plugin
3. Completeness:
The docs about plugins are quite complete,
Plugins:
Themes:
4. Linkedness
5. Tone
6. Style
Recommendations
Plugin authoring overview (understanding/flowchart/diagrams)
Add more use cases to guides in each section (ask why am I doing this at different steps) - an example for the plugins section:(docs: plugin authoring workflow overview pages #20847)"Loading local plugins" why would I use a plugin in a plugins folder if I can just install one? This doc could explain why you might want your own local plugin without deploying to npm and link to the writing your own plugin docmight make sense to add a page on contributing to a plugin and steps to fork and use it locally"Naming a Plugin" tweaks:(docs: plugin authoring workflow overview pages #20847)"four standard...naming conventions" but 5 are listedadd example bullet point for gatsby-theme-*, and explain what the example plugin does in a few wordsadd a link to docs for creating a theme (which already exist) after an example is added in a bullet point- Docs: [creating a theme](https://www.gatsbyjs.org/docs/themes/building-themes/)
make simple flowchart/table about when to use a plugin/theme/starter(docs: flowchart and tables for differences between plugins, themes, and starters #21659)Plugin tutorials/sample code
flesh out content in the Pixabay source plugin tutorial [docs][tutorial] building a source plugin tutorial #16095 (maybe move it to tutorials section as well? it redirects to the tutorials section now Rename Theme tutorials to Plugin and Theme Tutorials and update redir… #21908)
should the new remark plugin be moved to the tutorials section as well?(Rename Theme tutorials to Plugin and Theme Tutorials and update redir… #21908)the Creating a source plugin guide is mostly text, could benefit from additional code blocks with sample code (maybe from existing plugins?)
create a guide on using plugin options(docs: add new guide and example site on plugin options #21708)Contributing to/maintaining a plugin (covered in [docs] stub: Maintaining a Plugin #21067)
remove stub for "Maintaining a plugin"link to docs on versioning/publishing packages to npm (those seem covered by other docs already)pair with someone from Core to update How APIS/Plugins are Run
Pausing on theme related docs for now
Theme Authoringsimplify naming terminology of "Getting Started" doc's introduction (see rationale in notes above)
to help explain differences create a flow chart on when to use a starter, theme, or plugin (see card)
"When should I use or build a theme?" could explain how themes can use multiple plugins together, reusing Gatsby functionality can be done in a plugin too, but not for multiple needs
this evaluation is still ongoing, feel free to contribute ideas and suggestions
The text was updated successfully, but these errors were encountered: