diff --git a/docs/docs/headless-cms.md b/docs/docs/headless-cms.md index cfb5a735b3737..d429256d56fdc 100644 --- a/docs/docs/headless-cms.md +++ b/docs/docs/headless-cms.md @@ -17,18 +17,18 @@ The guides in this section will walk through the process of setting up content s Other CMS systems you can connect to include: -* [Shopify](https://www.gatsbyjs.org/packages/gatsby-source-shopify/?=gatsby-source-) -* [Contentstack](https://www.gatsbyjs.org/packages/gatsby-source-contentstack/?=gatsby-source-) -* [Ghost](https://www.gatsbyjs.org/packages/gatsby-source-ghost/?=gatsby-source-) -* [Prismic](https://www.gatsbyjs.org/packages/gatsby-source-prismic/?=gatsby-source-) -* [Strapi](https://www.gatsbyjs.org/packages/gatsby-source-strapi/?=gatsby-source-) -* [Directus](https://www.gatsbyjs.org/packages/gatsby-source-directus/?=gatsby-source-) -* [Cockpit](https://www.gatsbyjs.org/packages/gatsby-plugin-cockpit/?=gatsby-source-) -* [GraphCMS](https://www.gatsbyjs.org/packages/gatsby-source-graphcms-beta-patch/?=gatsby-source-) -* [CraftCMS](https://www.gatsbyjs.org/packages/gatsby-source-craftcms/?=gatsby-source-) -* [DatoCMS](https://www.gatsbyjs.org/packages/gatsby-source-datocms/?=gatsby-source-) -* [Storyblok](https://www.gatsbyjs.org/packages/gatsby-source-storyblok/?=gatsby-source-) -* [Kentico Cloud](https://www.gatsbyjs.org/packages/gatsby-source-kentico-cloud/?=gatsby-source-) +- [Shopify](https://www.gatsbyjs.org/packages/gatsby-source-shopify/?=gatsby-source-) +- [Contentstack](https://www.gatsbyjs.org/packages/gatsby-source-contentstack/?=gatsby-source-) +- [Ghost](https://www.gatsbyjs.org/packages/gatsby-source-ghost/?=gatsby-source-) +- [Prismic](https://www.gatsbyjs.org/packages/gatsby-source-prismic/?=gatsby-source-) +- [Strapi](https://www.gatsbyjs.org/packages/gatsby-source-strapi/?=gatsby-source-) +- [Directus](https://www.gatsbyjs.org/packages/gatsby-source-directus/?=gatsby-source-) +- [Cockpit](https://www.gatsbyjs.org/packages/gatsby-plugin-cockpit/?=gatsby-source-) +- [GraphCMS](https://www.gatsbyjs.org/packages/gatsby-source-graphcms-beta-patch/?=gatsby-source-) +- [CraftCMS](https://www.gatsbyjs.org/packages/gatsby-source-craftcms/?=gatsby-source-) +- [DatoCMS](https://www.gatsbyjs.org/packages/gatsby-source-datocms/?=gatsby-source-) +- [Storyblok](https://www.gatsbyjs.org/packages/gatsby-source-storyblok/?=gatsby-source-) +- [Kentico Cloud](https://www.gatsbyjs.org/packages/gatsby-source-kentico-cloud/?=gatsby-source-) ## How to add new guides to this section diff --git a/docs/docs/plugin-authoring.md b/docs/docs/plugin-authoring.md index 5996072c30055..f416f7b578e92 100644 --- a/docs/docs/plugin-authoring.md +++ b/docs/docs/plugin-authoring.md @@ -64,9 +64,7 @@ plugins ```javascript module.exports = { - plugins: [ - 'my-own-plugin', - ] + plugins: ["my-own-plugin"], } ``` @@ -76,4 +74,5 @@ can place the files in a `src` subfolder and build them to the plugin folder root. ## Publishing a plugin to the library + If you'd like to publish your plugin to the Gatsby Plugin Library (please do!), [follow these steps](/docs/submit-to-plugin-library/). diff --git a/docs/docs/source-plugin-tutorial.md b/docs/docs/source-plugin-tutorial.md index 05f8e7629f173..039e97c1ecd46 100644 --- a/docs/docs/source-plugin-tutorial.md +++ b/docs/docs/source-plugin-tutorial.md @@ -119,7 +119,10 @@ Create a new file called `gatsby-node.js` in your `gatsby-source-pixabay` direct const fetch = require("node-fetch") const queryString = require("query-string") -exports.sourceNodes = ({ actions, createNodeId, createContentDigest }, configOptions) => { +exports.sourceNodes = ( + { actions, createNodeId, createContentDigest }, + configOptions +) => { const { createNode } = actions // Gatsby adds a configOption that's not needed for this plugin, delete it @@ -210,7 +213,10 @@ Update `gatsby-node.js` in your `plugins/gatsby-source-pixabay/` directory: const fetch = require("node-fetch") const queryString = require("query-string") -exports.sourceNodes = ({ actions, createNodeId, createContentDigest }, configOptions) => { +exports.sourceNodes = ( + { actions, createNodeId, createContentDigest }, + configOptions +) => { const { createNode } = actions // Gatsby adds a configOption that's not needed for this plugin, delete it @@ -269,7 +275,10 @@ You're adding a helper function on lines 11 to 27 and processing the data into a const fetch = require("node-fetch") const queryString = require("query-string") -exports.sourceNodes = ({ actions, createNodeId, createContentDigest }, configOptions) => { +exports.sourceNodes = ( + { actions, createNodeId, createContentDigest }, + configOptions +) => { const { createNode } = actions // Gatsby adds a configOption that's not needed for this plugin, delete it diff --git a/docs/sites.yml b/docs/sites.yml index 51d7b755fb928..c3af034b42a99 100644 --- a/docs/sites.yml +++ b/docs/sites.yml @@ -3197,6 +3197,17 @@ - Technology - Podcast featured: false +- title: Tyler McGinnis + url: https://tylermcginnis.com/ + main_url: https://tylermcginnis.com/ + description: > + The linear, course based approach to learning web technologies. + categories: + - Education + - Technology + - Podcast + - Web Development + featured: false - title: a11y with Lindsey url: https://www.a11ywithlindsey.com/ main_url: https://www.a11ywithlindsey.com/ diff --git a/docs/tutorial/part-eight/index.md b/docs/tutorial/part-eight/index.md index b6c3657d3b76e..fa704b140eaba 100644 --- a/docs/tutorial/part-eight/index.md +++ b/docs/tutorial/part-eight/index.md @@ -200,17 +200,17 @@ Lighthouse is a great tool for site improvements and learning -- Continue lookin ### Official Documentation -* [Official Documentation](https://www.gatsbyjs.org/docs/): View our Official Documentation for *[Quick Start](https://www.gatsbyjs.org/docs/)*, *[Detailed Guides](https://www.gatsbyjs.org/docs/preparing-your-environment/)*, *[API References](https://www.gatsbyjs.org/docs/gatsby-link/)* and much more. +- [Official Documentation](https://www.gatsbyjs.org/docs/): View our Official Documentation for _[Quick Start](https://www.gatsbyjs.org/docs/)_, _[Detailed Guides](https://www.gatsbyjs.org/docs/preparing-your-environment/)_, _[API References](https://www.gatsbyjs.org/docs/gatsby-link/)_ and much more. ### Official Plugins -* [Official Plugins](https://github.com/gatsbyjs/gatsby/tree/master/packages): The complete list of all the Official Plugins maintained by Gatsby. +- [Official Plugins](https://github.com/gatsbyjs/gatsby/tree/master/packages): The complete list of all the Official Plugins maintained by Gatsby. ### Official Starters -1. [Gatsby's Default Starter](https://github.com/gatsbyjs/gatsby-starter-default): Kick off your project with this default boilerplate. This barebones starter ships with the main Gatsby configuration files you might need. *[working example](http://gatsbyjs.github.io/gatsby-starter-default/)* -2. [Gatsby's Blog Starter](https://github.com/gatsbyjs/gatsby-starter-blog): Gatsby starter for creating an awesome and blazing-fast blog. *[working example](http://gatsbyjs.github.io/gatsby-starter-blog/)* -3. [Gatsby's Hello-World Starter](https://github.com/gatsbyjs/gatsby-starter-blog): Gatsby Starter with the bare essentials needed for a Gatsby site. *[working example](https://gatsby-starter-hello-world-demo.netlify.com/)* +1. [Gatsby's Default Starter](https://github.com/gatsbyjs/gatsby-starter-default): Kick off your project with this default boilerplate. This barebones starter ships with the main Gatsby configuration files you might need. _[working example](http://gatsbyjs.github.io/gatsby-starter-default/)_ +2. [Gatsby's Blog Starter](https://github.com/gatsbyjs/gatsby-starter-blog): Gatsby starter for creating an awesome and blazing-fast blog. _[working example](http://gatsbyjs.github.io/gatsby-starter-blog/)_ +3. [Gatsby's Hello-World Starter](https://github.com/gatsbyjs/gatsby-starter-blog): Gatsby Starter with the bare essentials needed for a Gatsby site. _[working example](https://gatsby-starter-hello-world-demo.netlify.com/)_ ## That's all, folks diff --git a/docs/tutorial/part-two/index.md b/docs/tutorial/part-two/index.md index c3e1530ebd076..b79cbec502ba2 100644 --- a/docs/tutorial/part-two/index.md +++ b/docs/tutorial/part-two/index.md @@ -484,8 +484,8 @@ yet for your favorite CSS option, - [Emotion](/packages/gatsby-plugin-emotion/) - [JSS](/packages/gatsby-plugin-jss/) - [Stylus](/packages/gatsby-plugin-stylus/) - - and more! + +and more! ## What's coming next? diff --git a/examples/using-cxs/.eslintrc.json b/examples/using-cxs/.eslintrc.json index aadde9c0aa03d..d1e4cdd12970e 100644 --- a/examples/using-cxs/.eslintrc.json +++ b/examples/using-cxs/.eslintrc.json @@ -5,4 +5,4 @@ "globals": { "graphql": false } -} \ No newline at end of file +} diff --git a/examples/using-cxs/src/pages/index.js b/examples/using-cxs/src/pages/index.js index b0cd5c1aa4ccf..a97f61e4f6b90 100644 --- a/examples/using-cxs/src/pages/index.js +++ b/examples/using-cxs/src/pages/index.js @@ -37,7 +37,9 @@ class IndexPage extends React.Component { }} >
gatsby-plugin-styled-component docs
diff --git a/packages/gatsby-plugin-cxs/README.md b/packages/gatsby-plugin-cxs/README.md
index 2f0339d256279..fe1fdabff66c3 100644
--- a/packages/gatsby-plugin-cxs/README.md
+++ b/packages/gatsby-plugin-cxs/README.md
@@ -13,9 +13,7 @@ Add the plugin to `gatsby-config.js`
```javascript
module.exports = {
- plugins: [
- `gatsby-plugin-cxs`
- ],
+ plugins: [`gatsby-plugin-cxs`],
}
```
diff --git a/packages/gatsby-plugin-google-gtag/README.md b/packages/gatsby-plugin-google-gtag/README.md
index 03d7f91105695..25dae2e70a3e0 100644
--- a/packages/gatsby-plugin-google-gtag/README.md
+++ b/packages/gatsby-plugin-google-gtag/README.md
@@ -74,13 +74,13 @@ To use it, simply import it and use it like you would the `` element e.g.
import React from "react"
import { OutboundLink } from "gatsby-plugin-google-gtag"
-export default () => {
+export default () => (