826 Commits

Author SHA1 Message Date
Patrick Exner
03f966ab73 Fix project structure diagram in gdextension docs system docs 2024-08-15 19:11:25 +02:00
DDoop
e9035f7cf0 Add warnings for classes named "Editor" in GDscript and C# pages, class_name keyword/global class attribute (#9548)
* Added warning about Editor hiding class_names beginning with Editor prefix

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2024-08-14 19:42:36 +02:00
Balázs Kalydi
91717ff234 Update GDExtension tutorial with the hot reload feature (#9618)
Although the tutorial assumed the hot reload feature, it wasn't enabled in the example config file. Also it didn't mention that it only works if it's compiled in debug mode.
2024-08-14 19:31:17 +02:00
Patrick Exner (FlameLizard)
b21addcf51 Add page about gdextension docs generation (#9667)
* Adding page about gdextension docs generation

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2024-08-14 19:27:31 +02:00
skyace65
f15784d14b Add info in instancing for opening the demo project 2024-08-11 22:45:27 -04:00
Sai Nane
f10b322c27 Fix description of typed resource exports
`AnimationNode`'s inherited classes are `Resource`, `RefCounted`, and `Object`.

I assume it meant to say "derived classes", or something along the lines of
"and all classes which inherit it".
2024-08-06 14:49:08 +00:00
Max Hilbrunner
083f7589b9 Merge pull request #9708 from thejacer87/patch-1
Update gdscript_styleguide.rst
2024-08-06 05:58:39 +02:00
Jace Bennest
d71c24c699 Update gdscript_styleguide.rst
fixes typo
2024-08-04 10:48:19 -07:00
Tristan A.
a2d29557ed CSharp example missing return type 2024-08-02 22:34:28 +02:00
Muller-Castro
a36ff907f9 Add typed loop variable example in GDScript reference (#9388) 2024-08-02 02:30:20 +02:00
A Thousand Ships
0c9eaf14c3 Merge pull request #9644 from Incognito357/Incognito357-update-docs-change_scenes_manually
Update change_scenes_manually.rst
2024-07-30 07:32:08 -09:00
Qwertystop
8d1bff6aea Document behavior of modulo operator (#9358)
Different languages and contexts have different default behaviors for modulo
where one or both operands are negative. "The remainder of an integer division"
is underspecified. As such, clarification is in order.

Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-07-30 07:38:27 +02:00
Jason
6ffdb2ff0d Update change_scenes_manually.rst
Rewrote to use active voice. Reworded some sections for grammar, clarity, or removal of banned words
2024-07-23 22:29:12 -04:00
Riyyi
f001dcf2d8 Update alignment
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-07-21 17:02:00 +00:00
Riyyi
700b8bda73 Update "Autoload" navigation to match 4.3 menu
The "Project Settings" menu was restructured in 4.3, reflect this in the navigation instructions.
2024-07-21 16:00:16 +00:00
Patrick Exner
8b37b3c86e Add more precise information about library paths 2024-07-02 22:59:04 +02:00
Max Hilbrunner
ea6b9dadf2 Merge pull request #9569 from paddy-exe/dependencies-gdextension-file
Add dependency section to gdextension file docs
2024-07-02 17:52:38 +02:00
Patrick Exner
2877a27633 Add dependency section to gdextension file docs 2024-07-01 18:55:41 +02:00
Danil Alexeev
67be15e905 GDScript: Update lambda documentation 2024-06-29 14:51:46 +03:00
Hana - Piralein
3e2a8f6f7c Update outdated annotation and setget syntax
Co-Authored-By: PoolloverNathan <24194027+PoolloverNathan@users.noreply.github.com>
Co-Authored-By: Solor Vox <1246172+solorvox@users.noreply.github.com>
2024-06-27 22:13:37 +02:00
Max Hilbrunner
64164955e8 Merge pull request #9383 from paddy-exe/gdextension-file-quick-reference
Add documentation about .gdextension file
2024-06-23 10:13:53 +02:00
Hakunamawatta
eb14a4adae Typo in gdscript_basics.rst 2024-06-19 22:32:32 +10:00
Matthew
ef1bcf2d8b Merge pull request #9470 from sourcespectrum/master
Update C++ example to use version 4.2
2024-06-17 17:55:03 -04:00
Matthew
bf8c53b765 Merge pull request #9461 from Dowsley/updated-groups-tutorial
Update groups tutorial for project-wide node groups
2024-06-16 08:52:34 -04:00
Nathan T.A. Lewis
0d58b5ad55 Fix typo
Co-authored-by: A Thousand Ships (she/her) <96648715+AThousandShips@users.noreply.github.com>
2024-06-15 11:11:51 -06:00
Nathan T.A. Lewis
2075def75e Abstract the minor verison number where possible
To ease the maintenance burden in the future, we are abstracting the minor version number to avoid the number of doc updates required.
2024-06-15 09:41:17 -06:00
Nathan T.A. Lewis
42cb5ef1ff Revert compatibility_minimum change
Since 4.2 is still compatible with 4.1, the minimum compatibility can remain 4.1.
2024-06-07 20:07:15 -06:00
Nathan T.A. Lewis
63adb26de9 Update C++ example to use version 4.2 2024-06-07 11:00:03 -06:00
J. F. Dowsley
6f0b105858 Update groups tutorial for project-wide node groups 2024-06-07 11:21:04 -03:00
A Thousand Ships
36e2351df2 Fix invalid indentation in various files 2024-06-06 16:16:45 +02:00
Matthew
194685b65d Merge pull request #9407 from ceejbro/patch-1
Remove Note from Constants
2024-06-04 21:20:34 -04:00
Patrick Exner
7695474656 Add documentation about .gdextension file
Update tutorials/scripting/gdextension/gdextension_file.rst
2024-06-04 12:54:19 +02:00
Hugo Locurcio
71cdbdd055 Tweak guidelines on dictionary and enum formatting in GDScript style guide
- Recommend writing each enum item on its own line, similar to C++.
- Recommend using spaces around inline dictionary declarations
  to make them easier to distinguish from arrays (due to similar-looking
  `[]` and `{}` characters in most fonts). This is commonly found
  in Python or JavaScript style guides.
2024-05-29 17:52:29 +02:00
Kitzu
d884e3ef07 Correction on usage of Dictionaries in C# as it should be 'Godot.Collections.Dictionary<>' 2024-05-28 21:20:26 +02:00
CJ Brown
7b91dffc22 Remove Note from Constants
PR #71051
Documentation not updated to reflect deep read-only change to const Array and const Dictionary
2024-05-21 14:37:23 -04:00
Matthew
7e67f8ca32 Merge pull request #8834 from Abdullah-Ajeebi/patch-1
Update c_sharp_signals.rst
2024-05-13 21:15:25 -04:00
Mark Wilson
aa223c335c Improved style for cross-language examples.
* Replaced "foo"/"bar" example values with "my value".
* Changed C# public field to property and GDScript to match.
* Used PascalCase for C# property.
* Used camelCase for C# local variable.
* Used "var" for C# local variable declarations.
* Used PascalCase for GDScript class/script variable.
* Improved clarity of comments documenting expected output.
* Eliminated horizontal scroll in C# code example.
* Fixed a comma splice in the page text.
* Removed an out-of-date warning block.
2024-05-08 16:53:15 -04:00
Max Hilbrunner
4e216fc5fc Merge pull request #9313 from dalexeev/update-doc-markup-docs
Update class reference and doc comment markup documentation
2024-05-07 11:27:26 +02:00
Yuri Rubinsky
3e05334189 Add a super keyword to the table of keywords 2024-05-02 18:35:10 +03:00
Danil Alexeev
c89b0e6ab3 Update class reference and doc comment markup documentation 2024-05-02 13:14:02 +03:00
skyace65
f941feee55 Add info on script template folders 2024-05-01 22:02:41 -04:00
Max Hilbrunner
160034a4ac Merge pull request #9188 from allenwp/annotation-improvements
Improve description of annotations
2024-04-30 04:19:10 +02:00
Matthew
7446c0dd77 Merge pull request #9284 from NormPlum/patch-2
Update gdscript_basics.rst
2024-04-29 22:18:06 -04:00
j4d3blooded
47427a526c Update Resources tutorial to mention and use the GlobalClass annotation for C# (#9278)
* Updated Resources tutorial to mention and use the GlobalClass annotation for C#

The previous version of this page didn't mention using the `[GlobalClass]` annotation. Following this tutorial results in the user not finding their resource in the Create a new resource menu without any understanding as to why

---------

Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-04-30 04:16:52 +02:00
Allen Pestaluky
8dd09aa962 Improved description of annotations
Removes an unnecessary and potentially confusing comparison of annotations to keywords and generally improves wording in the GDScript Basics tutorial. A new page to the Contributing section has been added for scripting development guidelines. This new page hosts suggestions on when annotations should be implemented in GDScript.
2024-04-29 13:18:30 -04:00
NormPlum
94b33fc106 Update gdscript_basics.rst
Fix grammar re. 'await/awaiting'.
2024-04-27 03:13:09 +00:00
Max Hilbrunner
eb9931594e Merge pull request #9271 from TheJP/patch-1
Fixed out of date binding syntax for `Signal.connect`
2024-04-23 21:08:53 +02:00
Benjiko99
47d13ae2a2 Fix typo in docs 2024-04-23 16:03:15 +02:00
JP
4ae3064699 Fixed out of date binding syntax for Signal.connect
fixes godotengine/godot-docs#9236
2024-04-23 13:33:09 +02:00
A Thousand Ships
29a8e104ec Merge pull request #9266 from markdibarry/default_details
Add links for overriding default export value in C#
2024-04-22 18:22:36 +02:00