Skip to content

Commit 7c096e7

Browse files
Andy GockGatsbyJS Bot
Andy Gock
authored and
GatsbyJS Bot
committed
fix(docs): dead links to sharp documentation, need to point to new host (#16687)
1 parent d055527 commit 7c096e7

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

examples/image-processing/src/pages/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class Index extends React.Component {
8585
{` `}
8686
exposes Sharp
8787
{`'`}s{` `}
88-
<a href="http://sharp.dimens.io/en/stable/api-operation/#rotate">
88+
<a href="http://sharp.pixelplumbing.com/en/stable/api-operation/#rotate">
8989
<code>rotate</code>
9090
</a>
9191
{` `}.
@@ -114,7 +114,7 @@ class Index extends React.Component {
114114
>
115115
We also expose all of Sharp
116116
{`'`}s{` `}
117-
<a href="http://sharp.dimens.io/en/stable/api-resize/#crop">
117+
<a href="http://sharp.pixelplumbing.com/en/stable/api-resize/#crop">
118118
<code>crop</code>
119119
</a>
120120
{` `}
@@ -327,7 +327,7 @@ class Index extends React.Component {
327327
{` `}
328328
uses Sharp
329329
{`'`}s{` `}
330-
<a href="http://sharp.dimens.io/en/stable/api-colour/#greyscale">
330+
<a href="http://sharp.pixelplumbing.com/en/stable/api-colour/#greyscale">
331331
<code>greyscale</code>
332332
</a>
333333
{` `}

packages/gatsby-plugin-sharp/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ will be [flattened][15] before creating the composite.
215215

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

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

0 commit comments

Comments
 (0)