Commit Graph

725 Commits

Author SHA1 Message Date
scotmcp
0fc05ae44e Update tutorials/scripting/gdscript/gdscript_basics.rst
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-01-31 15:31:11 -05:00
scotmcp
83bd5dddc3 Fixed Type description from resource to GDScript 2024-01-31 18:59:27 +01:00
scotmcp
330f58f208 Correcting reference link
line 2016 references Class, should reference Resource
2024-01-31 18:59:27 +01:00
Max Hilbrunner
07cb95add3 Merge pull request #8853 from 31/dev/31/clean-export-cs
c_sharp_exports.rst: fix private naming style; minor grammar
2024-01-30 10:56:03 +01:00
Max Hilbrunner
8334647b5a Merge pull request #8815 from 31/dev/31/signal-connect
Add C# signal automatic disconnection info
2024-01-30 10:49:07 +01:00
31
cfa455efaf c_sharp_exports.rst: add complex getter/setter note 2024-01-29 23:40:29 -08:00
31
b3b15a6076 c_sharp_exports.rst: more consistent public style; minor grammar 2024-01-29 23:37:50 -08:00
Matthew
0cb17c02b1 Merge pull request #8861 from 31/dev/31/export-code-comments
c_sharp_exports.rst: move code comments to text
2024-01-29 20:40:03 -05:00
Matthew
654ee26ffe Merge pull request #8860 from 31/dev/31/export-node-res-useful
c_sharp_exports.rst: clarify why exporting nodes/resources is useful
2024-01-29 19:16:41 -05:00
31
7c344c528f Simplify node/resource export in "Basic use" 2024-01-29 10:08:39 -08:00
31
23d9944e56 c_sharp_exports.rst: move code comments to text 2024-01-28 23:22:58 -08:00
31
65085d9330 c_sharp_exports.rst: clarify why exporting nodes/resources is useful 2024-01-28 22:58:25 -08:00
31
a4e958c0e0 singletons_autoload.rst: add C# example similar to "Global Variable" 2024-01-27 21:08:32 -08:00
31
52414e8581 Add C# signal automatic disconnection info 2024-01-27 20:53:02 -08:00
31
1388882b3e Update external_editor.rst: point out C# instructions 2024-01-27 15:04:27 -08:00
Max Hilbrunner
65370838c2 Merge pull request #8826 from mhilbrunner/remove-outdated-extension
Remove reference to outdated VS extension for C#
2024-01-24 20:02:53 +01:00
Max Hilbrunner
8a22a6d5a0 Merge pull request #7507 from dalexeev/gds-var-init-order
GDScript: Document variable initialization order
2024-01-24 19:58:35 +01:00
Max Hilbrunner
a191e57604 Remove reference to outdated VS extension for C# 2024-01-24 19:55:20 +01:00
Quentin Quaadgras
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
31
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
Danil Alexeev
c3322d8d27 GDScript: Document variable initialization order 2024-01-14 19:35:25 +03: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. Baumann
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