Skip to content

Commit 14d8bbe

Browse files
committed
docs: trigger production builds
1 parent c16e124 commit 14d8bbe

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

README.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
</details></p>
3333

34-
## Main features
34+
## Features
3535

3636
- **Google Docs** formatting options (headings, bullets, tables, images...)
3737
- `MDX` support to use `<ReactComponents />` in your documents
@@ -47,13 +47,12 @@
4747

4848
To preview what you can do, please checkout [the documentation website](https://cedricdelpoux.github.io/gatsby-source-google-docs/).
4949

50-
- 💯 100% content of this site is from Google Docs
51-
- 👨🏻‍💻 Source code [here](/examples/website)
52-
- 🗂 Source content [here](https://drive.google.com/drive/folders/1YJWX_FRoVusp-51ztedm6HSZqpbJA3ag)
50+
- 👨🏻‍💻 [Source code](/examples/website)
51+
- 🗂 [Google Docs content](https://drive.google.com/drive/folders/1YJWX_FRoVusp-51ztedm6HSZqpbJA3ag)
5352

54-
Please suggest edits from Google Docs to improve it.
53+
> 💯 100% content of the website is from Google Docs. Please suggest edits to improve it.
5554
56-
## Install
55+
## Installation
5756

5857
Download `gatsby-source-google-docs` and `gatsby-transformer-remark` (or `gatsby-plugin-mdx` for [advanced usage](/examples/website))
5958

@@ -65,7 +64,7 @@ yarn add gatsby-source-google-docs gatsby-transformer-remark
6564
- `gatsby-transformer-remark` transform **Markdown** to **HTML**
6665
- `gatsby-plugin-mdx` transform **Markdown** to **MDX**
6766

68-
## Generate a token
67+
## Token generation
6968

7069
The package needs 3 `.env` variables.
7170

@@ -108,7 +107,7 @@ Go to your [Google Drive](https://drive.google.com/drive/), create a folder and
108107
↳ 📝 Accueil `template: home`
109108
```
110109

111-
<p><details><summary>🤡 How to add metadata?</summary>
110+
<p><details><summary>🤡 How to enhance documents with metadata?</summary>
112111

113112
- Fill the document (or folder) `description` field in Google Drive with a `YAML` object
114113

@@ -315,6 +314,15 @@ If you prefer to create pages manualy, checkout the [createPages API](./src/util
315314

316315
</details></p>
317316

317+
### Trigger production builds
318+
319+
- Go to [Google Drive example folder](https://drive.google.com/drive/folders/1YJWX_FRoVusp-51ztedm6HSZqpbJA3ag)
320+
- Create a copy of **Trigger Gatsby Build** file using `Right Click -> Create a copy`
321+
- Open your copy and update the **Build Webhook URL** in `A2`
322+
- Click the **Deploy** button to trigger a new build
323+
324+
> This method works with any hosting services: Gatsby Cloud, Netlify...
325+
318326
## Showcase
319327

320328
You are using `gatsby-source-google-docs` for your website? Thank you!

0 commit comments

Comments
 (0)