Skip to content

Commit 200e307

Browse files
takapiro99LekoArts
andauthored
chore(docs): Fix all /packages links to /plugins (#28816)
Co-authored-by: Lennart <[email protected]>
1 parent 305fa64 commit 200e307

131 files changed

Lines changed: 298 additions & 298 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/contributing/docs-and-blog-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,4 +354,4 @@ plugins: [
354354
]
355355
```
356356

357-
Line numbers and line highlighting can be added to code blocks as well, and is explained in detail in the [`gatsby-remark-prismjs` README](/packages/gatsby-remark-prismjs/?=remark#optional-add-line-highlighting-styles).
357+
Line numbers and line highlighting can be added to code blocks as well, and is explained in detail in the [`gatsby-remark-prismjs` README](/plugins/gatsby-remark-prismjs/?=remark#optional-add-line-highlighting-styles).

docs/contributing/gatsby-style-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ examples:
2929
- [Reference guide overviews](/docs/styling/)
3030
- [Recipes](/docs/recipes/)
3131
- [Tutorials](/docs/tutorial/part-one/)
32-
- [Plugin README](/packages/gatsby-source-filesystem/)
32+
- [Plugin README](/plugins/gatsby-source-filesystem/)
3333
- [Starter README](https://github.com/gatsbyjs/gatsby-starter-default)
3434

3535
Please see the [Docs templates](/contributing/docs-templates/) for guidelines on how to format the above kinds of documents, as well as tips for different types of guide articles.

docs/contributing/how-to-make-a-reproducible-test-case.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A reproducible test case is a great way to share a specific environment that cau
1717
## Steps to create a reproducible test case
1818

1919
- Create a new Gatsby site with a starter, the official `hello-world` starter is a great 'barebones' starting point here: `gatsby new bug-repro https://github.com/gatsbyjs/gatsby-starter-hello-world`
20-
- Add any Gatsby plugins that relate to the issue. For example, if you're having problems with Gatsby MDX you should install and configure [`gatsby-plugin-mdx`](/packages/gatsby-plugin-mdx/). Only add plugins that are needed to demonstrate the problem.
20+
- Add any Gatsby plugins that relate to the issue. For example, if you're having problems with Gatsby MDX you should install and configure [`gatsby-plugin-mdx`](/plugins/gatsby-plugin-mdx/). Only add plugins that are needed to demonstrate the problem.
2121
- Add the code needed to recreate the error you've seen.
2222
- Publish the code (your GitHub account is a good place to do this) and then link to it when [creating an issue](/contributing/how-to-file-an-issue/).
2323

docs/contributing/how-to-write-a-plugin-readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ issue: https://github.com/gatsbyjs/gatsby/issues/21599
55

66
## Near-perfect example of a plugin README
77

8-
[`gatsby-source-filesystem`](/packages/gatsby-source-filesystem/)
8+
[`gatsby-source-filesystem`](/plugins/gatsby-source-filesystem/)
99

1010
```markdown
1111
## Description

docs/contributing/translation/sync-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ The only necessary change is to ensure the translated content carries over these
126126
These changes involve updating the URL of a link:
127127

128128
```diff
129-
- Please see our [plugins page](/packages).
129+
- Please see our [plugins page](/plugins).
130130
+ Please see our [plugins page](/plugins).
131131
```
132132

docs/docs/add-page-metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Adding metadata to pages (such as a title or description) is key in helping sear
88

99
[React Helmet](https://github.com/nfl/react-helmet) is a package that provides a React component interface for you to manage your [document head](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head).
1010

11-
Gatsby's [react helmet plugin](/packages/gatsby-plugin-react-helmet/) provides drop-in support for server rendering data added with React Helmet. Using the plugin, attributes you add to React Helmet will be added to the static HTML pages that Gatsby builds.
11+
Gatsby's [react helmet plugin](/plugins/gatsby-plugin-react-helmet/) provides drop-in support for server rendering data added with React Helmet. Using the plugin, attributes you add to React Helmet will be added to the static HTML pages that Gatsby builds.
1212

1313
## Using `React Helmet` and `gatsby-plugin-react-helmet`
1414

docs/docs/adding-a-shopping-cart-with-snipcart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Combine it with a source of products (like a CMS or an e-commerce platform such
1010

1111
To get started, you'll need to have the following set up:
1212

13-
- A Gatsby site with [`gatsby-plugin-snipcart`](/packages/gatsby-plugin-snipcart/) installed
13+
- A Gatsby site with [`gatsby-plugin-snipcart`](/plugins/gatsby-plugin-snipcart/) installed
1414
- A [Snipcart](https://snipcart.com/) account
1515
- A Snipcart test API key
1616
- A list of products to sell
@@ -186,7 +186,7 @@ The following quote is from the Snipcart [payment gateway page](https://app.snip
186186
## Other resources
187187

188188
- [Build an E-commerce Site with Gatsby, DatoCMS, and Snipcart](/tutorial/e-commerce-with-datocms-and-snipcart/) tutorial
189-
- [`gatsby-plugin-snipcart`](/packages/gatsby-plugin-snipcart/)
189+
- [`gatsby-plugin-snipcart`](/plugins/gatsby-plugin-snipcart/)
190190
- [OneShopper Gatsby starter](/starters/rohitguptab/OneShopper/)
191191
- Reference guide on [sourcing from Etsy](/docs/sourcing-from-etsy/)
192192
- Reference guide on [processing payments with Stripe](/docs/how-to/adding-common-features/processing-payments-with-stripe/)

docs/docs/adding-search-with-algolia.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ The guide will use the following frameworks:
191191

192192
- [React InstantSearch](https://community.algolia.com/react-instantsearch), a component library provided by Algolia for easily building search interfaces.
193193
- [Algolia Search](https://www.npmjs.com/package/algoliasearch) provides the API client for calling Algolia.
194-
- [Styled Components](https://styled-components.com) for embedding the CSS in the code, integrated using the [Gatsby styled component plugin](/packages/gatsby-plugin-styled-components/).
194+
- [Styled Components](https://styled-components.com) for embedding the CSS in the code, integrated using the [Gatsby styled component plugin](/plugins/gatsby-plugin-styled-components/).
195195
- [Styled Icons](https://styled-icons.js.org/) provides the magnifying glass icon for the search bar.
196196

197197
Styled Components can also be replaced by any other CSS solution you prefer.

docs/docs/api-specification.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ Plugins can extend Gatsby in many ways:
2121
- Adding things to the rendered HTML (e.g. meta tags, analytics JS snippets like Google Analytics)
2222
- Writing out things to build directory based on site data (e.g. service worker, sitemap, RSS feed)
2323

24-
A single plugin can use multiple APIs to accomplish its purpose. E.g. the plugin for the CSS-in-JS library [Glamor](/packages/gatsby-plugin-glamor/):
24+
A single plugin can use multiple APIs to accomplish its purpose. E.g. the plugin for the CSS-in-JS library [Glamor](/plugins/gatsby-plugin-glamor/):
2525

2626
1. modifies the webpack config to add its plugin
2727
2. adds a Babel plugin to replace React's default createElement
2828
3. modifies server rendering to extract out the critical CSS for each rendered page and inline the CSS in the `<head>` of that HTML page.
2929

30-
Plugins can also depend on other plugins. [The Sharp plugin](/packages/gatsby-plugin-sharp/) exposes a number of high-level APIs for transforming images that several other Gatsby image plugins depend on. [gatsby-transformer-remark](/packages/gatsby-transformer-remark/) does basic markdown->HTML transformation but exposes an API to allow other plugins to intervene in the conversion process e.g. [gatsby-remark-prismjs](/packages/gatsby-remark-prismjs/) which adds highlighting to code blocks.
30+
Plugins can also depend on other plugins. [The Sharp plugin](/plugins/gatsby-plugin-sharp/) exposes a number of high-level APIs for transforming images that several other Gatsby image plugins depend on. [gatsby-transformer-remark](/plugins/gatsby-transformer-remark/) does basic markdown->HTML transformation but exposes an API to allow other plugins to intervene in the conversion process e.g. [gatsby-remark-prismjs](/plugins/gatsby-remark-prismjs/) which adds highlighting to code blocks.
3131

3232
Transformer plugins are decoupled from source plugins. Transformer plugins look at the media type of new nodes created by source plugins to decide if they can transform it or not. Which means that a markdown transformer plugin can transform markdown from any source without any other configuration e.g. from a file, a code comment, or external service like Trello which supports markdown in some of its data fields.
3333

docs/docs/building-an-e-commerce-site.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Building an E-commerce Site
33
---
44

5-
The speed and performance of sites built with Gatsby make it a great tool for building e-commerce sites. There are existing plugins for connecting services like [Shopify](/packages/gatsby-source-shopify/) and [Snipcart](/packages/gatsby-plugin-snipcart/) to Gatsby, and this section contains reference guides to help get things setup.
5+
The speed and performance of sites built with Gatsby make it a great tool for building e-commerce sites. There are existing plugins for connecting services like [Shopify](/plugins/gatsby-source-shopify/) and [Snipcart](/plugins/gatsby-plugin-snipcart/) to Gatsby, and this section contains reference guides to help get things setup.
66

77
To see examples of e-commerce sites built with Gatsby, check out the [showcase](/showcase/?filters%5B0%5D=E-commerce).
88

0 commit comments

Comments
 (0)