Skip to content

Commit

Permalink
Fixes docs referencing removed "1.0" branch source code instead of ma…
Browse files Browse the repository at this point in the history
…ster.
  • Loading branch information
Vagr9K committed Jul 13, 2017
1 parent c7409fc commit 28260b1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions docs/blog/gatsbygram-case-study/index.md
Expand Up @@ -160,7 +160,7 @@ available.

Here is how we define pages from our JSON data for Gatsbygram at build time in
the site's [`gatsby-node.js`
file](https://github.com/gatsbyjs/gatsby/blob/1.0/examples/gatsbygram/gatsby-node.js):
file](https://github.com/gatsbyjs/gatsby/blob/master/examples/gatsbygram/gatsby-node.js):

```javascript
const _ = require(`lodash`)
Expand Down Expand Up @@ -246,7 +246,7 @@ As you can see above, when defining a page, we can set "context" data, which is
passed as a `prop` to the component and as a [GraphQL
variable](http://graphql.org/learn/queries/#variables) in our `GraphQL` query.
For the "[post
template](https://github.com/gatsbyjs/gatsby/blob/1.0/examples/gatsbygram/src/templates/post-page.js)",
template](https://github.com/gatsbyjs/gatsby/blob/master/examples/gatsbygram/src/templates/post-page.js)",
we pass the id to the post. Below we use that id to query our `GraphQL` schema
and return a fully formed page:

Expand Down Expand Up @@ -329,9 +329,9 @@ Gatsbygram's `about.js` is a simple React component with no query.
has an infinite scroll implementation to lazy load in image thumbnails.

[Read pages/index.js on
Github](https://github.com/gatsbyjs/gatsby/blob/1.0/examples/gatsbygram/src/pages/index.js)
Github](https://github.com/gatsbyjs/gatsby/blob/master/examples/gatsbygram/src/pages/index.js)
[Read pages/about.js on
Github](https://github.com/gatsbyjs/gatsby/blob/1.0/examples/gatsbygram/src/pages/about.js)
Github](https://github.com/gatsbyjs/gatsby/blob/master/examples/gatsbygram/src/pages/about.js)

## The Layout Component

Expand Down Expand Up @@ -380,7 +380,7 @@ sites as it has logic to show clicked images in either a modal on larger
screens or on their own page on smaller screens.

[Read Gatsbygram's Layout component on
Github](https://github.com/gatsbyjs/gatsby/blob/1.0/examples/gatsbygram/src/layouts/default.js).
Github](https://github.com/gatsbyjs/gatsby/blob/master/examples/gatsbygram/src/layouts/default.js).

## Client routing and pre-caching

Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-dev-cli/README.md
Expand Up @@ -48,7 +48,7 @@ packages you want to link by using the `--packages` option:
With this flag, the tool will do an initial scan and copy and then quit. This
is useful for setting up automated testing/builds of Gatsby sites from the latest
code. Gatsby's main website (and example websites) are built from HEAD using this
flag, see https://github.com/gatsbyjs/gatsby/blob/1.0/scripts/publish-site.sh.
flag, see https://github.com/gatsbyjs/gatsby/blob/master/scripts/publish-site.sh.

#### `--quiet`

Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-sitemap/README.md
Expand Up @@ -22,6 +22,6 @@ plugins: [

Above is the minmal configuration required to have it work, however, note that
the [default
query](https://github.com/gatsbyjs/gatsby/blob/1.0/packages/gatsby-plugin-sitemap/src/internals.js)
query](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-sitemap/src/internals.js)
only retrieves nodes of type `MarkdownRemark`. Any parameter in
`defaultOptions` can be overridden.

0 comments on commit 28260b1

Please sign in to comment.