Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

fix(docs): the CompositeBatch entry of the component reference quotes its apostrophe, which stopped the site building

yhhc2b1e565fee1
diff --git a/docs/astro/src/data/componentDocs.ts b/docs/astro/src/data/componentDocs.ts
index f9c3e521f..694c9e4ab 100644
--- a/docs/astro/src/data/componentDocs.ts
+++ b/docs/astro/src/data/componentDocs.ts
@@ -101,7 +101,7 @@ export const COMPONENT_DOCS: Record<string, ComponentDoc> = {
SpriteMask: { category: 'graphics', summary: "Turns this entity's Sprite into a stencil that cuts the sprites drawn after it — a window, or a hole.", doc: 'graphics/sprites', anchor: 'sprite-masks', anchorZh: '精灵遮罩' },
SortingGroup: { category: 'graphics', summary: 'Makes an entity and its whole subtree sort as one unit — the group states the layer and order, members state their place inside it.', doc: 'graphics/sprites', anchor: 'sorting-groups', anchorZh: '排序组' },
GroupOpacity: { category: 'graphics', summary: 'Fades an entity and everything under it; the opacities multiply down the hierarchy into each descendant\'s own alpha.', doc: 'graphics/sprites', anchor: 'fading-a-whole-group', anchorZh: '整组淡出' },
- CompositeBatch: { category: 'graphics', summary: 'Marks the root of a model built from many parts that moves as a whole, so its parts are drawn in a few draws that follow the root: repeated meshes as instanced sets, the rest merged in chunks of the root's space.', doc: 'performance/static-batching', anchor: 'a-model-that-moves-compositebatch', anchorZh: '会移动的组合模型compositebatch' },
+ CompositeBatch: { category: 'graphics', summary: 'Marks the root of a model built from many parts that moves as a whole, so its parts are drawn in a few draws that follow the root: repeated meshes as instanced sets, the rest merged in chunks of the root\'s space.', doc: 'performance/static-batching', anchor: 'a-model-that-moves-compositebatch', anchorZh: '会移动的组合模型compositebatch' },
StaticBatch: { category: 'graphics', summary: 'Marks a mesh that will not move, so the meshes sharing its material are merged into one draw while the game runs; it also records what became of this one.', doc: 'performance/static-batching', anchor: 'what-happens', anchorZh: '会发生什么' },
Terrain: { category: 'graphics', summary: 'Ground made from a heightmap or noise, painted by height and slope, and drawn in chunks that coarsen with distance.', doc: 'graphics/terrain', anchor: 'the-component', anchorZh: '组件' },
Planet: { category: 'graphics', summary: 'Ground on a sphere, drawn as six quadtrees round the eye from a generator the game registers, finest underfoot and a handful of coarse nodes from space.', doc: 'graphics/terrain', anchor: 'a-planet', anchorZh: '星球' },
diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjs
index ce3fc4e59..b03269c95 100644
--- a/tools/releaseNotes.mjs
+++ b/tools/releaseNotes.mjs
@@ -4100,4 +4100,6 @@ export const NOTED = {
{"note": "A saved scene reaches a device preview on Linux."},
"fix(project): asset registry updates run one after another, so a prefab made a moment before is in list_assets":
{"note": "A prefab made over MCP is in `list_assets` at once."},
+ "fix(docs): the CompositeBatch entry of the component reference quotes its apostrophe, which stopped the site building":
+ {"internal": "The docs site did not build, so v0.99.0 was not deployed to it; no package changes."},
};