Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add page-type for Web/Manifest #27621

Merged
merged 1 commit into from
Jun 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions files/en-us/web/manifest/background_color/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: background_color
slug: Web/Manifest/background_color
page-type: web-manifest-member
status:
- experimental
browser-compat: html.manifest.background_color
Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/manifest/categories/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: categories
slug: Web/Manifest/categories
page-type: web-manifest-member
status:
- experimental
browser-compat: html.manifest.categories
Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/manifest/description/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: description
slug: Web/Manifest/description
page-type: web-manifest-member
browser-compat: html.manifest.description
---

Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/manifest/display/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: display
slug: Web/Manifest/display
page-type: web-manifest-member
browser-compat: html.manifest.display
---

Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/manifest/display_override/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: display_override
slug: Web/Manifest/display_override
page-type: web-manifest-member
status:
- experimental
browser-compat: html.manifest.display_override
Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/manifest/file_handlers/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: file_handlers
slug: Web/Manifest/file_handlers
page-type: web-manifest-member
status:
- experimental
browser-compat: html.manifest.file_handlers
Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/manifest/icons/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: icons
slug: Web/Manifest/icons
page-type: web-manifest-member
browser-compat: html.manifest.icons
---

Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/manifest/id/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: id
slug: Web/Manifest/id
page-type: web-manifest-member
browser-compat: html.manifest.id
---

Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/manifest/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Web app manifests
slug: Web/Manifest
page-type: landing-page
browser-compat: html.manifest
---

Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/manifest/launch_handler/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: launch_handler
slug: Web/Manifest/launch_handler
page-type: web-manifest-member
status:
- experimental
browser-compat: html.manifest.launch_handler
Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/manifest/name/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: name
slug: Web/Manifest/name
page-type: web-manifest-member
browser-compat: html.manifest.name
---

Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/manifest/orientation/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: orientation
slug: Web/Manifest/orientation
page-type: web-manifest-member
status:
- experimental
browser-compat: html.manifest.orientation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: prefer_related_applications
slug: Web/Manifest/prefer_related_applications
page-type: web-manifest-member
status:
- experimental
browser-compat: html.manifest.prefer_related_applications
Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/manifest/protocol_handlers/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: protocol_handlers
slug: Web/Manifest/protocol_handlers
page-type: web-manifest-member
status:
- experimental
browser-compat: html.manifest.protocol_handlers
Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/manifest/related_applications/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: related_applications
slug: Web/Manifest/related_applications
page-type: web-manifest-member
status:
- experimental
browser-compat: html.manifest.related_applications
Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/manifest/scope/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: scope
slug: Web/Manifest/scope
page-type: web-manifest-member
browser-compat: html.manifest.scope
---

Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/manifest/screenshots/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: screenshots
slug: Web/Manifest/screenshots
page-type: web-manifest-member
status:
- experimental
browser-compat: html.manifest.screenshots
Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/manifest/serviceworker/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: serviceworker
slug: Web/Manifest/serviceworker
page-type: web-manifest-member
status:
- experimental
- non-standard
Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/manifest/share_target/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: share_target
slug: Web/Manifest/share_target
page-type: web-manifest-member
status:
- experimental
browser-compat: html.manifest.share_target
Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/manifest/short_name/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: short_name
slug: Web/Manifest/short_name
page-type: web-manifest-member
browser-compat: html.manifest.short_name
---

Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/manifest/shortcuts/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: shortcuts
slug: Web/Manifest/shortcuts
page-type: web-manifest-member
status:
- experimental
browser-compat: html.manifest.shortcuts
Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/manifest/start_url/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: start_url
slug: Web/Manifest/start_url
page-type: web-manifest-member
browser-compat: html.manifest.start_url
---

Expand Down
1 change: 1 addition & 0 deletions files/en-us/web/manifest/theme_color/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: theme_color
slug: Web/Manifest/theme_color
page-type: web-manifest-member
browser-compat: html.manifest.theme_color
---

Expand Down
15 changes: 15 additions & 0 deletions front-matter-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,21 @@
},
"else": false
},
{
"if": {
"properties": {
"slug": { "type": "string", "pattern": "^Web/Manifest/" }
}
},
"then": {
"properties": {
"page-type": {
"enum": ["guide", "landing-page", "web-manifest-member"]
}
}
},
"else": false
},
{
"if": {
"properties": {
Expand Down