Commit Graph

592 Commits

Author SHA1 Message Date
Max Hilbrunner
5c926b5180 Merge pull request #8900 from skyace65/Autoload
Remove duplicate information in autoload page
2024-02-08 15:06:09 +01:00
Danil Alexeev
46e69f0d1e GDScript: Document is not operator 2024-02-07 13:25:33 +03:00
skyace65
7f662be73a Remove duplicate information in autoload page 2024-02-05 21:50:03 -05:00
skyace65
63a2c55cab Add info on finding script templates folder 2024-02-05 21:44:03 -05:00
Max Hilbrunner
62d5d6cddb Merge pull request #8852 from 31/dev/31/singleton-cs
singletons_autoload.rst: add C# example similar to "Global Variable"
2024-02-05 00:17:22 +01:00
Max Hilbrunner
840b629c3e Merge pull request #8894 from 31/dev/31/variant-ref
Link to C# Variant-compatible section directly
2024-02-04 22:19:32 +01:00
Max Hilbrunner
664b739aaa Merge pull request #8878 from 31/dev/31/variant-obj
c_sharp_variant.rst: add more examples, fix explicit vs. implicit
2024-02-04 22:18:35 +01:00
Matthew
f94b73a4db Merge pull request #8895 from 31/dev/31/packed-order
c_sharp_collections.rst: copy variant page's Packed{TYPE}Array order
2024-02-04 11:00:00 -05:00
31
d203e8b4e5 c_sharp_collections.rst: copy variant page's Packed{TYPE}Array order 2024-02-03 20:10:20 -08:00
31
8b94fc9501 Link to C# Variant-compatible section directly 2024-02-03 19:54:47 -08:00
31
d41f09fce6 More directly describe .Obj boxing 2024-02-03 18:59:34 -08:00
31
c2e68a8dbe Apply suggestions from code review
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-02-03 17:17:17 -08:00
31
2f94e1fd5c Changes and fixes from review 2024-02-03 01:13:47 -08:00
31
ec757a3839 Fix C# typos: capitalize method name, use public property names 2024-02-02 01:07:54 -08:00
31
4c39a88a42 c_sharp_variant.rst: add more examples, fix explicit vs. implicit 2024-02-02 00:40:24 -08:00
Matthew
6a6f786c7a Merge pull request #8870 from scotmcp/patch-2
Correcting link to class Reference
2024-02-01 21:46:12 -05:00
Max Hilbrunner
dd84a8623e Merge pull request #8859 from 31/dev/31/backing-export-behavior
c_sharp_exports.rst: add complex getter/setter note
2024-02-01 22:47:58 +01:00
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