Skip to content

Commit 05ace87

Browse files
committed
docs: fix all mdn urls by specifying en-US
1 parent 9d9afa3 commit 05ace87

Some content is hidden

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

42 files changed

+95
-95
lines changed

docs/02-usage/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ We officially support four interfaces for SVGO:
77
- Command-line application - Get help with `svgo --help`, or read a [tl;dr](https://github.com/tldr-pages/tldr/blob/main/pages/common/svgo.md)!
88
- [Node.js library](./01-node.mdx) - For general use in Node.js.
99
- [Browser bundle](./02-browser.mdx) - For using SVGO on client-side in the browser.
10-
- [Webpack loader](https://www.npmjs.com/package/svgo-loader) - Optimizes SVG imports with SVGO and returns a [Data URL](https://developer.mozilla.org/docs/web/http/basics_of_http/data_urls).
10+
- [Webpack loader](https://www.npmjs.com/package/svgo-loader) - Optimizes SVG imports with SVGO and returns a [Data URL](https://developer.mozilla.org/en-US/docs/Web/URI/Reference/Schemes/data).
1111

1212
## Community
1313

docs/04-plugins/addAttributesToSVGElement.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ svgo:
99
attribute:
1010
---
1111

12-
Adds attributes to the outer most [`<svg>`](https://developer.mozilla.org/docs/Web/SVG/Element/svg) element in the document. This is not an optimization and will increase the size of SVG documents.
12+
Adds attributes to the outer most [`<svg>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg) element in the document. This is not an optimization and will increase the size of SVG documents.
1313

1414
:::danger
1515

docs/04-plugins/cleanupEnableBackground.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ svgo:
55
defaultPlugin: true
66
---
77

8-
Cleans up [`enable-background`](https://developer.mozilla.org/docs/Web/SVG/Attribute/enable-background), unless the document uses [`<filter>`](https://developer.mozilla.org/docs/Web/SVG/Element/filter) elements.
8+
Cleans up [`enable-background`](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/enable-background), unless the document uses [`<filter>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/filter) elements.
99

10-
Only cleans up attribute values and inline-styles, but does not affect stylesheets in [`<style>`](https://developer.mozilla.org/docs/Web/SVG/Element/style) nodes.
10+
Only cleans up attribute values and inline-styles, but does not affect stylesheets in [`<style>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/style) nodes.
1111

1212
This plugin will:
1313

docs/04-plugins/cleanupListOfValues.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ svgo:
1717
default: true
1818
---
1919

20-
Rounds numeric values in attributes, such as those found in [`viewBox`](https://developer.mozilla.org/docs/Web/SVG/Attribute/viewBox), [`enable-background`](https://developer.mozilla.org/docs/Web/SVG/Attribute/enable-background), and [`points`](https://developer.mozilla.org/docs/Web/SVG/Attribute/points).
20+
Rounds numeric values in attributes, such as those found in [`viewBox`](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewBox), [`enable-background`](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/enable-background), and [`points`](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/points).

docs/04-plugins/collapseGroups.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ svgo:
77

88
Finds groups that effectively do nothing and flattens them, preserving the contents of the groups.
99

10-
Groups can be formed using the [`<g>`](https://developer.mozilla.org/docs/Web/SVG/Element/g) element. They're used for organizing the document, or applying [presentation attributes](https://developer.mozilla.org/docs/Web/SVG/Attribute/Presentation) to all children contained in a group.
10+
Groups can be formed using the [`<g>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/g) element. They're used for organizing the document, or applying [presentation attributes](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/Presentation) to all children contained in a group.
1111

1212
:::info
1313

docs/04-plugins/convertColors.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ svgo:
55
defaultPlugin: true
66
parameters:
77
currentColor:
8-
description: If to convert all instances of a color to `currentColor`. This means to inherit the active foreground color, for example in HTML5 this would be the [`color`](https://developer.mozilla.org/docs/Web/CSS/color) property in CSS.
8+
description: If to convert all instances of a color to `currentColor`. This means to inherit the active foreground color, for example in HTML5 this would be the [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color) property in CSS.
99
default: false
1010
names2hex:
1111
description: If to convert color names to the hex equivalent.

docs/04-plugins/convertEllipseToCircle.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ svgo:
55
defaultPlugin: true
66
---
77

8-
Convert non-eccentric [`<ellipse>`](https://developer.mozilla.org/docs/Web/SVG/Element/ellipse) elements to [`<circle>`](https://developer.mozilla.org/docs/Web/SVG/Element/circle) elements.
8+
Convert non-eccentric [`<ellipse>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/ellipse) elements to [`<circle>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/circle) elements.

docs/04-plugins/convertOneStopGradients.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ svgo:
44
pluginId: convertOneStopGradients
55
---
66

7-
Converts the [`<linearGradient>`](https://developer.mozilla.org/docs/Web/SVG/Element/linearGradient) and [`<radialGradient>`](https://developer.mozilla.org/docs/Web/SVG/Element/radialGradient) nodes that are effectively a solid color to the color.
7+
Converts the [`<linearGradient>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/linearGradient) and [`<radialGradient>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/radialGradient) nodes that are effectively a solid color to the color.
88

9-
These nodes contain [`<stop>`](https://developer.mozilla.org/docs/Web/SVG/Element/stop) elements, which represent various colors to transition between. However, if a gradient only contains a single `<stop>`, then it's effectively a solid fill.
9+
These nodes contain [`<stop>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/stop) elements, which represent various colors to transition between. However, if a gradient only contains a single `<stop>`, then it's effectively a solid fill.
1010

11-
Definitions of the gradients are removed, and the parent [`<defs>`](https://developer.mozilla.org/docs/Web/SVG/Element/defs) node is removed if it has no children after optimization. The `xlink:href` namespace is also removed if there are no remaining elements using this attribute.
11+
Definitions of the gradients are removed, and the parent [`<defs>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/defs) node is removed if it has no children after optimization. The `xlink:href` namespace is also removed if there are no remaining elements using this attribute.

docs/04-plugins/convertPathData.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Optimize path commands found in `<path>`, `<glyph>`, and `<missing-glyph>` eleme
5656

5757
:::info
5858

59-
You can get more context on path commands on [MDN Web Docs](https://developer.mozilla.org/docs/Web/SVG/Attribute/d#path_commands).
59+
You can get more context on path commands on [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/d#path_commands).
6060

6161
:::
6262

docs/04-plugins/convertShapeToPath.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ svgo:
1212
default: null
1313
---
1414

15-
Convert basic shapes to [`<path>`](https://developer.mozilla.org/docs/Web/SVG/Element/path) elements.
15+
Convert basic shapes to [`<path>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/path) elements.

0 commit comments

Comments
 (0)