Skip to content

Commit 75175a3

Browse files
update Open Source Docs from Roblox internal teams
1 parent 4f8aa54 commit 75175a3

File tree

4 files changed

+13
-34
lines changed

4 files changed

+13
-34
lines changed

content/en-us/production/creator-store.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ In addition, the Creator Store **restricts** use of the following practices to e
2222
- **Obscuring engine features within scripts**, including LuaVMs, `Global.LuaGlobals.getfenv()`, and `Global.LuaGlobals.setfenv()`.
2323
- **Requiring remote assets,** including `Global.RobloxGlobals.require(assetId)`, `Global.LuaGlobals.loadstring()`, `Class.InsertService:LoadAsset()`, and `Class.ModuleScript.LinkedSource`. Assets that may look useful on the surface could load another "virus" asset at runtime.
2424
- **Including obfuscated code**. For publicly-shared assets, it's important for creators to understand what they are putting into their experiences. If code is obfuscated, creators cannot trust that the script is only doing what it should be doing.
25+
- **Extremely large scripts**. Assets with unnecessarily large scripts, including multiple repeat lines or large strings that are unused, especially if they cause rendering issues in editors.
2526

2627
<Alert severity="info">
2728
These policies only apply to assets on the Creator Store, **not** private models or scripts inside experiences.

content/en-us/reference/engine/classes/EncodingService.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,9 @@ methods:
122122
#### Do not use this for passwords
123123
124124
None of these hashes are password hashing algorithms. They were designed
125-
to be fast to execute,
126-
127-
- [ ] whereas password hashing should never be fast. You should not use
128-
this function for computing password hashes that will be stored or
129-
used to derive keys from passwords.
125+
to be fast to execute, whereas password hashing should never be fast. You
126+
shouldn't use this function for computing password hashes that will be
127+
stored or used to derive keys from passwords.
130128
code_samples: []
131129
parameters:
132130
- name: input
@@ -163,7 +161,7 @@ methods:
163161
164162
None of these hashes are password hashing algorithms. They were designed
165163
to be fast to execute, whereas password hashing should never be fast. You
166-
should not use this function for computing password hashes that will be
164+
shouldn't use this function for computing password hashes that will be
167165
stored or used to derive keys from passwords.
168166
code_samples: []
169167
parameters:

content/en-us/tutorials/curriculums/building/work-with-parts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ To insert a part for your first platform:
5454

5555
1. In the **Home** or **Model** tab's toolbar, click-hold the small arrow in the lower‑right corner of the **Part** inserter tool to reveal the part type dropdown (do not simply click the button since a basic click inserts a part without opening the picker menu).
5656

57-
<img src="../../../assets/tutorials/building-lesson/Part-Picker.png" alt="A close-up view of the part picker." width="800" />
57+
<img src="../../../assets/tutorials/building-lesson/part-picker.png" alt="A close-up view of the part picker." width="800" />
5858

5959
1. From the dropdown menu, select the part shape you want for your first platform. The part displays at the exact center of your camera view.
6060

tools/schemas/engine/classes.json

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
},
1111
"type": {
1212
"description": "the type of the API (class, datatype, enum, global, library). Automated.",
13-
"enum": [
14-
"class"
15-
]
13+
"enum": ["class"]
1614
},
1715
"memory_category": {
1816
"description": "Defines where the class appears in the Memory tab of the Developer Console. Automated.",
@@ -103,10 +101,7 @@
103101
"$ref": "#/definitions/__schema1"
104102
}
105103
},
106-
"required": [
107-
"read",
108-
"write"
109-
]
104+
"required": ["read", "write"]
110105
},
111106
"thread_safety": {
112107
"$ref": "#/definitions/__schema2"
@@ -128,10 +123,7 @@
128123
"type": "boolean"
129124
}
130125
},
131-
"required": [
132-
"can_load",
133-
"can_save"
134-
]
126+
"required": ["can_load", "can_save"]
135127
},
136128
"capabilities": {
137129
"$ref": "#/definitions/__schema3"
@@ -407,12 +399,7 @@
407399
"__schema2": {
408400
"$id": "thread_safety",
409401
"description": "Thread safety of this item. Enum. Automated.",
410-
"enum": [
411-
"Unsafe",
412-
"ReadSafe",
413-
"Safe",
414-
"ReadOnly"
415-
]
402+
"enum": ["Unsafe", "ReadSafe", "Safe", "ReadOnly"]
416403
},
417404
"__schema3": {
418405
"$id": "capabilities",
@@ -459,11 +446,7 @@
459446
"type": "string"
460447
}
461448
},
462-
"required": [
463-
"name",
464-
"type",
465-
"summary"
466-
]
449+
"required": ["name", "type", "summary"]
467450
}
468451
},
469452
"__schema5": {
@@ -482,11 +465,8 @@
482465
"type": "string"
483466
}
484467
},
485-
"required": [
486-
"type",
487-
"summary"
488-
]
468+
"required": ["type", "summary"]
489469
}
490470
}
491471
}
492-
}
472+
}

0 commit comments

Comments
 (0)