128 Commits

Author SHA1 Message Date
DevPoodle
def5f37a86 Update number of built-in BBCode effects 2025-12-17 08:35:00 -08:00
Hugo Locurcio
b3cbe5f777 Remove old Godot version references to simplify documentation
This follows the documentation writing guidelines, specifically
the "When to refer to a specific Godot version" section.

This also removes warning blocks for a known issue that was resolved in Godot 4.5.
2025-10-07 19:01:12 +02:00
BenBlueeeee
e129bbdbff remove reference to non-existent "identity" property
no identity property exists in CharFXTransform

see #11187 for more
2025-08-08 21:42:04 +01:00
Hugo Locurcio
72095a3e31 Fix incorrect [ul bullet=...] description in BBCode in RichTextLabel
- Mention `[br]` behavior when used in a list item.
2025-08-05 16:56:15 +02:00
Matthew
644f0667cd Merge pull request #10938 from ProgrammerOnCoffee/update-gui-navigation-code-example
Add `call_deferred` to UI Navigation code example
2025-06-23 13:32:05 -04:00
A Thousand Ships
92cd36b50e Various grammar and spelling fixes 2025-06-23 16:37:26 +02:00
Pāvels Nadtočajevs
2a6837d8de Add HR bbcode info. 2025-06-13 09:04:18 +03:00
ProgrammerOnCoffee
e4b27c12a5 Merge pull request #10934 from ProgrammerOnCoffee/update-gui-containers
Update the Using Containers tutorial
2025-06-01 23:06:18 +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
0dcc22ffec Document [hint] tag quote support in BBCode in RichTextLabel 2025-05-13 18:13:27 +02:00
ProgrammerOnCoffee
a8ccd61936 Add call_deferred to UI Navigation code example 2025-05-09 15:08:17 -04:00
MJacred
f0258bd879 Document new bbcode [br] in RichTextLabel 2025-04-25 15:53:23 +02:00
BluesM18A1
bd2aa87578 Update the 'Using Fonts' page to include information on spacing adjustments and kerning pairs for image fonts (#10880)
* Update the 'Using Fonts' page to include information on spacing adjustments and kerning pairs for image fonts

Closes https://github.com/godotengine/godot-docs/issues/10855

Non-monospaced image fonts have been supported for quite some time, but the documentation has not yet been updated to reflect this.

There are now some additional screenshots and examples of how to use the extra parameters in the Character Ranges, and how to use the Kerning Pairs list.
2025-04-23 11:42:17 -04:00
Ian Warren
6ced0f9f4b Change "allow to" to "allow you to" 2025-04-09 16:42:37 -06:00
Hugo Locurcio
46471a19bf Document fgcolor and bgcolor highlight padding in BBCode in RichTextLabel 2025-03-17 19:55:40 +01:00
Hugo Locurcio
2d96a058c1 Document comma-separated values not supporting spaces between values in BBCode in RichTextLabel 2025-02-24 20:26:08 +01:00
havi05
91618125d5 Update rainbow bbcode options - add speed 2025-01-22 23:24:03 +01:00
gomakappa
7d38ce8fef upload images and edit pages 2025-01-04 16:20:39 -03:00
tetrapod00
c4d3aa134a Standardize RST header syntax 2024-12-29 13:44:09 -08:00
fearwalia
d6b95c8aeb Update gui_using_fonts.rst
Edited the fourth option to accurately represent which option it is, it previously replicated the third option
2024-12-19 13:48:13 +05:30
tetrapod00
bd25f5813a Simply remove some words 2024-12-14 20:36:17 -08:00
Hugo Locurcio
806a4fccfd Add a page on the Output bottom panel 2024-12-07 08:40:44 +01:00
Takapapatapaka
de6879b237 Update functions names in example code to match 4.x nomenclature
Changed the function to override theme font color from "add_color_override" to "add_theme_color_override", as the previous version is not recognized by my 4.3 Godot Editor. 

Judging by the documentation archives, it seems that "add_color_override" was the version used in Godot 3.

From Control's 4.3 documentation, it seems C# functions have also been updated to include Theme in their name. It would make sense, so I updated it too, but I'm not 100% sure it actually works this way.
2024-12-04 16:43:28 +01:00
Tyson Nottingham
e488391d36 Use Stretch Ratio instead of prior Ratio terminology 2024-11-23 12:29:35 -08:00
Hugo Locurcio
f10432656c Document focus StyleBox caveats in Introduction to GUI skinning 2024-11-23 18:31:16 +01:00
Hugo Locurcio
bebd5b86c4 Add color constants reference to BBCode in RichTextLabel
This reference is already present in the Color class reference,
but this embeds it directly in the page to save users a click.
2024-11-11 16:27:14 +01:00
Mikael
a362a0a7f2 Update "Size and anchors" to reflect Godot 4.3 terminology (#10216)
Changed relevant occurences of margin with "anchor offset" or "offset".

Also reworded paragraph about aspect ratios, as it included information that may not necessarily be correct.

Also replaced images with newer versions.
2024-11-09 00:08:04 +01:00
tetrapod00
5994348764 Change all usages of "run-time" to "runtime" 2024-11-06 23:36:58 -08:00
tetrapod00
a8667ffddf Add links to project setting mentions 2024-11-05 11:55:14 -08:00
Andrew Price
68a83880e5 Fix duplicate "glyph_spacing" in bbcode docs
The correct name for the space spacing option is space_spacing.
2024-09-21 13:10:38 +01:00
Max Hilbrunner
4361f19daf Merge pull request #9963 from ELginas/patch-2
Typo fix in bbcode_in_richtextlabel.rst
2024-09-17 00:21:33 +02:00
ELginas
7b9e7dfaed Remove unnecessary ` in bbcode_in_richtextlabel.rst 2024-09-16 18:03:22 +03:00
ELginas
2b34eb658c Typo fix in bbcode_in_richtextlabel.rst 2024-09-16 17:52:28 +03:00
Hugo Locurcio
709fe6aab2 Add variable font weight table to Using fonts 2024-08-01 03:17:07 +02:00
Hugo Locurcio
f039df956c Link to class reference BBCode syntax subset in BBCode in RichTextLabel 2024-07-14 21:15:43 +02:00
bruvzg
dd74ee5345 Sync BBCode tutorial page with features added in 4.3. 2024-06-14 11:51:43 +03:00
A Thousand Ships
bd6cc665a7 Fix incorrect uses of a/an 2024-03-29 15:14:27 +01:00
i'DLisT
fecc91f4b2 Update to newer CustomMinimumSize API 2024-02-08 23:20:19 +08:00
Yevhen Babiichuk (DustDFG)
6c7b0917bb Update gui_using_fonts.rst
Add link to *open-source* alternative of BMFont editor
2024-02-01 20:16:38 +02: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
Lulu
a0ce0dd4e3 Corrected closing in example for [lang] tag 2023-12-18 18:24:29 +01:00
Hugo Locurcio
f9817954c7 Remove unused images
This reduces the size of ZIP downloads for offline reading.

Unused images were found by running `_tools/list-unused-images.sh`.
These images were used in Godot 2.x and 3.x documentation,
but have been replaced by remade images with different names since.
2023-11-13 21:57:19 +01:00
Max Hilbrunner
2958e6d168 Merge pull request #8410 from Calinou/using-fonts-outline-shadow
Document setting up font outline, shadow and MSDF in Using fonts
2023-11-11 02:29:45 +01:00
Max Hilbrunner
455140b958 Merge pull request #8442 from Calinou/using-fonts-system-fonts-android-unreliable
Mark Android system font loading as unreliable in Using fonts
2023-11-10 22:26:59 +01:00
Yuri Sizov
cd92be066d Update references to private class methods across the docs 2023-11-10 16:06:36 +01:00
Hugo Locurcio
fc911e7433 Mark Android system font loading as unreliable in Using fonts 2023-11-10 12:08:43 +01:00
Hugo Locurcio
7e802135d5 Document setting up font outline, shadow and MSDF in Using fonts
Screenshots were previously committed but were unused, as I previously
forgot to write these sections.
2023-11-07 18:06:28 +01:00
Matthew
d8a2cf9332 Merge pull request #8404 from ershn/patch-3
Replace `,` with `.` in `gui_containers.rst`
2023-11-06 22:03:11 -05:00
Steven Le Boëdec
06efb133b4 Replace , with . in gui_containers.rst 2023-11-07 11:06:03 +09:00
Steven Le Boëdec
edb966aecc Remove extra the in tutorials/ui/index.rst 2023-11-07 09:51:57 +09:00