Commit Graph

225 Commits

Author SHA1 Message Date
Thaddeus Crews b6c2548c81 Merge pull request #117596 from Calinou/doc-tools-fix-rounding
Fix some classes being incorrectly marked as 100% documented in `doc_status.py`
2026-06-19 12:05:52 -05:00
Edward Chan 824dbc5aed Fixed IndexError caused by debug_tag_stack.pop() and added new error messages. 2026-06-08 19:04:00 -04:00
Danil Alexeev 32d1f518fa Improve editor-only class checking 2026-03-25 17:07:39 +03:00
Hugo Locurcio f352235b89 Fix some classes being incorrectly marked as 100% documented in doc_status.py 2026-03-18 22:36:52 +01:00
Edward Chan b27f6a7ef2 Removed existing nested tags and added warnings for nested tags. 2026-03-17 11:50:06 -04:00
Thaddeus Crews aeef4fff6d CI: Fix executable perms for various files 2025-12-15 11:23:03 -06:00
Thaddeus Crews 11fc998368 SCons: Integrate annotations where relevant
• Expand Ruff linter to catch & upgrade legacy type-hint syntax
2025-11-22 13:22:31 -06:00
Danil Alexeev 0b20ae2e87 Add missing warning about copying packed arrays to EditorHelpBit 2025-11-11 14:23:56 +03:00
Rémi Verschelde 6e33e3b7af makerst: Skip generated header for translations
This reduces diff size on branch updates for godot-docs-l10n.

(cherry picked from commit eca3785100cd9b42e000eafa22bf14b41d2e0223)
2025-09-30 13:32:46 +02:00
Thaddeus Crews 3315dd3c60 Merge pull request #110276 from Cykyrios/annotations-descriptions-group
make_rst.py: Add missing rst-class to annotation descriptions
2025-09-18 21:02:29 -05:00
Lukas Tenbrink 527f4e9e68 Update class reference contribution link. 2025-09-10 16:50:44 +02:00
Cyril B. c7d0cb8072 Add missing descriptions-group to annotation descriptions 2025-09-05 17:34:39 +02:00
skyace65 94fc2efaa2 Fix spinbox formatting to fix linking 2025-07-23 06:58:16 -04:00
kobewi 13f642d959 Replace XML codeblock spaces with tabs 2025-06-06 14:35:38 +02:00
Haoyu Qiu 1ca5bc2d04 Doc: Add "required" qualifier to methods 2025-06-05 21:41:07 +08:00
Thaddeus Crews 2b1f463de5 SCons: Refactor color.py 2025-03-25 12:27:35 -05:00
Edward Moulsdale d7a9a9a951 Support NO_COLOR environment variable in doc_status.py 2025-03-23 18:21:52 +00:00
tetrapod 75bb2c57ac Add parentheses to method links in online class reference 2025-02-07 15:36:25 -08:00
Thaddeus Crews 382c760ea6 SCons: Apply new ruff/mypy fixes 2025-02-03 09:55:09 -06:00
Thaddeus Crews a29294fddc SCons: Refactor color output implementation 2025-01-07 18:44:53 -06:00
Thaddeus Crews d8761f2c79 SCons: Improve colored output 2024-12-10 11:44:48 -06:00
Danil Alexeev ba943e4481 Adjust make_rst.py for GDScript documentation 2024-11-30 11:48:14 +03:00
Danil Alexeev 03b05cf9ac Core: Fix built-in enum constant bindings 2024-11-22 14:03:21 +03:00
Rémi Verschelde d5aadc38b4 Merge pull request #97337 from Ivorforce/patch-1
In make_rst.py, include the parent class in 'Inherits:' even if it is not known.
2024-09-23 12:34:19 +02:00
Lukas Tenbrink 21fb753bbd Fix a typo in make_rst.py (Packedfloat64Array -> PackedFloat64Array) 2024-09-22 21:09:08 +02:00
Lukas Tenbrink 50ad99bdc0 In make_rst.py, include the parent class in 'Inherits:' even if it is not known. 2024-09-22 20:56:20 +02:00
Rémi Verschelde 0b4ae20156 Merge pull request #78656 from Repiteo/typed-dictionary
Implement typed dictionaries
2024-09-06 22:38:13 +02:00
Thaddeus Crews 9853a69144 Implement typed dictionaries 2024-09-04 10:27:26 -05:00
Danil Alexeev 2dd043d1f6 Docs: Add missing deprecated/experimental tag support for theme items 2024-09-04 17:49:05 +03:00
Ricardo Buring b280bc0d7f Class reference: Add self-links to methods, properties, etc. 2024-05-26 09:54:17 +02:00
Jakub Marcowski d9f8ef68df Update pre-commit hooks configuration to use ruff instead of black 2024-05-21 18:02:29 -05:00
Thaddeus Crews a9810cffb4 SCons: Fix potential Windows ANSI exception 2024-05-18 13:14:31 -05:00
K. S. Ernest (iFire) Lee f9b488508c Add PackedVector4Array Variant type
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-05-03 00:58:27 +02:00
A Thousand Ships 23782b898b Add further details on properties returning Packed*Array 2024-04-08 11:35:27 +02:00
Danil Alexeev ca486985d5 Documentation: Fix RST generation for [codeblock lang=text] 2024-03-11 10:24:09 +03:00
Thaddeus Crews fb299d0fb1 SCons: Ensure with statement where applicable 2024-03-10 12:57:57 -05:00
Thaddeus Crews d9fa40f2df Enforce \n eol for Python writes
• Ensure utf-8 encoding if previously unspecified
2024-03-09 14:29:24 -06:00
Danil Alexeev 87718d2a6e Editor Help: Add syntax highlighting for code blocks 2024-03-09 00:02:31 +03:00
Abel Toy 882441a0ad Support Array and PackedArray in @export_* 2024-03-06 16:17:54 +09:00
Danil Alexeev 8ed19d1a24 Make RST docs consistent with Editor Help docs 2024-02-19 20:03:27 +03:00
Danil Alexeev 12c86c6716 Documentation: Treat deprecated/experimental members as documented 2024-02-16 17:15:33 +03:00
Danil Alexeev af28f87791 Documentation: Add support for deprecated/experimental messages 2024-02-15 15:59:50 +03:00
RedMser db798b29b2 Add keywords to the class reference
Allows for finding methods, properties, signals, constants,
theme items and annotations more easily.

