Validate code tags for class and member references
This commit also adds means to manually disable warnings in `code` tags where it's a false positive with the new `skip-lint` attribute. Warnings are now enabled on CI to prevent future errors.
This commit is contained in:
@ -22,7 +22,7 @@
|
||||
AddChild(scene);
|
||||
[/csharp]
|
||||
[/codeblocks]
|
||||
[b]Example of saving a node with different owners:[/b] The following example creates 3 objects: [Node2D] ([code]node[/code]), [RigidBody2D] ([code]body[/code]) and [CollisionObject2D] ([code]collision[/code]). [code]collision[/code] is a child of [code]body[/code] which is a child of [code]node[/code]. Only [code]body[/code] is owned by [code]node[/code] and [code]pack[/code] will therefore only save those two nodes, but not [code]collision[/code].
|
||||
[b]Example of saving a node with different owners:[/b] The following example creates 3 objects: [Node2D] ([code]node[/code]), [RigidBody2D] ([code]body[/code]) and [CollisionObject2D] ([code]collision[/code]). [code]collision[/code] is a child of [code]body[/code] which is a child of [code]node[/code]. Only [code]body[/code] is owned by [code]node[/code] and [method pack] will therefore only save those two nodes, but not [code]collision[/code].
|
||||
[codeblocks]
|
||||
[gdscript]
|
||||
# Create the objects.
|
||||
@ -85,7 +85,7 @@
|
||||
<method name="get_state" qualifiers="const">
|
||||
<return type="SceneState" />
|
||||
<description>
|
||||
Returns the [code]SceneState[/code] representing the scene file contents.
|
||||
Returns the [SceneState] representing the scene file contents.
|
||||
</description>
|
||||
</method>
|
||||
<method name="instantiate" qualifiers="const">
|
||||
|
||||
Reference in New Issue
Block a user