Commit Graph

24 Commits

Author SHA1 Message Date
Ste
3a50eec76b read classes from file when lexing 2025-09-13 21:22:51 +02:00
Ste
5ebeb22bd0 expands the pygments lexer to cover GDScript 2 better 2025-09-02 14:51:01 +02:00
Danil Alexeev
7a7ac7dc2d GDScript: Document abstract and variadic functions 2025-06-24 10:25:49 +03:00
Danil Alexeev
d610bfdf23 GDScript: Document @warning_ignore_start and @warning_ignore_restore 2024-12-23 23:58:46 +03:00
Danil Alexeev
b646c65bed Update GDScript syntax highlighter 2024-10-31 19:48:19 +03:00
Hugo Locurcio
5c4342caa4 Fix keywords for Vector in GDScript syntax highlighting
- Add Vector4 and Vector4i to syntax highlighting.
- Removed nonexistent PackedVector2iArray and PackedVector3iArray.
2024-09-04 20:34:16 -04:00
Hugo Locurcio
4726e131db Document PackedVector4Array
This type was added in Godot 4.3.
2024-09-02 22:21:50 +02:00
dylannorthrup
0a01baec10 Fix epub-related failures (#8207)
* Append closing "/" to meta description tag; do not add new description tag if one already exists

* Add closing "/" to all meta tags

* Remove URL parameters from css/js paths to fix ThemeError

* Updating package versions to reflect the latest versions in the readthedocs github repo

* noop change to trigger CI workflow

* Add verbose option to "pip3 install"

* Update python version to 3.9

* Debug Iteration

* Revert CI testing changes

* Revert module upgrades and changes it required

* Update _extensions/godot_descriptions.py

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-11-25 19:01:44 +01:00
Thaddeus Crews
131491cc8b Update GDScript lexer
• Better identification of number literals
• Properly denote whitespace
• Treat "void" as type for highlighting
2023-10-27 11:31:59 -05:00
Danil Alexeev
da3f1a1275 GDScript: Document match pattern guards 2023-09-29 14:28:44 +03:00
Hugo Locurcio
1dd38c2e4a Use different color for control flow keywords in GDScript syntax highlighting
This matches the Godot script editor's behavior.

Note that this does not apply to C# and shaders
(which currently use GLSL highlighting), as it would require copying
their respective highlighters to this repository and modifying them.
2023-07-27 11:39:06 +02:00
Max Hilbrunner
7d5fb4e6a2 Various fixups 2023-03-23 03:13:29 +01:00
Hana
1395a928b5 update the gdscript highlighter 2023-01-10 20:15:45 +01:00
Hugo Locurcio
c2d13c9ae4 Update GDScript syntax highlighting for Godot 4.0 2022-02-14 14:06:21 +01:00
Markus Sauermann
aaf6b3e504 Update tutorials: Rename Transform to Transform3D (#5603) 2022-02-14 13:27:37 +01:00
Max Hilbrunner
45c9248c06 Update GDScriptLexer to GDScript 2.0 2021-07-12 12:14:57 +02:00
Max Hilbrunner
ca68069024 Fix Sphinx warning about GDScriptLexer 2021-07-06 07:00:10 +02:00
Rémi Verschelde
0a087e730f Update copyrights to 2021 2021-03-19 14:02:00 +01:00
Hugo Locurcio
cf655aa176 Revert "Fix Sphinx add_lexer() deprecation in the GDScript extension (#4594)"
This broke the build.

This reverts commit 1f8dcbeee7.
2021-02-05 23:40:32 +01:00
Hugo Locurcio
1f8dcbeee7 Fix Sphinx add_lexer() deprecation in the GDScript extension (#4594)
This closes #4593.
2021-01-28 00:57:51 +01:00
Hugo Locurcio
7b60dd1794 Escape double quotes for meta descriptions in HTML
If this not done, some descriptions will be closed earlier than intended.
2020-09-25 12:02:28 +02:00
Max Hilbrunner
2927a912a5 Create Sphinx extension to generate HTML meta description tags 2020-05-02 21:34:02 +02:00
Yuri Sizov
075acc61b0 Replace Pool*Arrays with Packed*Arrays in tutorials and references 2020-03-17 11:15:34 +03:00
Rémi Verschelde
463f1df6b0 Rename extensions to _extensions
To properly show that it's not a docs content folder but related
to the buildsystem.
2020-03-16 13:37:24 +01:00