Commit Graph

835 Commits

Author SHA1 Message Date
Max Hilbrunner
4dac16745f Merge pull request #11344 from Ivorforce/godot-cpp-custom-bindings
Move godot-cpp custom API file information from "Getting Started" to build system information
2025-10-09 13:36:08 +02:00
Max Hilbrunner
424d523d35 Merge pull request #11348 from Calinou/csharp-basics-net-9
Update C# basics for .NET 9
2025-10-09 13:26:06 +02:00
notroid5
cf795af4f8 Update static_typing.rst
Fixed missing new line
2025-10-08 11:39:42 +02:00
Hugo Locurcio
36455d91fa Update C# basics for Godot 4.5 2025-10-07 17:37:36 +02:00
Lukas Tenbrink
88604e597b Move godot-cpp custom bindings information to the 'build system' instructions from the intro doc, because most people won't need it for their first project. 2025-10-05 13:30:33 +02:00
Max Hilbrunner
0747a890c5 Merge pull request #10919 from Ivorforce/godot-cpp-build-system
Add "Build System" section to godot-cpp docs.
2025-10-02 16:11:31 +02:00
Max Hilbrunner
3521a55f51 Merge pull request #11299 from mihe/logger-thread-safety
Mention importance of thread-safety in `Logger` example
2025-09-27 02:00:10 +02:00
Max Hilbrunner
bc2e347f50 Merge pull request #11302 from Calinou/gdscript-static-typing-global-scope-methods
Document global scope methods in Static typing in GDScript
2025-09-22 17:19:05 +02:00
peachey2k2
e8e6a57c2b GDExtension: Fix typo in "GDExtension documentation system" (#11310)
* GDExtension: Fix typo in "GDExtension documentation system"

* Apply suggestions from code review

---------

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2025-09-20 09:40:28 -04:00
Mikael Hermansson
b9ca08304f Mention importance of thread-safety in Logger example 2025-09-18 17:40:08 +02:00
Hugo Locurcio
f3fd393817 Document global scope methods in Static typing in GDScript 2025-09-18 00:43:48 +02:00
Hugo Locurcio
3b11c2f5ab Fix code block highlighting in Logging
Some blocks were using syntax highlighting when they shouldn't.
2025-09-14 22:46:50 +02:00
Hugo Locurcio
7b98025f2e Add logging documentation
This also covers how to create custom loggers.

- Remove notice on Windows 10 requirement for `print_rich()` in Output panel,
  since Godot requires Windows 10 as of 4.5.
2025-09-14 02:51:27 +02:00
Lukas Tenbrink
757d1f7d01 Add "Build System" section to godot-cpp docs (SCons and CMake). 2025-09-09 16:24:01 +02:00
Hugo Locurcio
0b03cc70ed Clarify assignment operator in typed array/dictionary documentation 2025-08-26 18:45:48 +02:00
Markus Kauppila
81b7f5233a Update creating_script_templates.rst 2025-08-16 13:38:42 +03:00
Muller-Castro
e7f954bf7c Add tabs to SConstruct snippet 2025-08-04 04:43:47 -03:00
AtelierFerrofell
310494375b Update c_sharp_exports.rst to remove note about typed dictionary support
That note appears to be obsolete
2025-08-01 19:35:32 -07:00
AtelierFerrofell
a531c1b7d5 Update resources.rst to remove stray whitespace
Whitespace on line 216 was causing code to merge into the tab name
2025-08-01 15:56:18 -07:00
Danil Alexeev
3946ede7aa Replace remaining uses of shorthand codeblock syntax, add CI check 2025-07-25 16:20:16 -04:00
Leandro (cerberus1746) Benedet Garcia
97f5aad069 Added tags and updated doc 2025-07-22 12:29:23 -03:00
Matthew
ff29de0d89 Merge pull request #9980 from HolonProduction/editable-clearup
Clearify behaviour of `@export` in combination with setters
2025-07-18 21:20:31 -04:00
Matthew
29e83d3863 Merge pull request #11059 from Zshandi/patch-2
Update resources.rst to make inner class note more clear
2025-07-18 21:14:17 -04:00
Matthew
3f65fd4614 Merge pull request #10888 from Calinou/running-code-in-the-editor-static-context
Clarify rules around which scripts require `@tool` in Running code in the editor
2025-07-18 07:54:13 -04:00
Matthew
768aa536ca Merge pull request #10920 from Athenr/master
Clarify UTF encoding between C# strings and Godot Strings
2025-07-18 07:50:20 -04:00
Ayush Raj
2cbf133533 fixed issue 11090 2025-07-07 20:48:57 +00:00
Dipl.-Ing. Dr. Markus Weninger, BSc
15912feec0 Update static_typing.rst
The documentations said it shows the same callback two times, one time with dynamic typing and one time with type hints. In reality, two different callbacks were shown. This has been fixed.
2025-06-28 21:25:45 +02:00
Matthew
ba34190d15 Merge pull request #11029 from dalexeev/gds-abstract-and-variadic-funcs
GDScript: Document abstract and variadic functions
2025-06-28 12:49:49 -04:00
Matthew
7e591554a2 Merge pull request #10823 from Calinou/gdscript-exports-tool-button-icon
Document `@export_tool_button` icon parameter in GDScript exports
2025-06-27 14:31:22 -04:00
Zshandi Krahn
6e9342991d Update resources.rst to make inner class note more clear
The term "subclass" is often used as a synonym for "child class", so using it here to refer to an inner class is just confusing, even with the "i.e. an inner class" part. The GDScript Reference page simply uses the term "inner class" and never refers to them as "subclass", so this is also consistent with that.
2025-06-26 23:42:45 -07:00
Danil Alexeev
7a7ac7dc2d GDScript: Document abstract and variadic functions 2025-06-24 10:25:49 +03:00
A Thousand Ships
92cd36b50e Various grammar and spelling fixes 2025-06-23 16:37:26 +02:00
HolonProduction
b26724f1b4 Clearify behaviour of @export in combination with setters 2025-06-16 23:47:57 +02:00
nicolanore
b8867b0817 Fix example code block for custom resources 2025-06-02 21:35:15 +02:00
Hugo Locurcio
8a6ad4c926 Replace uses of shorthand codeblock syntax to avoid issues with localization
Previously, many paragraphs in the documentation used `::` at the end of a line
as a replacement for a single colon (and `::` on the following line).
Due to this, the `::` was part of the extracted string for localization.
Weblate also showed a warning about the trailing `::`, as it's not
normally expected to be there.

This change requires translators to revalidate all modified strings.
However, considering many of those have broken code blocks due to translators
replacing `::` with `:`, it can be a good idea.

This also adds documentation writing guidelines for code blocks and admonitions.
This commit does not modify existing admonitions in any way (as this would
lead to a much larger diff, and require more localizable text to be revalidated
by translators).
2025-05-30 02:02:30 +02:00
Hugo Locurcio
db2bc419a3 Document abstract classes in GDScript 2025-05-14 01:31:02 +02:00
Athenr
55f2cf1509 Update tutorials/scripting/c_sharp/c_sharp_differences.rst
Revising for grammatical fixes in changes.

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-05-03 20:47:16 -04:00
Athenr
9d0fcf1288 Update c_sharp_differences.rst with C# string and Godot String UTF encoding
Clarified that C# System.String uses UTF-16 encoding while Godot String uses UTF-32.
2025-05-02 16:14:26 -04:00
David Snopek
a7815c997e Stop referring to GDExtension as experimental 2025-05-02 10:49:34 -05:00
Max Hilbrunner
8db2f3ed62 Merge pull request #10631 from Ivorforce/godot-cpp-up
Split C++ (godot-cpp) and GDExtension system info into separate categories, children of Scripting.
2025-05-02 08:28:30 +02:00
Muller-Castro
c8583abde8 Add _CLASS_SNAKE_CASE_ script template placeholder 2025-04-28 13:00:02 -03:00
Hugo Locurcio
6c3cef80b3 Document typed dictionaries in GDScript 2025-04-26 18:33:00 +02:00
Lukas Tenbrink
028abe15d1 Split C++ (godot-cpp) and GDExtension system info into separate categories, children of Scripting. 2025-04-24 21:59:02 +02:00
Hugo Locurcio
ab7c43c899 Clarify rules around which scripts require @tool in Running code in the editor
- Mention that static methods work, but not static variables.
- Emphasize the use of version control due to the lack of undo/redo.
2025-04-22 14:47:20 +02:00
Hugo Locurcio
c737b30d5d Mention the lack of debugger support in Running code in the editor 2025-04-22 14:38:51 +02:00
Matthew
28958a702c Merge pull request #10756 from Repiteo/style/pragma-once
Style: Integrate new `#pragma once` syntax
2025-04-15 19:09:39 -04:00
ProgrammerOnCoffee
73688d34d8 Fix typos in warning system documentation images (#10849)
* Fix warning system image typos
2025-04-14 23:39:55 +02:00
Matthew
8c18714228 Merge pull request #10780 from Lexyth/patch-2
Update Enum names, improve enum member names, and add related suggestion
2025-04-11 11:59:57 -04:00
j4d3blooded
fb1f3c8377 Included note about requirement for class_name for a resource to show… (#10838)
* Included note about requirement for class_name for a resource to show up in create resource GUI
2025-04-11 11:34:16 -04:00
lena
f31a4ac23f docs: Add a note about the effect of @export. (#10560)
Add information on @export and RPC.
2025-04-11 10:42:19 -04:00