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

Fixes documentation URLs to internal files. #1495

Merged
merged 1 commit into from
Jul 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/blog/gatsbygram-case-study/index.md
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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.