Commit Graph
53 Commits
Author SHA1 Message Date
tetrapod00 5994348764 Change all usages of "run-time" to "runtime" 2024-11-06 23:36:58 -08:00
Hugo Locurcio 8d21f6f7ec Fix link to Windows platform port in Custom platform ports
- Fix link to Linux Vulkan context code.
- Add references to Direct3D 12.
2024-11-05 08:20:03 +01:00
tetrapod00 2f634c7acb Improve display of rubric fake headers with heading-level option 2024-11-02 09:42:55 -07:00
Adam Scott 44dfb3a390 Add filenames as captions for code blocks 2024-10-27 16:18:36 -04:00
Hugo Locurcio cbf61b3f02 Document Variant not being nullable 2024-10-17 15:28:24 +02:00
tetrapod00 283fe11715 Improve sidebar navigation by removing headers
- Ensure most pages are reachable through the sidebar, by removing headers on pages that are mostly indexes.
- This also means that some pages now have navigable headers again.
2024-09-23 01:32:56 -07:00
Hugo Locurcio 93261ab5d7 Harmonize Bash command syntax for easier line selection and copy-pasting
- Remove prompt or `$` sign which makes triple-click based selection
  more difficult and time-consuming.
- Use `platform` instead of `p` alias in all SCons examples.
2024-09-15 16:27:34 +02:00
Max Hilbrunner 459ec69f7c Merge pull request #9911 from Geometror/unit-testing-signalwatcher-section
Document testing signals
2024-09-09 13:01:35 +02:00
Hendrik Brucker fccf53259f Document testing signals 2024-09-05 17:05:17 +02:00
Hendrik Brucker b07c27fdbe Add note about the create_test.py script 2024-09-04 16:40:33 +02:00
Kongfa Waroros f27d12979d Update certain example code snippets to use the new syntax 2024-08-23 14:16:54 +07:00
Max Hilbrunner 95eb1ba85e Merge pull request #9701 from Geometror/tests-add-special-tags-section
Add section about special tags to the unit testing guide
2024-08-04 16:50:31 +02:00
Hendrik Brucker b85d63c69c Add section about special tags to the unit testing guide 2024-08-03 12:47:29 +02:00
Hendrik Brucker 012805ba82 Add section about subcases to the unit testing guide 2024-08-02 20:51:38 +02:00
Max Hilbrunner 3dd0622cd2 Merge pull request #9465 from AThousandShips/indent_fix
Fix invalid indentation in various files
2024-06-08 05:28:55 +02:00
Matthew bac1cdd723 Merge pull request #9384 from Calinou/internal-rendering-architecture-opengl
Improve OpenGL documentation in Internal rendering architecture
2024-06-07 15:49:34 -04:00
A Thousand Ships 36e2351df2 Fix invalid indentation in various files 2024-06-06 16:16:45 +02:00
Max Hilbrunner 3a1a74842e Merge pull request #9232 from skyace65/InheritanceTree
Update inheritance tree images for 4.2
2024-06-05 06:25:22 +02:00
Hugo Locurcio 06bd5b3ccb Fix false positives in codespell CI and fix reported typos
- Don't install codespell when building offline docs
  as it's not needed in that workflow.
2024-05-31 10:58:12 +02:00
Hugo Locurcio 8e6067d143 Improve OpenGL documentation in Internal rendering architecture
- Mention that OpenGL ES can be run directly on desktop platforms
  with a command line argument.
- Remove notice about some OpenGL features being unimplemented,
  as the Compatibility rendering is pretty much feature-complete
  as of 4.3.
- Update URL for the Vulkan rendering driver to follow RenderingDeviceDriver
  changes.
- Fix incorrect notice about the D3D12 rendering driver transpiling
  GLSL to HLSL (it transpiles SPIR-V to DXIL instead).
