Skip to content

Commit

Permalink
fix: update docs to remove gatsby-link reference (#7315)
Browse files Browse the repository at this point in the history
* fix: update examples to import Link from gatsby

* fix: minor cleanup
  • Loading branch information
jlengstorf authored and m-allanson committed Aug 14, 2018
1 parent e6e52ca commit a285e1c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/simple-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "1.0.0",
"author": "Jason Lengstorf <[email protected]>",
"dependencies": {
"gatsby": "^2.0.0-beta.91",
"gatsby": "next",
"gatsby-plugin-react-helmet": "next",
"prop-types": "^15.6.1",
"react": "^16.4.0",
Expand Down
4 changes: 3 additions & 1 deletion examples/using-redirects/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ const IndexPage = () => (
{` `}
link uses
{` `}
<a href="https://www.gatsbyjs.org/packages/gatsby-link/">gatsby-link</a>
<a href="https://next.gatsbyjs.org/docs/gatsby-link/">
<code>Link</code>
</a>
{` `}
<code>activeClassName</code>
to apply the <code>selected</code>
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-catch-links/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ For instance, in a markdown file with relative links (transformed
to `a` tags by
[`gatsby-transformer-remark`](/packages/gatsby-transformer-remark/)), this
plugin replaces the default link behaviour
with that of [`gatsby-link`'s `push`](https://www.gatsbyjs.org/packages/gatsby-link/#programmatic-navigation), preserving the
with that of [`gatsby-link`'s `push`](https://next.gatsbyjs.org/docs/gatsby-link/#programmatic-navigation), preserving the
SPA-like page change without reload.

Check out the [_Using Remark_ example](https://github.com/gatsbyjs/gatsby/tree/master/examples/using-remark) to see this plugin in action.
Expand Down

0 comments on commit a285e1c

Please sign in to comment.