Commit Graph

478 Commits

Author SHA1 Message Date
oujionghong
c925bcd76f Fixing guide example on 2 indent levels for continuation lines
The original example seems to be using 3 tabs for indentation, but the description said 2 should be used.
2023-11-17 10:16:32 +08:00
Max Hilbrunner
31063027c8 Merge pull request #7579 from dalexeev/gds-setter-getter-doc
GDScript: Clarify setter/getter documentation
2023-11-11 02:26:01 +01:00
Max Hilbrunner
85fc55a922 Merge pull request #8250 from rarysson/update-warning-system
Update GDScript warning system to use `@warning_ignore`
2023-11-10 22:33:44 +01:00
Max Hilbrunner
9e6534f539 Merge pull request #8440 from tetrapod00/patch-2
c_sharp_exports.rst: use uint for layers; update casing to C# convention
2023-11-10 22:25:40 +01:00
Yuri Sizov
cd92be066d Update references to private class methods across the docs 2023-11-10 16:06:36 +01:00
Rarysson Guilherme
49133c0e5c Update GDScript warning system to use @warning_ignore 2023-11-10 11:33:27 -03:00
tetrapod
5e16b58e79 Use uint for layers in c_sharp_exports.rst 2023-11-09 13:38:08 -08:00
Michael Gundlach
042c415e25 Correct the description of "tree order" (#8294)
* Update scene_tree.rst

Correct the description of "tree order".

The discussion conflated _ready()'s unusual traversal order (post-order traversal) with the usual "tree order" (preorder traversal) for most operations.  It seemed to imply that _ready and most other notifications were received in identical orders.

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-11-09 15:48:53 +01:00
Max Hilbrunner
8541b60e08 Merge pull request #8429 from ToasterBiome/patch-2
Clarifies that Lua-style dictionary keys must be string literals in the GD Reference
2023-11-09 12:35:06 +01:00
Steven Le Boëdec
12de91fe08 Improve grammar in Overridable functions (#8193) 2023-11-09 11:43:22 +01:00
hdubbs
d6da7be302 Fix vector value in bullet example in Instancing with signals (#8203) 2023-11-09 11:26:28 +01:00
Byemoh
46c743ae37 Update gdscript_basics.rst 2023-11-08 18:44:05 -06:00
Matthew
d2c5133674 Merge pull request #8136 from Hex-4/fix-scripting-advanced-settings
fix #8076, update image and remove note in GDScript warning system docs
2023-11-08 18:30:14 -05:00
Max Hilbrunner
353fa84c9f Merge pull request #8409 from Calinou/improve-gdextension-docs
Improve GDExtension documentation
2023-11-08 07:36:52 +01:00
Max Hilbrunner
ed5b87415c Merge pull request #8401 from Calinou/gdscript-code-regions
Document support for code folding regions in GDScript reference
2023-11-08 07:34:45 +01:00
Hex-4
eabd668cb7 fix #8076, update note in gdscript warning system settings page 2023-11-07 23:35:02 +00:00
Hugo Locurcio
c15da78587 Fix unused image due to bad syntax in Custom performance monitors
Comment syntax was used instead of figure syntax.
2023-11-07 17:44:55 +01:00
Hugo Locurcio
8f963d91e8 Improve GDExtension documentation
- Mention additional language bindings that support 4.x (already listed
  on the FAQ and List of features pages).
- Document compatibility issues with double-precision builds.
- Remove `-j4` flag from example as SCons uses most CPU cores
  automatically by default in godot-cpp now.
2023-11-07 14:42:44 +01:00
Hugo Locurcio
54331c3c8f Document support for code folding regions in GDScript reference 2023-11-06 22:49:28 +01:00
Zacrain
5110c2dda8 Fix GDExample C++ signal connect example and add explanation (#8381)
* Fix signal connect example, add explanation

* Update tutorials/scripting/gdextension/gdextension_cpp_example.rst

Co-authored-by: David Snopek <dsnopek@gmail.com>

* Update tutorials/scripting/gdextension/gdextension_cpp_example.rst

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: David Snopek <dsnopek@gmail.com>
2023-11-03 02:24:20 +01:00
Danil Alexeev
e1911e7355 Fix list of default comment marker keywords 2023-11-02 11:47:52 +03:00
Hugo Locurcio
0756294d3b Document comment keywords being highlighted in the script editor 2023-11-01 15:07:14 +01:00
Matthew
d1506e0a9d Merge pull request #8340 from NoctemCat/patch-1
Fixed typos in custom_performance_monitors.rst
2023-10-31 17:54:18 -04:00
NoctemCat
5561524ea9 Fixed typos in custom_performance_monitors.rst
Changed Monitor to Monitors and added missing colon in the link to Performance.add_custom_monitor
2023-10-31 11:22:32 +09:00
Max Hilbrunner
1e2867c976 Merge pull request #8341 from raulsntos/dotnet/diagnostics-update
Update C# diagnostic documentation
2023-10-27 21:32:17 +02:00
Raul Santos
52ac488079 C#: Add documentation for GD0107 2023-10-27 16:33:14 +02:00
Max Hilbrunner
6516f7f8c7 Merge pull request #7815 from aXu-AP/expressions-functions
Point to GlobalScope from Evaluating Expressions tutorial
2023-10-25 15:20:57 +02:00
Max Hilbrunner
4ff789359b Merge pull request #8265 from Piralein/autoload
fix file casing in singletons_autoload tutorial
2023-10-23 17:17:58 +02:00
Max Hilbrunner
796df85fce Merge pull request #8084 from bferguson3/master
Update gdextension_cpp_example.rst (Clarification rwt dump extension API)
2023-10-21 21:26:02 +02:00
Max Hilbrunner
d1e013bdad Merge pull request #8269 from bziemons/patch-1
Update GDScript reference, 'in'-keyword explanation
2023-10-21 16:35:55 +02:00
Susheel Thapa
a98b5a5545 fix typo in multiple files (#8291)
* fix typo in multiple files

* Updated as per suggestions
2023-10-20 11:34:46 +02:00
Benedikt Ziemons
1beedb8ae8 Update GDScript reference, 'in'-keyword explanation
The explanation for the keyword 'in' states it checks, whether an element is in a list (among others). This is the only occurrence of the word 'list' in this context and I assume it actually means array. To avoid future confusion, it makes sense to replace the word list with array in this explanation.
2023-10-19 10:22:37 +02:00
Raul Santos
b63001f753 Fix C# diagnostic messages to match 4.2 2023-10-18 14:05:14 +02:00
Hana - Piralein
63ad1da481 fix file casing 2023-10-17 20:42:28 +02:00
Raul Santos
f8ed631531 Update the state of C#/.NET support as of 4.2 beta 1 2023-10-12 20:26:32 +02:00
Max Hilbrunner
85be0daece Merge pull request #7985 from dalexeev/update-gds-doc-comments-page
Update "GDScript documentation comments" page
2023-10-09 01:51:17 +02:00
Max Hilbrunner
4b03ae73ad Merge pull request #8177 from wlsnmrk/gd-load-fixes
Standardize/Improve C# GD.Load() examples
2023-10-08 23:10:31 +02:00
Mark Wilson
147d2233c7 Improve C# GD.Load() examples
* Use typed version of GD.Load()
* Use absolute paths (i.e., prefixed with "res://")
* Use "Path/To/" intermediate path values on abstract examples, to
  illustrate that files can live in various directories
* Use PascalCase on files that are not GDScript or GLSL
2023-10-08 12:25:43 -04:00
Max Hilbrunner
455ca26878 Merge pull request #8180 from raulsntos/dotnet/build-button-4.2
C#: Update images of the Build button
2023-10-07 18:29:04 +02:00
Max Hilbrunner
8cf2fbaed4 Merge pull request #7825 from Hugo-Trentesaux/master-1
Update singletons_autoload.rst
2023-10-06 13:14:31 +02:00
nicolas-scarrci
c1a9c4dc73 Clarify class keyword usage (#7741)
* Clarify class keyword usage

* Added reference link for class_name as well

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-10-06 13:04:08 +02:00
Max Hilbrunner
95869e42ff Merge pull request #8153 from Repiteo/space-to-tab-v2
Automatically convert spaces to tabs in CodeBlocks
2023-10-06 12:50:53 +02:00
Max Hilbrunner
17f0da6a53 Merge pull request #8130 from dalexeev/gds-update-static-typing
Update "Static typing in GDScript" page
2023-10-06 12:44:47 +02:00
Danil Alexeev
9eb7aa3f59 Update "Static typing in GDScript" page 2023-10-06 12:49:26 +03:00
Thaddeus Crews
acf09b8551 Automatically convert spaces to tabs in codeblocks
• Adds codeblock css rule for tab-size
• Only applies to GDScript/C++
• Fix some inconsistent cpp codeblock filters
2023-10-05 19:04:26 -05:00
Max Hilbrunner
97c0af67aa Merge pull request #8082 from bteixeira/patch-2
Update gdscript_format_string.rst
2023-10-06 01:44:51 +02:00
Raul Santos
084f18b176 C#: Update images of the Build button 2023-10-06 00:47:40 +02:00
Danil Alexeev
6ad7f78001 GDScript: Update match patterns and literal docs 2023-10-05 19:18:05 +03:00
Max Hilbrunner
49ac573d24 Merge pull request #8094 from dalexeev/gds-add-match-pattern-guard-info
GDScript: Document `match` pattern guards
2023-10-04 18:57:54 +02:00
Max Hilbrunner
44136776a9 Merge pull request #8142 from YuriSizov/csharp-support-update
Update the state of C#/.NET support as of 4.2
2023-10-03 23:55:33 +02:00