Skip to content

Commit

Permalink
fix(docs): dead links to sharp documentation, need to point to new ho…
Browse files Browse the repository at this point in the history
…st (#16687)
  • Loading branch information
Andy Gock authored and GatsbyJS Bot committed Aug 16, 2019
1 parent d055527 commit 7c096e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions examples/image-processing/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class Index extends React.Component {
{` `}
exposes Sharp
{`'`}s{` `}
<a href="http://sharp.dimens.io/en/stable/api-operation/#rotate">
<a href="http://sharp.pixelplumbing.com/en/stable/api-operation/#rotate">
<code>rotate</code>
</a>
{` `}.
Expand Down Expand Up @@ -114,7 +114,7 @@ class Index extends React.Component {
>
We also expose all of Sharp
{`'`}s{` `}
<a href="http://sharp.dimens.io/en/stable/api-resize/#crop">
<a href="http://sharp.pixelplumbing.com/en/stable/api-resize/#crop">
<code>crop</code>
</a>
{` `}
Expand Down Expand Up @@ -327,7 +327,7 @@ class Index extends React.Component {
{` `}
uses Sharp
{`'`}s{` `}
<a href="http://sharp.dimens.io/en/stable/api-colour/#greyscale">
<a href="http://sharp.pixelplumbing.com/en/stable/api-colour/#greyscale">
<code>greyscale</code>
</a>
{` `}
Expand Down
10 changes: 5 additions & 5 deletions packages/gatsby-plugin-sharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ will be [flattened][15] before creating the composite.

This works by adding an alpha channel to the duotone'd image - then we let Sharp
do its magic via
[`overlayWith`](http://sharp.dimens.io/en/stable/api-composite/#overlaywith);
[`overlayWith`](http://sharp.pixelplumbing.com/en/stable/api-composite/#overlaywith);
quoting the Sharp documentation:

> If the overlay image contains an alpha channel then composition with
Expand Down Expand Up @@ -335,16 +335,16 @@ If updating these doesn't fix the issue, your project probably uses other plugin
[3]: https://ines.io/blog/dynamic-duotone-svg-jade
[4]: https://en.wikipedia.org/wiki/Relative_luminance
[5]: https://github.com/nagelflorian/react-duotone
[6]: http://sharp.dimens.io/en/stable/api-resize/#crop
[7]: http://sharp.dimens.io/en/stable/api-operation/#rotate
[8]: http://sharp.dimens.io/en/stable/api-colour/#greyscale
[6]: http://sharp.pixelplumbing.com/en/stable/api-resize/#crop
[7]: http://sharp.pixelplumbing.com/en/stable/api-operation/#rotate
[8]: http://sharp.pixelplumbing.com/en/stable/api-colour/#greyscale
[9]: https://github.com/gatsbyjs/gatsby/issues/2435
[10]: https://codepen.io/tigt/post/optimizing-svgs-in-data-uris
[11]: https://github.com/tooolbox/node-potrace
[12]: https://github.com/svg/svgo
[13]: https://github.com/tooolbox/node-potrace#parameters
[14]: https://github.com/oliver-moran/jimp
[15]: http://sharp.dimens.io/en/stable/api-operation/#flatten
[15]: http://sharp.pixelplumbing.com/en/stable/api-operation/#flatten
[16]: https://github.com/mozilla/mozjpeg
[17]: https://www.sno.phy.queensu.ca/~phil/exiftool/
[18]: https://www.npmjs.com/package/color

0 comments on commit 7c096e7

Please sign in to comment.