Skip to content

Commit

Permalink
chore: replace all uses of gatsbyjs.org with gatsbyjs.com (gatsbyjs#3…
Browse files Browse the repository at this point in the history
…5101)

Co-authored-by: LekoArts <lekoarts@gmail.com>
  • Loading branch information
aghreed and LekoArts committed Mar 17, 2022
1 parent 37c4345 commit 8f0a51f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions README.md
Expand Up @@ -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`)

Expand Down
8 changes: 4 additions & 4 deletions 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<FileSystemNode>

/**
* @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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/gatsby-node.js
Expand Up @@ -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/
`)
}

Expand Down

0 comments on commit 8f0a51f

Please sign in to comment.