Skip to content

Commit 54558c1

Browse files
authored
chore(docs): Fix links to old tutorial docs (gatsbyjs#33605)
1 parent 2ae0b33 commit 54558c1

47 files changed

Lines changed: 63 additions & 63 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/contributing/translation/sync-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ If a page has significant changes, it may be worth splitting it into its own pul
169169
```shell
170170
git checkout conflicts-9032a0
171171
git checkout -b sync-tutorial-0
172-
# Fix conflicts in /docs/docs/tutorial/part-zero/index.md
172+
# Fix conflicts in /docs/docs/tutorial/part-0/index.md
173173
git commit -am "Fix conflicts in tutorial part zero"
174174
git push -u origin sync-tutorial-0
175175
```

docs/docs/adding-tags-and-categories-to-blog-posts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Creating Tags Pages for Blog Posts
44

55
Creating tag pages for your blog post is a way to let visitors browse related content.
66

7-
To add tags to your blog posts, you will first want to have your site set up to turn your markdown pages into blog posts. To get your blog pages set up, see the [tutorial on Gatsby's data layer](/docs/tutorial/part-four/) and [Adding Markdown Pages](/docs/how-to/routing/adding-markdown-pages/).
7+
To add tags to your blog posts, you will first want to have your site set up to turn your markdown pages into blog posts. To get your blog pages set up, see the [tutorial on Gatsby's data layer](/docs/tutorial/part-4/) and [Adding Markdown Pages](/docs/how-to/routing/adding-markdown-pages/).
88

99
The process will essentially look like this:
1010

docs/docs/building-an-ecommerce-site-with-shopify.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export const query = graphql`
123123

124124
## Generating a page for each product
125125

126-
You can [programmatically create pages](/docs/tutorial/part-seven/) in Gatsby for every product in your Shopify store.
126+
You can [programmatically create pages](/docs/tutorial/part-7/) in Gatsby for every product in your Shopify store.
127127

128128
Create a template for your product pages by adding a new file, `/src/templates/product.js`.
129129

docs/docs/conceptual/building-with-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ pages are React components but very often these components are just wrappers aro
7979
`src/templates/post.js` is an example of a page component. It queries GraphQL
8080
for markdown data and then renders the page using this data.
8181

82-
See [part seven](/docs/tutorial/part-seven/) of the tutorial for a detailed
82+
See [part seven](/docs/tutorial/part-7/) of the tutorial for a detailed
8383
introduction to programmatically creating pages.
8484

8585
Example:

docs/docs/conceptual/data-fetching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Reasons to fetch certain data at build time vs. client runtime will vary, but in
2525

2626
In order to fetch data at build time, you can use a source plugin or source data yourself. To source data yourself you can create an integration with a third-party system by creating [nodes for the GraphQL layer](/docs/node-creation/) in your `gatsby-node` file from retrieved data that becomes queryable in pages. This is the same method that source plugins implement to [source data](/docs/content-and-data/) while the site builds. You can read about that process in the [Creating a Source Plugin guide](/docs/how-to/plugins-and-themes/creating-a-source-plugin/).
2727

28-
> This process of fetching data at build time and creating pages from the data is [covered in more depth in the tutorial](/docs/tutorial/part-five/) as well as the docs for [creating pages from data programmatically](/docs/programmatically-create-pages-from-data/).
28+
> This process of fetching data at build time and creating pages from the data is [covered in more depth in the tutorial](/docs/tutorial/part-5/) as well as the docs for [creating pages from data programmatically](/docs/programmatically-create-pages-from-data/).
2929
3030
#### Source data to be queried at build time
3131

docs/docs/conceptual/gatsby-jargon.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ GraphQL is a query language (the QL part of its name) that Gatsby uses to genera
6060

6161
Using a special syntax, you describe the data you want in your component and then that data is given to you, such as site metadata from your `gatsby-config.js`, connected WordPress posts, Markdown files, images, and more. Gatsby uses GraphQL to enable components to declare the data they need and apply it to render on a page. Using GraphQL in Gatsby provides many [benefits](/docs/why-gatsby-uses-graphql/), such as the ability to return data from multiple sources in one query, and transform that data at the same time (such as using Gatsby Image).
6262

63-
Here is how you get started using GraphQL in Gatsby: [Tutorial - Part 4](/docs/tutorial/part-four/)
63+
Here is how you get started using GraphQL in Gatsby: [Tutorial - Part 4](/docs/tutorial/part-4/)
6464

6565
## webpack
6666

docs/docs/conceptual/graphql-concepts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ When starting out with GraphQL, we recommend the following two tutorials:
118118
- https://www.howtographql.com/
119119
- https://graphql.org/learn/
120120

121-
[The official Gatsby tutorial](/docs/tutorial/part-four/) also includes an introduction to using GraphQL specifically with Gatsby.
121+
[The official Gatsby tutorial](/docs/tutorial/part-4/) also includes an introduction to using GraphQL specifically with Gatsby.
122122

123123
## How do GraphQL and Gatsby work together?
124124

docs/docs/glossary/build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ For smaller teams and projects, use `gatsby build`. The `gatsby build` command i
2323
npm install -g gatsby-cli
2424
```
2525

26-
Installing `gatsby-cli` globally makes Gatsby commands available system-wide. You'll use `gatsby new` to [create a new site](/docs/tutorial/part-zero/#create-a-gatsby-site), and `gatsby develop` to start a development server on your local machine.
26+
Installing `gatsby-cli` globally makes Gatsby commands available system-wide. You'll use `gatsby new` to [create a new site](/docs/tutorial/part-0/#create-a-gatsby-site), and `gatsby develop` to start a development server on your local machine.
2727

2828
When you're ready to publish your project, run the `gatsby build` command to create a production-ready version of your site. Once built, you can use an SFTP client, the [rsync](https://en.wikipedia.org/wiki/Rsync) utility, or similar tool to transfer these files to your host.
2929

docs/docs/glossary/node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A year later, Node.js made its debut as a standalone JavaScript runtime using th
1717

1818
Once you've installed Node.js, you can use it to run JavaScript from the [command line](/docs/glossary#command-line). Type `node` at a prompt to launch the Node.js interactive shell. Include the path to a JavaScript file to execute that script: e.g. `node /Users/gatsbyfan/hello-world.js`.
1919

20-
You will need to [install Node.js](/docs/tutorial/part-zero/#install-nodejs-for-your-appropriate-operating-system) before using Gatsby. Gatsby is built using JavaScript, and requires the Node.js runtime.
20+
You will need to [install Node.js](/docs/tutorial/part-0/#install-nodejs-for-your-appropriate-operating-system) before using Gatsby. Gatsby is built using JavaScript, and requires the Node.js runtime.
2121

2222
Installing Node.js also installs [npm](/docs/glossary#npm), the Node.js _package manager_. A package manager is specialized software that lets you install and update modules and packages used in your project.
2323

docs/docs/glossary/npm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ its plugins.
1515

1616
npm is a [command line](/docs/glossary#command-line) tool. You'll need Terminal (Mac, Linux) or Command Prompt (Windows) in order to run its commands. To use one of npm's features, type `npm <command>`. For example, `npm help` displays a list of available features, including `install`, `uninstall`, `update`, and `search`.
1717

18-
npm is installed alongside Node during the default [installation process](/docs/tutorial/part-zero/#install-nodejs-for-your-appropriate-operating-system). You don't need to take any additional steps to add it to your environment.
18+
npm is installed alongside Node during the default [installation process](/docs/tutorial/part-0/#install-nodejs-for-your-appropriate-operating-system). You don't need to take any additional steps to add it to your environment.
1919

2020
### Using npm to install Gatsby
2121

@@ -58,4 +58,4 @@ This will update the dependencies list of `package.json` and `package-lock.json`
5858
- [npm](https://www.npmjs.com/) official website
5959
- [Node.js](https://nodejs.org/en/) official website
6060
- [An introduction to the npm package manager](https://nodejs.dev/an-introduction-to-the-npm-package-manager) from Nodejs.dev
61-
- [Set Up Your Development Environment](/docs/tutorial/part-zero/) from the Gatsby docs
61+
- [Set Up Your Development Environment](/docs/tutorial/part-0/) from the Gatsby docs

0 commit comments

Comments
 (0)