- Allow "keywords" attribute in aforementioned locations
  in the class reference XMLs
- Extends doctool, to preserve these attributes
- Update the XSD schema for the class reference
- Update the RST generator to include a meta tag for class keywords
- Update the editor help to support filtering by keywords
2024-02-09 18:13:23 +01:00
Micky 0b02b9571c Add "missing description" tag to constant documentation
Revives #85836

Co-Authored-By: krysperz2 <106302189+krysperz2@users.noreply.github.com>
2024-01-16 18:33:33 +01:00
Rémi Verschelde 079d58be9c Merge pull request #86971 from YuriSizov/makerst-parity-check
Add code sample language parity check to `make_rst.py`
2024-01-16 15:07:40 +01:00
Hugo Locurcio cd3078e45b makerst: Suggest using [code skip-lint] to skip warnings if intended 2024-01-15 15:09:21 +01:00
Yuri Sizov bba3c70722 Add code sample language parity check to make_rst.py 2024-01-15 14:38:04 +01:00
Micky 46b0f3e9d6 Fixing some reports to String's documentation
Closes https://github.com/godotengine/godot-docs/issues/8043
Closes https://github.com/godotengine/godot-docs/issues/8044
Mitigates https://github.com/godotengine/godot-docs/issues/8190
Closes https://github.com/godotengine/godot/issues/86734
2024-01-10 12:21:08 +01:00
Haoyu Qiu 9c83d3db5b Fix missing heading in translated online class reference 2023-12-07 11:35:06 +08:00
Mikael Klasson 4986d6d317 Fix invalid Python escape sequences 2023-12-06 11:51:41 +09:00