From 8f0a51fd480e3c8ef4b0c90c42ad044e3c8efca4 Mon Sep 17 00:00:00 2001 From: Alex Reed Date: Thu, 17 Mar 2022 06:57:23 -0400 Subject: [PATCH] chore: replace all uses of gatsbyjs.org with gatsbyjs.com (#35101) Co-authored-by: LekoArts --- README.md | 2 -- index.d.ts | 8 ++++---- src/gatsby-node.js | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 7853d4ed30234..41d3a45538bb3 100644 --- a/README.md +++ b/README.md @@ -130,8 +130,6 @@ createFilePath({ #### Example usage -The following is taken from [Gatsby Tutorial, Part Seven](https://www.gatsbyjs.org/tutorial/part-7/) and is used to create URL slugs for markdown pages. - ```javascript const { createFilePath } = require(`gatsby-source-filesystem`) diff --git a/index.d.ts b/index.d.ts index d7c02db11d0f2..2d578b9e1a3da 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,19 +1,19 @@ import { Node, Store, NodePluginArgs } from "gatsby" /** - * @see https://www.gatsbyjs.org/packages/gatsby-source-filesystem/?=files#createfilepath + * @see https://www.gatsbyjs.com/plugins/gatsby-source-filesystem/?=files#createfilepath */ export function createFilePath(args: CreateFilePathArgs): string /** - * @see https://www.gatsbyjs.org/packages/gatsby-source-filesystem/?=files#createremotefilenode + * @see https://www.gatsbyjs.com/plugins/gatsby-source-filesystem/?=files#createremotefilenode */ export function createRemoteFileNode( args: CreateRemoteFileNodeArgs ): Promise /** - * @see https://www.gatsbyjs.org/packages/gatsby-source-filesystem/?=files#createfilenodefrombuffer + * @see https://www.gatsbyjs.com/plugins/gatsby-source-filesystem/?=files#createfilenodefrombuffer */ export function createFileNodeFromBuffer( args: CreateFileNodeFromBufferArgs @@ -103,7 +103,7 @@ export interface FileSystemConfig { } /** - * @see https://www.gatsbyjs.org/packages/gatsby-source-filesystem/?=filesy#options + * @see https://www.gatsbyjs.com/plugins/gatsby-source-filesystem/?=filesy#options */ interface FileSystemOptions { name: string diff --git a/src/gatsby-node.js b/src/gatsby-node.js index 9b319120af77c..8a2d70003962d 100644 --- a/src/gatsby-node.js +++ b/src/gatsby-node.js @@ -171,7 +171,7 @@ exports.sourceNodes = (api, pluginOptions) => { The path passed to gatsby-source-filesystem does not exist on your file system: ${pluginOptions.path} Please pick a path to an existing directory. -See docs here - https://www.gatsbyjs.org/packages/gatsby-source-filesystem/ +See docs here - https://www.gatsbyjs.com/plugins/gatsby-source-filesystem/ `) }