Skip to content

Commit 18ba724

Browse files
docs: deprecate "category" in favor of "categories" list
MANIFEST.JSON example now uses "categories" array. Note added: single-string "category" still supported but deprecated.
1 parent bfc70bc commit 18ba724

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

docs/apps/creating-apps.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ In `MANIFEST.JSON`, put:
5151
"long_description": "Demonstrates the simplest app.",
5252
"fullname": "com.micropythonos.helloworld",
5353
"version": "0.0.2",
54-
"category": "development",
54+
"categories": ["Development"],
5555
"activities": [
5656
{
5757
"entrypoint": "hello.py",
@@ -67,6 +67,10 @@ In `MANIFEST.JSON`, put:
6767
}
6868
```
6969

70+
Use `"categories"` (always a list, even for a single category). Each category string is normalized to title case automatically.
71+
72+
The deprecated single-string `"category"` field is still supported but may be removed in a future release. Apps should migrate to `"categories"`.
73+
7074
### Services
7175

7276
Apps can also declare **services** — background components that run at boot time with no user interface. Services are defined in the `"services"` array of the manifest:

0 commit comments

Comments
 (0)