[docs][workflows] using GraphQL in Gatsby #16981
Labels
stale?
Issue that may be closed soon due to the original author not responding any more.
topic: GraphQL
Related to Gatsby's GraphQL layer
type: documentation
An issue or pull request for improving or updating Gatsby's documentation
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 GraphQL works in Gatsby and get it working properly in a project.
The motivation for this issue is to make sure users aren't deterred from using Gatsby by what they find when searching the docs for GraphQL information. There's a ton of it on there already, including why Gatsby uses GraphQL and how to build sites without it. However, some of the docs don't have the most intuitive titles or locations for people to find information easily (like API docs). We have added recipes recently, which helps! But given the importance of GraphQL in Gatsby, we should take a deeper look at it similar to what we did with images.
Evaluation
Steps taken to implement
Searchability:
graphql in gatsby
: first result Querying with GraphQL (name of that article is a little confusing when this a conceptual guide, maybe should include a note distinguishing this from the reference guide on GraphQL, also renaming this to show that's conceptual would be helpful and would solve the naming collision between this and the reference guide page)gatsby graphql
same first and second result as the first search (Querying data with GraphQL and then GraphQL and Gatsby)Discoverability:
graphql
in the .org search bar which shows a blog post for Kentico Cloud as the first result and "Gatsby without GraphQL" as the second 😱(which seems to be a result of this section being in the sourcing data section before GraphQL is introduced, maybe move Using Gatsby Without GraphQL in the sidebar to below Sourcing from (Headless) CMSs), the 3rd result is "GraphQL and Gatsby"Completeness:
Linkedness
Tone
Style
Recommendations
The GraphQL reference page isn't discoverable - the h1 and sidebar titles are different (maybe rename GraphQL Query Options Reference)(docs: graphql api page and other incremental improvements #17516)make built-in fragments searchable with a clear API reference (e.g. allFile, GatsbyImageSharpFluid, similar to the Gatsby Image API)move Using Gatsby Without GraphQL to bottom of sourcing content and data sectionupdate the link on fragments in Querying Data with GraphQL > Advanced > Fragments from the GraphQL docs to Gatsby's docs that discuss fragmentsinclude a note at the top of the Querying Data with GraphQL conceptual guide noting the difference between it and the reference guiderename Querying Data with GraphQL conceptual guide to something like GraphQL Concepts (it shouldn't have that title that is also the title used for the reference guide section which when you click on says GraphQL and Gatsby)Related issues
The text was updated successfully, but these errors were encountered: