Skip to content

Commit 4e4c199

Browse files
committed
Merge pull request godotengine#80066 from timothyqiu/no-pun-intended
Avoid punning `[param enabled]` in documentation
2 parents d57d2db + b78abfb commit 4e4c199

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

doc/classes/NavigationServer2D.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<param index="0" name="agent" type="RID" />
6767
<param index="1" name="enabled" type="bool" />
6868
<description>
69-
If [param enabled] is [code]true[/code] the specified [param agent] uses avoidance.
69+
If [param enabled] is [code]true[/code], the specified [param agent] uses avoidance.
7070
</description>
7171
</method>
7272
<method name="agent_set_avoidance_layers">
@@ -283,7 +283,7 @@
283283
<param index="0" name="link" type="RID" />
284284
<param index="1" name="enabled" type="bool" />
285285
<description>
286-
If [param enabled] is [code]true[/code] the specified [param link] will contribute to its current navigation map.
286+
If [param enabled] is [code]true[/code], the specified [param link] will contribute to its current navigation map.
287287
</description>
288288
</method>
289289
<method name="link_set_end_position">
@@ -485,7 +485,7 @@
485485
<param index="0" name="map" type="RID" />
486486
<param index="1" name="enabled" type="bool" />
487487
<description>
488-
Set the navigation [param map] edge connection use. If [param enabled] the navigation map allows navigation regions to use edge connections to connect with other navigation regions within proximity of the navigation map edge connection margin.
488+
Set the navigation [param map] edge connection use. If [param enabled] is [code]true[/code], the navigation map allows navigation regions to use edge connections to connect with other navigation regions within proximity of the navigation map edge connection margin.
489489
</description>
490490
</method>
491491
<method name="obstacle_create">
@@ -520,7 +520,7 @@
520520
<param index="0" name="obstacle" type="RID" />
521521
<param index="1" name="enabled" type="bool" />
522522
<description>
523-
If [param enabled] the provided [param obstacle] affects avoidance using agents.
523+
If [param enabled] is [code]true[/code], the provided [param obstacle] affects avoidance using agents.
524524
</description>
525525
</method>
526526
<method name="obstacle_set_avoidance_layers">
@@ -744,7 +744,7 @@
744744
<param index="0" name="region" type="RID" />
745745
<param index="1" name="enabled" type="bool" />
746746
<description>
747-
If [param enabled] the navigation [param region] will use edge connections to connect with other navigation regions within proximity of the navigation map edge connection margin.
747+
If [param enabled] is [code]true[/code], the navigation [param region] will use edge connections to connect with other navigation regions within proximity of the navigation map edge connection margin.
748748
</description>
749749
</method>
750750
<method name="set_debug_enabled">

doc/classes/NavigationServer3D.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
<param index="0" name="agent" type="RID" />
7474
<param index="1" name="enabled" type="bool" />
7575
<description>
76-
If [param enabled] the provided [param agent] calculates avoidance.
76+
If [param enabled] is [code]true[/code], the provided [param agent] calculates avoidance.
7777
</description>
7878
</method>
7979
<method name="agent_set_avoidance_layers">
@@ -324,7 +324,7 @@
324324
<param index="0" name="link" type="RID" />
325325
<param index="1" name="enabled" type="bool" />
326326
<description>
327-
If [param enabled] is [code]true[/code] the specified [param link] will contribute to its current navigation map.
327+
If [param enabled] is [code]true[/code], the specified [param link] will contribute to its current navigation map.
328328
</description>
329329
</method>
330330
<method name="link_set_end_position">
@@ -574,7 +574,7 @@
574574
<param index="0" name="map" type="RID" />
575575
<param index="1" name="enabled" type="bool" />
576576
<description>
577-
Set the navigation [param map] edge connection use. If [param enabled] the navigation map allows navigation regions to use edge connections to connect with other navigation regions within proximity of the navigation map edge connection margin.
577+
Set the navigation [param map] edge connection use. If [param enabled] is [code]true[/code], the navigation map allows navigation regions to use edge connections to connect with other navigation regions within proximity of the navigation map edge connection margin.
578578
</description>
579579
</method>
580580
<method name="obstacle_create">
@@ -616,7 +616,7 @@
616616
<param index="0" name="obstacle" type="RID" />
617617
<param index="1" name="enabled" type="bool" />
618618
<description>
619-
If [param enabled] the provided [param obstacle] affects avoidance using agents.
619+
If [param enabled] is [code]true[/code], the provided [param obstacle] affects avoidance using agents.
620620
</description>
621621
</method>
622622
<method name="obstacle_set_avoidance_layers">
@@ -813,7 +813,7 @@
813813
<param index="0" name="region" type="RID" />
814814
<param index="1" name="enabled" type="bool" />
815815
<description>
816-
If [param enabled] is [code]true[/code] the specified [param region] will contribute to its current navigation map.
816+
If [param enabled] is [code]true[/code], the specified [param region] will contribute to its current navigation map.
817817
</description>
818818
</method>
819819
<method name="region_set_enter_cost">
@@ -877,7 +877,7 @@
877877
<param index="0" name="region" type="RID" />
878878
<param index="1" name="enabled" type="bool" />
879879
<description>
880-
If [param enabled] the navigation [param region] will use edge connections to connect with other navigation regions within proximity of the navigation map edge connection margin.
880+
If [param enabled] is [code]true[/code], the navigation [param region] will use edge connections to connect with other navigation regions within proximity of the navigation map edge connection margin.
881881
</description>
882882
</method>
883883
<method name="set_active">

0 commit comments

Comments
 (0)