You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/gatsby-plugin-manifest/README.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# gatsby-plugin-manifest
2
2
3
3
The web app manifest (part of the [PWA](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps) specification) enabled by this plugin allows users to add your site to their home screen on most mobile browsers —
4
-
[see here](http://caniuse.com/#feat=web-app-manifest). The manifest provides configuration and icons to the phone.
4
+
[see here](https://caniuse.com/web-app-manifest). The manifest provides configuration and icons to the phone.
5
5
6
6
This plugin provides several features beyond manifest configuration to make your life easier, they are:
7
7
@@ -44,11 +44,11 @@ module.exports = {
44
44
}
45
45
```
46
46
47
-
If you're using this plugin together with [`gatsby-plugin-offline`](https://www.gatsbyjs.org/packages/gatsby-plugin-offline) (recommended),
47
+
If you're using this plugin together with [`gatsby-plugin-offline`](https://www.gatsbyjs.com/plugins/gatsby-plugin-offline/) (recommended),
48
48
this plugin should be listed _before_ the offline plugin so that it can cache
49
49
the created `manifest.webmanifest`.
50
50
51
-
For more information on configuring your web app [see here](https://developers.google.com/web/fundamentals/web-app-manifest/).
51
+
For more information on configuring your web app [see here](https://web.dev/add-manifest/).
52
52
53
53
### Configure icons and their generations - **Required**
54
54
@@ -134,7 +134,7 @@ icons: [
134
134
], // Add or remove icon sizes as desired
135
135
```
136
136
137
-
In the manual mode, you are responsible for defining the entire web app manifest and providing the defined icons in the [static](https://www.gatsbyjs.org/docs/static-folder/) folder. Only icons you provide will be available. There is no automatic resizing done for you.
137
+
In the manual mode, you are responsible for defining the entire web app manifest and providing the defined icons in the [static](https://www.gatsbyjs.com/docs/how-to/images-and-media/static-folder/) folder. Only icons you provide will be available. There is no automatic resizing done for you.
138
138
139
139
### Feature configuration - **Optional**
140
140
@@ -144,7 +144,7 @@ Localization allows you to create unique manifests for each localized version of
144
144
145
145
The default site language should be configured in your root plugin options. Any additional languages should be defined in the `localize` array. The root settings will be used as defaults if not overridden in a locale. Any configuration option available in the root is also available in the `localize` array.
146
146
147
-
`lang` and `start_url` are the only _required_ options in the array objects. `name`, `short_name`, and `description` are [recommended](https://www.w3.org/TR/appmanifest/#dfn-directionality-capable-members) to be translated if being used in the default language. All other config options are optional. This is helpful if you want to provide unique icons for each locale.
147
+
`lang` and `start_url` are the only _required_ options in the array objects. `name`, `short_name`, and `description` are [recommended](https://www.w3.org/TR/appmanifest/#dir-member) to be translated if being used in the default language. All other config options are optional. This is helpful if you want to provide unique icons for each locale.
148
148
149
149
The [`lang` option](https://www.w3.org/TR/appmanifest/#lang-member) is part of the web app manifest specification and thus is required to be a [valid language tag](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry).
150
150
@@ -358,7 +358,7 @@ Add a `crossorigin` attribute to the manifest `<link rel="manifest" crossorigin=
358
358
359
359
You can set `crossOrigin` plugin option to `'use-credentials'` to enable sharing resources via cookies. Any invalid keyword or empty string will fallback to `'anonymous'`.
360
360
361
-
You can find more information about `crossorigin` on [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes).
361
+
You can find more information about `crossorigin` on [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin).
0 commit comments