Skip to content
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] Improve docs for linking to Gatsby and non-Gatsby content #13712

Closed
5 tasks done
prestonso opened this issue Apr 29, 2019 · 2 comments
Closed
5 tasks done
Assignees
Labels
type: documentation An issue or pull request for improving or updating Gatsby's documentation

Comments

@prestonso
Copy link
Contributor

prestonso commented Apr 29, 2019

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 the difference between <Link> and <a> and successfully link internally and externally.

Evaluation

Search Discover Complete Linked Tone Style Overall
😄 😐 😐 😄 😄 😄 😄

Steps taken to implement

  1. Searchability
    1. Searched gatsby linking pages on Google; clicked first result.
  2. Discoverability
    1. Searched gatsby linking pages in search bar; all listed results take user to The Gatsby Link component (anchor link, though main page is second result).
    2. Clickpath on .org:
      1. Clicked Docs.
      2. Clicked Guides. Nothing there. [rec] (from @marcysutton) Move the guide up in the list of the current subsection, since it's a key workflow.
      3. Clicked Recipes. Aha! Linking between pages. But this heading isn't the same as the previous "Linking between pages" page.
      4. Result: [rec] We have three different pages dedicated to linking between pages; four if you include the Gatsby API page on <Link>. Deduplicate or disambiguate:
  3. Completeness
    1. Followed steps in The Gatsby Link component. Immediately indicates the difference between internal and external linking.
      1. [rec] Add information about rel="noopener noreferrer" right here.
    2. Followed steps in Using the <Link /> component. Very simple example that gets me up to speed. Less comprehensive than the tutorial page.
      1. [rec] As a new developer, I may not have easily understood from this docs page that e.g. <Link to="/"> is possible (homepage link). Add a note with this information.
      2. [rec] As a new developer, I may not have easily understood from this docs page that import { Link } from "gatsby" is so important. Add a note emphasizing this.
  4. Linkedness
    1. Good, but link to Tutorial: Linking between pages in "Other resources" section interrupts my flow and places me into a tutorial that I may not have the immediate context for.
      1. (Note from @marcysutton) The sentence leads with "For the complete example..." perhaps it could list a recipe first and then offer the tutorial as more of a step-by-step guide so people are more prepared for it.
  5. Tone
    1. Good
  6. Style
    1. Good

Recommendations

@gatsbot gatsbot bot added the type: documentation An issue or pull request for improving or updating Gatsby's documentation label Apr 29, 2019
@prestonso prestonso self-assigned this Apr 29, 2019
@marcysutton
Copy link
Contributor

marcysutton commented May 14, 2019

We have three different pages dedicated to linking between pages; four if you include the Gatsby API page on . Deduplicate or disambiguate:

  • Linking between pages (this is the desired page)
  • Recipe: Linking between pages (not enough information)
  • Tutorial: Linking between pages (undiscoverable unless following tutorial)

The biggest confusion I've found with duplicated content is that the format is similar, and you can't easily tell where you are in the docs IA. With a few improvements, I think duplicated content will be more helpful than confusing. These are the changes I have in mind:

I think it's less important that the tutorial content be discoverable outside of the guided flow...that is more of a job for the recipe and reference guide content.

We could play with page titles, but beyond improving recipes I'm open to ideas @prestonso

@prestonso
Copy link
Contributor Author

Closing as #14036 is now merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation An issue or pull request for improving or updating Gatsby's documentation
Projects
None yet
Development

No branches or pull requests

2 participants