2024-05-31 10:20:48 +02:00
skyace65 3142f88b1f Update inheritance tree images 2024-05-11 22:28:18 -04:00
LunarTides 4aec1e094c Fix grammar mistake in scripting_development 2024-04-30 12:42:21 +02:00
Max Hilbrunner 160034a4ac Merge pull request #9188 from allenwp/annotation-improvements
Improve description of annotations
2024-04-30 04:19:10 +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
melquiadess dbe3a88377 Fix various minor typos 2024-04-20 16:41:23 +01:00
A Thousand Ships bd6cc665a7 Fix incorrect uses of a/an 2024-03-29 15:14:27 +01:00
Yuki Nishidate d0f84ab198 Fix broken link 2024-02-16 10:00:02 +09:00
aab5dc7fe8 Fix method bind instructions and style (#8735)
* Fix method bind instructions and style

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-01-24 11:25:06 +01:00
Hugo Locurcio 307650e682 Update Internal rendering architecture for Godot 4.2 2024-01-17 00:54:00 +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
Newt e485b39bb6 Update internal_rendering_architecture link format 2024-01-07 15:13:42 +08:00
VercingetorixChief 6fe8390710 Update OS to Time on pages containing OS.get_ticks_usec() 2023-12-26 14:03:45 -07: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
RobProductions e256cf6172 Fix styling and grammar in object_class.rst
I noticed some of the phrasing and grammar in object_class.rst was a bit confusing, so I tried to improve the clarity while keeping the original intent of the content. 

Let me know if the changes are consistent with the rest of the docs, thanks!
2023-11-12 01:17:53 -05:00
Yuri Sizov cd92be066d Update references to private class methods across the docs 2023-11-10 16:06:36 +01:00
Saif Kandil ead42d79de Fix `*.out` file path in integration tests documentation (#8221)
The path to the `bin/` directory is written from the root as `./bin/<godot_binary>`,
however the path to the `scripts/` directory is written from outside the root as
`godot-source/modules/gdscript/tests/scripts`, which is inconsistent.
2023-11-09 13:09:29 +01:00
Hugarty Pedro deac8080dc Update register_types.h and register_types.cpp in binding_to_external_libraries.rst
Based in https://github.com/godotengine/godot/issues/84456

Change register_tts_types() to initialize_tts_module()
Change unregister_tts_types() to uninitialize_tts_module()
Add parameter ModuleInitializationLevel p_level to uninitialize_tts_module and initialize_tts_module
2023-11-07 08:17:00 -03:00
Emmanuel Ferdman 7e583582f5 fix: update location of audio_stream_player.cpp 2023-09-24 13:03:49 +03:00
465c6dde85 Fixed Issue 'Broken link on internal_rendering_architecture page - 404 #7570' (#7589)
Co-authored-by: Matthew <matthewehr@hotmail.com>
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-07-22 22:13:09 +02:00
Max Hilbrunner 689277f43f Merge pull request #6277 from Sauermann/fix-transform-2d-update 2023-07-19 21:25:21 +02:00
Markus Sauermann 8111c9125e Update 2D transform tutorial
Update "Viewport and canvas transforms" tutorial

- incldue missing Window-transform
- Update graphic to make the distinction between coordinate systems
and transforms mode clear
- Restructure "transform functions" section
- Update functions to new Godot 4 conventions

Create a more detailed page in engine documentation about 2d coordinate
systems and 2d transforms.
2023-07-19 19:12:52 +02:00
Junhao Wang 4a175a4a73 Fix dev=yes in unit testing guide 2023-07-01 13:13:35 -07:00
Hugo Locurcio a1a5660268 Add notes on color/depth buffer formats in Internal rendering architecture (#7410) 2023-05-27 23:12:22 +02:00
Hugo Locurcio 787cfa61ca Fix :abbr: usage in Internal rendering architecture 2023-05-24 11:53:17 +02:00
Hugo Locurcio 00381a521b Add a page documenting Godot's internal rendering architecture
This is intended for new and returning engine contributors.
2023-05-18 09:56:38 +02:00
Max Hilbrunner 64a3b465c2 Update SFC to Godot Foundation, old URLs 2023-04-17 23:53:52 +02:00
Riteo a6359685a6 Change PNG image requirement to SVG in custom platform ports page
It got changed to SVG in godotengine/godot@cebefc9.

I'm not sure if PNGs are supported anymore but I guess that it's still
good practice to use SVGs and this isn't supposed to be a full in-depth
tutorial anyways 🤷
2023-03-31 19:00:05 +02:00
Max Hilbrunner b53e989669 Merge pull request #7012 from jwmcgettigan/onready-patch
Updated instances of onready to @onready.
2023-03-23 04:39:30 +01:00
Justin McGettigan 7f7042c515 Updated instances of onready to @onready. 2023-03-18 16:06:11 -04:00
Hugo Locurcio f658307ac7 Add a page on creating custom platform ports 2023-03-13 18:53:38 +01:00