684 Commits

Author SHA1 Message Date
Rémi Verschelde
9ebe0dcae9 Add caution message that this is outdated documentation 2023-02-15 17:32:35 +01:00
Rémi Verschelde
a19c0c36a8 Add .readthedocs.yml to disable HTML/PDF/EPUB downloads 2021-05-06 16:49:34 +02:00
Rémi Verschelde
ed9afbbbf1 Add requirements.txt for old sphinx version used here
Our ReadTheDocs project config now specifies the use of a requirements.txt file
so builds for old branches started failing without it.

(cherry picked from commit 88a376822e)
2021-05-03 22:37:14 +02:00
Rémi Verschelde
89ed62af42 Remove controversial satirical piece 🔥
This piece was written back in 2014 before open sourcing Godot, and while its
intent is to be sarcastic, it leaves ample room for misinterpretation.

The intended meaning of this piece was, and always has been, the following:

Exploitative game mechanics suck. Games are a beautiful and artful medium
which can provide players with a wide range of experiences: entertainment,
enlightenment, joy, sadness... Games can be just for fun or they can bear
a message. They can connect people with each other or open the player's mind.

Make games worth your players' time and their money, and do your best to do so
while running a successful and respectful business. Hugs <3

(cherry picked from commit b872229427)
2021-03-04 11:19:31 +01:00
Max Hilbrunner
7b3dd2cf27 Create Sphinx extension to generate HTML meta description tags
(cherry picked from commit 2927a912a5)
2020-05-04 09:45:44 +02:00
Max Hilbrunner
2c286519b3 Prepend "(DEV)" to HTML titles if build locally/not on RTD
(cherry picked from commit 0b6d26e33d)
2020-05-04 09:45:44 +02:00
Max Hilbrunner
85fe19df42 Appease our great search engine overlords
This hopefully fixes all translated pages showing up in search engine results, and makes the STABLE version of each page canonical.
In turn, this allows us to re-enable indexing of the version-specific pages (see robots.txt changes), as search engines should prefer the canonical (stable) version, and only show the other versions if no canonical (stable) version exists (i.e. because that feature is only in latest, or was removed in stable).

It adds proper canonical links for all generated pages, and fixes the existing links between the various translations of a page by both ensuring the pages links to itself with the proper language tag, and by properly linking to the full path of other translated versions.

(cherry picked from commits:
- fd5f6f4909,
- e21df0671f,
- 24781e377b,
- 66d185d5d2,
- 3c79f3e321)

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-05-04 09:45:42 +02:00
Rémi Verschelde
d9672f86f0 conf.py: Format with black and rename extensions to _extensions
To match changes in master branch and ease cherrypicks.
2020-05-04 09:40:52 +02:00
Rémi Verschelde
2ccf1ab409 conf.py: Get version from RTD when available
(cherry picked from commit 605222c094)
2020-03-31 10:05:21 +02:00
Rémi Verschelde
08168d3afd Add robots.txt file to prevent indexing outdated docs
Cherry-picked from 2e37935e73b629fd9ecaabf958943cabc3ac825 and follow-ups.
2020-03-16 12:23:35 +01:00
Rémi Verschelde
dbec5c0a37 Make "Edit on GitHub" always point to master branch
Fixes #1138.

(cherry picked from commit 24f61b3648)
2019-05-15 14:50:07 +02:00
Hugo Locurcio
32f2e3c2ad Improve the Compiling for Android page
This mentions that Gradle will automatically download SDK components
(except the NDK, as it is used before Gradle is called).

(cherry picked from commits 012491d8b1
and 2514d3415c, with some more changes
from merge conflict resolution)
2019-05-06 11:31:16 +02:00
Rémi Verschelde
bfd4549c80 Shading: Fix type of texscreen builtin
Fixes godotengine/godot#3651.
2018-06-25 15:09:55 +02:00
Max Hilbrunner
5cd88f9857 Fix #958 2018-03-13 19:05:52 +01:00
Rémi Verschelde
5083ca4bee Add link to 3.0 docs in tip 2018-02-02 00:03:20 +01:00
Rémi Verschelde
2d2b967d21 Merge pull request #1077 from Kinrany/patch-2
Update physics_introduction.rst -- fixed a typo
2018-02-01 19:33:32 +01:00
Kinrany
a7d7d69e3f Update physics_introduction.rst -- fixed a typo 2018-02-01 20:47:17 +03:00
Rémi Verschelde
f0c19af301 Remove mentions to 2.1.3+ specific features, we're at 2.1.4 for a while now 2018-01-16 22:52:26 +01:00
Kurtis Harms
d05e23ba5e Added ClangFormat to IDE beautifier plugin list
(cherry picked from commit a5649d11e7)
2018-01-16 21:50:21 +01:00
Rémi Verschelde
1824d5603a Update copyright for 2018
Happy new year to all the documentation contributors!

