-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(docs): change bash to shell in code language blocks (#22899)
Co-authored-by: Lennart <[email protected]> Co-authored-by: gatsbybot <[email protected]>
- Loading branch information
1 parent
1364453
commit 6b6b2f2
Showing
30 changed files
with
83 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,19 +32,19 @@ This guide assumes that you have [GatsbyJS installed](/docs/) and, optionally, a | |
|
||
Start by using this with the Gatsby CLI: | ||
|
||
```bash | ||
```shell | ||
gatsby new contentful-starter https://github.com/contentful/starter-gatsby-blog | ||
``` | ||
|
||
Alternatively, you can also clone a sample repo from GitHub: | ||
|
||
```bash | ||
```shell | ||
git clone [email protected]:contentful/starter-gatsby-blog.git | ||
``` | ||
|
||
And go into the directory and install the required dependencies with: | ||
|
||
```bash | ||
```shell | ||
npm install | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ To complete this tutorial you will need the following tools: | |
|
||
Install Node from the [Node website](https://nodejs.org/en/) and check it's installed by checking the version from your terminal. | ||
|
||
```bash | ||
```shell | ||
node -v | ||
v10.9.0 | ||
``` | ||
|
@@ -30,7 +30,7 @@ Install VS Code from the [VS Code website](https://code.visualstudio.com/). | |
|
||
Next, we can install the important part! [Gatsby](https://gatsbyjs.org/) from your terminal, run: | ||
|
||
```bash | ||
```shell | ||
npm install --global gatsby-cli | ||
+ [email protected] | ||
updated 1 package in 4.868s | ||
|
@@ -44,7 +44,7 @@ Next you will create the blog from the handy [Gatsby Starter Blog](https://githu | |
From your terminal run | ||
|
||
```bash | ||
```shell | ||
gatsby new azure-blog https://github.com/gatsbyjs/gatsby-starter-blog | ||
|
||
info Creating new site from git: https://github.com/gatsbyjs/gatsby-starter-blog.git | ||
|
@@ -61,7 +61,7 @@ info Installing packages... | |
|
||
You can now view your website by running | ||
|
||
```bash | ||
```shell | ||
cd azure-blog | ||
npm run develop | ||
``` | ||
|
@@ -113,7 +113,7 @@ Change the option to `enabled`, set a default document name of `index.html` and | |
|
||
You are now ready to produce a production build of your blog. Make sure you're in the blog folder and then run. | ||
|
||
```bash | ||
```shell | ||
gatsby build | ||
|
||
success open and validate gatsby-config — 0.010 s | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -530,7 +530,7 @@ It's easy to create your own "Gatsbygram" site from an Instagram account. | |
|
||
### Instructions on setting up your own Gatsbygram site | ||
|
||
```bash | ||
```shell | ||
# Clone the Gatsby repo. | ||
git clone -b 1.0 [email protected]:gatsbyjs/gatsby.git | ||
cd gatsby/examples/gatsbygram | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.