31
31
32
32
</details ></p >
33
33
34
- ## Main features
34
+ ## Features
35
35
36
36
- ** Google Docs** formatting options (headings, bullets, tables, images...)
37
37
- ` MDX ` support to use ` <ReactComponents /> ` in your documents
47
47
48
48
To preview what you can do, please checkout [ the documentation website] ( https://cedricdelpoux.github.io/gatsby-source-google-docs/ ) .
49
49
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 )
53
52
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.
55
54
56
- ## Install
55
+ ## Installation
57
56
58
57
Download ` gatsby-source-google-docs ` and ` gatsby-transformer-remark ` (or ` gatsby-plugin-mdx ` for [ advanced usage] ( /examples/website ) )
59
58
@@ -65,7 +64,7 @@ yarn add gatsby-source-google-docs gatsby-transformer-remark
65
64
- ` gatsby-transformer-remark ` transform ** Markdown** to ** HTML**
66
65
- ` gatsby-plugin-mdx ` transform ** Markdown** to ** MDX**
67
66
68
- ## Generate a token
67
+ ## Token generation
69
68
70
69
The package needs 3 ` .env ` variables.
71
70
@@ -108,7 +107,7 @@ Go to your [Google Drive](https://drive.google.com/drive/), create a folder and
108
107
↳ 📝 Accueil ` template: home`
109
108
```
110
109
111
- <p ><details ><summary >🤡 How to add metadata?</summary >
110
+ <p ><details ><summary >🤡 How to enhance documents with metadata?</summary >
112
111
113
112
- Fill the document (or folder) ` description ` field in Google Drive with a ` YAML ` object
114
113
@@ -315,6 +314,15 @@ If you prefer to create pages manualy, checkout the [createPages API](./src/util
315
314
316
315
</details></p>
317
316
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
+
318
326
# # Showcase
319
327
320
328
You are using `gatsby-source-google-docs` for your website? Thank you!
0 commit comments