Skip to content

Commit 41ad87f

Browse files
committed
Use index.mdx
1 parent 62399d5 commit 41ad87f

File tree

5 files changed

+5
-119
lines changed

5 files changed

+5
-119
lines changed

examples/gatsby/README.md

Lines changed: 3 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,5 @@
1-
<p align="center">
2-
<a href="https://www.gatsbyjs.com/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter">
3-
<img alt="Gatsby" src="https://www.gatsbyjs.com/Gatsby-Monogram.svg" width="60" />
4-
</a>
5-
</p>
6-
<h1 align="center">
7-
Gatsby minimal starter
8-
</h1>
1+
# Gatsby + Code Hike
92

10-
## 🚀 Quick start
3+
See [this guide](https://codehike.org/docs/installation/gatsby) or try it on [CodeSandbox](https://codesandbox.io/s/github/code-hike/codehike/tree/main/examples/gatsby).
114

12-
1. **Create a Gatsby site.**
13-
14-
Use the Gatsby CLI to create a new site, specifying the minimal starter.
15-
16-
```shell
17-
# create a new Gatsby site using the minimal starter
18-
npm init gatsby
19-
```
20-
21-
2. **Start developing.**
22-
23-
Navigate into your new site’s directory and start it up.
24-
25-
```shell
26-
cd my-gatsby-site/
27-
npm run develop
28-
```
29-
30-
3. **Open the code and start customizing!**
31-
32-
Your site is now running at http://localhost:8000!
33-
34-
Edit `src/pages/index.js` to see your site update in real-time!
35-
36-
4. **Learn more**
37-
38-
- [Documentation](https://www.gatsbyjs.com/docs/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter)
39-
40-
- [Tutorials](https://www.gatsbyjs.com/tutorial/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter)
41-
42-
- [Guides](https://www.gatsbyjs.com/tutorial/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter)
43-
44-
- [API Reference](https://www.gatsbyjs.com/docs/api-reference/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter)
45-
46-
- [Plugin Library](https://www.gatsbyjs.com/plugins?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter)
47-
48-
- [Cheat Sheet](https://www.gatsbyjs.com/docs/cheat-sheet/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter)
49-
50-
## 🚀 Quick start (Gatsby Cloud)
51-
52-
Deploy this starter with one click on [Gatsby Cloud](https://www.gatsbyjs.com/cloud/):
53-
54-
[<img src="https://www.gatsbyjs.com/deploynow.svg" alt="Deploy to Gatsby Cloud">](https://www.gatsbyjs.com/dashboard/deploynow?url=https://github.com/gatsbyjs/gatsby-starter-minimal)
5+
Gatsby + MDX docs: https://www.gatsbyjs.com/docs/how-to/routing/mdx/

examples/gatsby/gatsby-config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ const theme = require("shiki/themes/nord.json")
33

44
module.exports = {
55
siteMetadata: {
6-
title: `gatsby`,
7-
siteUrl: `https://www.yourdomain.tld`,
6+
title: `codehike-gatsby`,
87
},
98
plugins: [
109
{

examples/gatsby/src/pages/404.js

Lines changed: 0 additions & 49 deletions
This file was deleted.

examples/gatsby/src/pages/hello.mdx

Lines changed: 0 additions & 15 deletions
This file was deleted.

examples/gatsby/src/pages/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
slug: /indexs
2+
slug: /index
33
---
44

55
# Hello

0 commit comments

Comments
 (0)