Commit Graph

18 Commits

Author SHA1 Message Date
Leonardo Jeanteur
428106f910 Correct grammar, formatting and add download link (#3860)
Add a link to Godot Engine's download page.
2020-08-02 22:02:32 +02:00
Rémi Verschelde
39dbbb29e1 Images: always use relative 'img/' paths, without './' prefix
Move some files from root '/img' folder to the location where they are
actually used.
2020-06-05 14:38:25 +02:00
Max Hilbrunner
be931dc655 Merge pull request #3546 from Calinou/gdscript-warning-system-split
Split the GDScript warning system documentation into its own page
2020-05-17 15:55:50 +02:00
Hugo Locurcio
9e57202866 Split the GDScript warning system documentation into its own page
It's not strictly related to static typing, as it can work without it
(e.g. to signal unreachable code).
2020-05-17 01:01:59 +02:00
Hugo Locurcio
d494d19dac Remove trailing whitespace and irregular whitespace 2020-05-17 00:26:19 +02:00
Rémi Verschelde
e6b00ca97a Misc formatting fixes 2020-04-27 12:17:47 +02:00
Frederick Kramer Dal Pra
efa4e6ef5f Safe line vs Unsafe line unclear label (#3366)
Although line 6 is safe, line 7, that actually is what the paragraph talking about, is unsafe and line 8 is safe.
The way it was before, it was in reverse order, making it confusing which is safe and which is not. So I changed the order to be as the picture.
To further assure it is clear, I added the line numbers in parentheses.
The parentheses could be excessive verbosity, but the order importance stands. I believe it was confusing before.
Alternatively, the picture could be changed, having the safe line first. Then it's clearer as the unsafe line it's the only one different and the order would be also correct; 2 safe lines, one unsafe for last. Specifying the lines would not be needed then.
2020-04-12 13:58:40 +02:00
Michael Alexsander
95784cf94f General formating fixes for GDScript scripting pages (#3248) 2020-03-06 20:28:58 +01:00
Kaligule
97b8ad885b Document all comments that disable warnings
These are the 3 types that I found in the code:

- # warning-ignore:id_of_warning
- # warning-ignore-all:id_of_warning
- # warnings-disable

I found them at 24e1039eb6/modules/gdscript/gdscript_tokenizer.cpp (L558)
If there are any more they should also be added.
2019-09-17 22:33:07 +02:00
Henrique Campos
c602bc4aa8 Fix wrong type on replacing callback's types example 2019-03-30 09:45:39 -03:00
Chris Bradfield
41b67909fe Minor tutorial fixes for 3.1 2019-03-20 18:35:40 -07:00
Rémi Verschelde
739ea5eeb9 Fix most Sphinx warnings 2019-01-07 12:14:46 +01:00
Rémi Verschelde
8a49da6da5 Fix internal links to use proper :ref: syntax 2018-12-13 12:05:35 +01:00
corrigentia
0fa68362af Fix some grammar in static_typing.rst (#1982) 2018-12-07 15:26:00 +01:00
Vallentin
cd4353790f Fixed typos (#1906) 2018-11-20 09:44:00 +01:00
Rémi Verschelde
e3b9e56516 Fix capitalization of some headers 2018-10-25 15:52:04 +02:00
Michael Alexsander Silva Dias
5c25e67bbf Make new typed guide have the default syntax 2018-09-21 14:44:12 -03:00
Nathan Lovato
3515f10555 Add intro to typed gdscript
Same article as http://gdquest.com/tutorial/game-design/godot/gdscript/typed-gdscript/, ported to RST
@vnen reviewed the content already, and I improved the article based on
his feedback.

Co-authored-by: Guilherme Henrique Teixeira de Oliveira <htoguilherme@gmail.com>
2018-09-21 07:32:44 +09:00