(cherry picked from commit 4f6f991519)
2018-01-04 01:50:22 +01:00
Nathan Lovato
3b78a418cf Merge pull request #929 from hungrymonkey/issue_615
Fixes typo min -> max Fixes #615
2017-12-30 10:16:54 +01:00
Nathan Lovato
d5d494c8ab Merge pull request #932 from i-need-to-tell-you-something/patch-1
Update gdscript_advanced.rst
2017-12-30 10:16:40 +01:00
i-need-to-tell-you-something
6fa4bce2de Update gdscript_advanced.rst
Fix 2 typos.
2017-12-29 22:26:26 +02:00
cheeseburger
172ab12748 Fixes typo min -> max Fixes #615 2017-12-28 14:55:49 -08:00
Rémi Verschelde
3d015b0c7c Style: Min required clang-format version is now 5.0.0
(cherry picked from commit 15c7455abd)
2017-12-06 22:00:25 +01:00
Rémi Verschelde
ddf70575db Merge pull request #559 from dploeger/issue-526
Introduction to 2d animation added. #526
2017-10-26 12:37:14 +02:00
Dennis Ploeger
e6521082bb Introduction to 2d animation added. #526 2017-10-26 12:35:18 +02:00
Rémi Verschelde
2055154f30 Add master extensions to gitignore 2017-10-23 20:50:59 +02:00
Rémi Verschelde
3cc7e89aa0 Update instructions for cross-compilation with MinGW-w64
(cherry picked from commit 690aa9f58c)
2017-10-23 20:49:53 +02:00
Rémi Verschelde
e6a97cad7c Merge pull request #547 from N0hbdy/patch-1
Fix minor typo in Kinematic Character 2D page
2017-10-20 22:01:45 +02:00
Austen McRae
f45d1ee80a Fix minor typo in Kinematic Character 2D page
Just a small typo fix :)
2017-10-20 12:55:20 -07:00
Rémi Verschelde
0950a88a65 Merge pull request #505 from TheRealMisterFix/patch-1
Update scenes_and_nodes.rst - Clarification
2017-10-12 17:20:28 +02:00
David Fix
252dd4326a Update scenes_and_nodes.rst - Clarification
The Control node was not open by default when I ran through this tutorial, so I made small changes to clarify this.
2017-10-03 23:17:37 -04:00
Rémi Verschelde
53517d1d21 classref: Sync with current 2.1 source 2017-09-06 14:47:12 +02:00
Rémi Verschelde
6c9e0a39f0 Merge pull request #451 from toger5/patch-2
Update doc generation command line to new style
2017-08-31 19:13:53 +02:00
Timo
79d0580805 Update doc generation command line to new style 2017-08-31 19:11:16 +02:00
Rémi Verschelde
ab67772189 Merge pull request #426 from Nibodhika/patch-1
Last line gets read twice
2017-08-18 21:54:50 +02:00
Julian Murgia
a376bdae05 Merge pull request #442 from jcs224/patch-1
Grammar fix
2017-08-16 09:48:33 +02:00
Joe Sweeney
45ee501a20 Grammar fix
Changed "really bad" to "really badly". Should use adverb instead of adjective.
2017-08-15 16:55:52 -06:00
Rémi Verschelde
5e276c1ce8 Merge pull request #433 from Noshyaar/patch-2
[2.1] Simple2DGame: fix typo 'pad' to 'ball'
2017-08-01 22:02:06 +02:00
Poommetee Ketson
1f3d1b8dcb Simple2DGame: fix typo 'pad' to 'ball' 2017-08-02 01:03:18 +07:00
Nibodhika
9a3f273172 Last line gets read twice
because savegame.get_line() will consume the line, but eof_reached will only be reached when trying to read the next line the code inside the while gets called twice for the last line.

Which wouldn't be a problem, except currentline.parse_json(null) does not alter currentline.

I think an even better way would be

```
while (!savegame.eof_reached()):
    var line = savegame.get_line()
    if not line:
        continue

     currentline.parse_json(line)
     # Remaining code here
```
2017-07-30 12:05:47 -03:00
Rémi Verschelde
7a42f0e184 Merge pull request #424 from santouits/kinematic-stable
correct link to kinematic demo for the stable docs
2017-07-27 12:45:23 +02:00
santouits
23415b8635 correct link to kinematic demo for the stable docs 2017-07-27 13:28:10 +03:00
Rémi Verschelde
02d55cc95f Merge pull request #413 from Dillybob92/patch-3
Update background_loading.rst
2017-07-17 00:14:45 +02:00
Dillybob92
bcc8fdc24d Update background_loading.rst
get_progress, not get_process :P
2017-07-16 12:36:05 -07:00
Rémi Verschelde
f47d3e2a1d Merge pull request #411 from eska014/web-doc-2.1
HTML5 doc for 2.1
2017-07-16 15:47:16 +02:00
L. Krause
452e977e2b Update and clarify HTML5 doc
(cherry picked from commit 734db354d1)
2017-07-16 15:38:19 +02:00
Rémi Verschelde
c221f40b18 Contributing: Add docs about code style and clang-format
(cherry picked from commit 109adb657f)
2017-07-13 21:22:12 +02:00
ravenblackx
0daeffdffc Mention flipping and rotation
Add a paragraph about flipping and rotation in using_tilemaps.rst.
(The intuitive way to do this as a new user is flipping sprites in the tileset, which doesn't work.)

(cherry picked from commit fbc59870fb)
2017-07-13 17:32:32 +02:00