Commit Graph
506 Commits
Author SHA1 Message Date
Quentin QuaadgrasandRaul Santos 7e194152d5 Add Go to the list of community maintained GDExtension bindings. (#8808)
* Add Go to the list of community maintained bindings.

---------

Co-authored-by: Raul Santos <raulsntos@gmail.com>
2024-01-23 18:20:15 +01:00
Matthew 9d5fc908d3 Merge pull request #8809 from BWPanda/patch-1
Re-word 'Comment spacing' note in gdscript_styleguide.rst
2024-01-22 19:49:36 -05:00
Matthew 829619ecf8 Merge pull request #8812 from 31/dev/31/signal-connect
Elaborate on C# Connect/Disconnect
2024-01-22 18:34:06 -05:00
31 6a6cdf94eb Remove issue ref; try "This means" 2024-01-22 02:26:19 -08:00
848591cefd Apply suggestions from code review
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2024-01-22 04:11:07 -06:00
31 04b42dc143 Elaborate on C# Connect/Disconnect 2024-01-22 01:43:52 -08:00
Peter Anderson ab98451bc8 Re-word 'Comment spacing' note in gdscript_styleguide.rst 2024-01-22 05:14:52 +00:00
31 7b588dca1f Update c_sharp_differences.rst ToSignal example 2024-01-15 10:26:16 -06:00
Max Hilbrunner 01a7b2ff94 Merge pull request #7520 from Calinou/add-page-comments
Add support for user-provided comments with Giscus
2024-01-13 22:32:30 +01:00
Hugo Locurcio 95fb178429 Add support for user-provided comments with Giscus
This allows users to leave comments on pages that don't have
`:allow_comments: False` somewhere in the page's source.
Both manual and class reference pages can receive comments.
Index pages cannot have comments, as discussion should occur on "leaf" pages.

GitHub Discussions is used as a backend on the same repository. This means
that Discussions *must* be enabled on godotengine/godot-docs before this
commit is merged to `master`. Users can choose to use the "Custom" watch
mode if they don't want to get notifications for discussion updates,
but still get notifications for issue and pull request updates.

User comments are intended to be used for the following purposes:

- Add a clarification or correct something in the documentation,
  without having to open a pull request. Contributors are encouraged to
  take a look at discussions from time to time, and see if there's information
  worth incorporating in the pages themselves. Don't forget to reply to
  the comment when doing so :)
- Mention a workaround for a common issue.
- Link to useful third-party resources that are relevant to the current page,
  such as tutorials or add-ons.

User comments should *not* be used for technical support. Other community
platforms should be used for that.

Page-to-discussion matching is done using the `pagename` Sphinx variable,
which is independent of the Godot version and documentation language.
Being independent of the Godot version allows keeping old comments
when the Godot version changes, while also allowing users from `/stable`
and `/4.1` to "see" each other in discussions.

See https://giscus.app for more information.
2024-01-11 17:51:53 +01:00
Hugo Locurcio e93fc9b1f2 Document importing SVG images with text
- Mention editor plugins and custom node icons should use the appropriate
  import options.
2024-01-11 00:18:50 +01:00
Max Hilbrunner ed8a175d80 Merge pull request #8654 from AdriaandeJongh/patch-3
Added section on common unsafe operations and their safe counterparts
2024-01-08 07:57:29 +01:00
Mathias L. BaumannandDanil Alexeev d3ee49e2b7 Update tutorials/scripting/gdscript/gdscript_basics.rst
Lambdas need an explicit `return`

Extend the documentation so that it is clear that lambdas require an explicit return .

Also add an according example.

Co-Authored-By: Danil Alexeev <danil@alexeev.xyz>
2024-01-07 13:59:19 +01:00
Adriaan de Jongh 648388ecbd added section on common unsafe operations and their safe counterparts 2024-01-06 23:40:02 +01:00
PgBiel 1826557b43 Update link to Rust GDExtension bindings 2023-12-29 09:29:29 -03:00
The Yellow Architect c01e958492 Corrected expected output in enum comments 2023-12-13 21:05:14 +02:00
TheYellowArchitect 795df857cb Added enum iteration example 2023-12-10 20:32:57 +02:00
Phlegmlee d6eb215d19 Removed duplicate line.
The line below is redundant, it exits on line 141 - 142 and therefore isn't needed on 159.

 ## The description of a constant.
    const GRAVITY = 9.8
2023-12-05 14:36:50 -06:00
Hugo Locurcio 8a52cac55b Update documentation changelog for 4.2 2023-12-03 18:15:15 +01:00
Paul Joannon eb13caffd7 Change the note about disconnecting C# signals 2023-11-29 17:46:19 +01:00
Max Hilbrunner 45051e178b Merge pull request #8505 from pseidemann/patch-2
add missing override modifier for _process()
2023-11-25 19:27:08 +01:00
Matthew daf78ddf52 Merge pull request #8165 from ershn/rework_pause_menu_example
Reworked the pause menu example in pausing_games.rst
2023-11-24 12:54:44 -05:00
RegalMedia 940f51dd96 Typo fixed in Same-scene limitation section of scene_unique_nodes.rst
Replaced `Blade` with `Sword` in Same-scene limitation section to remain consistent with screenshot example
2023-11-22 10:17:06 -06:00
pseidemann 067170fb8b add missing override modifier for _process() 2023-11-19 15:31:44 +01:00
Max Hilbrunner 7f97b671f9 Merge pull request #7889 from akien-mga/drop-uwp
Remove UWP mentions as the platform port was removed in 4.2
2023-11-18 12:30:25 +01:00
Hugo Locurcio 59cfbbbd82 Add notice about GDExtension being experimental in What is GDExtension? 2023-11-17 15:28:45 +01:00
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
Rémi Verschelde ee401703f0 Remove UWP mentions as the platform port was removed in 4.2 2023-11-16 13:03:31 +01: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
Ershn fc7a41fc48 Rework the pause menu example in pausing_games.rst 2023-11-10 17:31:24 +09:00
tetrapod 5e16b58e79 Use uint for layers in c_sharp_exports.rst 2023-11-09 13:38:08 -08:00
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
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