Skip to content

Commit 0606a8e

Browse files
committed
Move tutorial ZIPs to a dedicated repository
1 parent 01a9212 commit 0606a8e

23 files changed

+38
-19
lines changed

contributing/documentation/contributing_to_the_documentation.rst

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,15 +165,31 @@ a meaningful name and include them in your page with:
165165

166166
.. code:: rst
167167
168-
.. image:: img/image_name.png
168+
.. image:: img/image_name.webp
169169
170-
Similarly, you can include attachments, like assets as support material for a
171-
tutorial, by placing them into a ``files/`` folder next to the ``.rst`` file, and
172-
using this inline markup:
170+
Alternatively, you can use the `figure` directive, which gives the image a contrasting
171+
border and allows centering it on the page.
173172

174173
.. code:: rst
175174
176-
:download:`myfilename.zip <files/myfilename.zip>`
175+
.. figure:: img/image_name.webp
176+
:align: center
177+
178+
You can also include attachments as support material for a tutorial, by placing them
179+
into a ``files/`` folder next to the ``.rst`` file, and using this inline markup:
180+
181+
.. code:: rst
182+
183+
:download:`file_name.zip <files/file_name.zip>`
184+
185+
Consider using the `godot-docs-project-starters <https://github.com/godotengine/godot-docs-project-starters>`
186+
repository for hosting support materials, such as project templates and asset packs.
187+
You can use a direct link to the generated archive from that repository with the regular
188+
link markup:
189+
190+
.. code:: rst
191+
192+
`file_name.zip <https://github.com/godotengine/godot-docs-project-starters/releases/download/latest-4.x/file_name.zip>`_
177193
178194
179195
License

getting_started/first_2d_game/01.project_setup.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ Launch Godot and create a new project.
1212
.. tabs::
1313
.. tab:: GDScript
1414

15-
Download :download:`dodge_assets.zip <files/dodge_assets.zip>`.
15+
Download `dodge_the_creeps_2d_assets.zip <https://github.com/godotengine/godot-docs-project-starters/releases/download/latest-4.x/dodge_the_creeps_2d_assets.zip>`_.
1616
The archive contains the images and sounds you'll be using
1717
to make the game. Extract the archive and move the ``art/``
1818
and ``fonts/`` directories to your project's directory.
1919

2020
.. tab:: C#
2121

22-
Download :download:`dodge_assets.zip <files/dodge_assets.zip>`.
22+
Download `dodge_the_creeps_2d_assets.zip <https://github.com/godotengine/godot-docs-project-starters/releases/download/latest-4.x/dodge_the_creeps_2d_assets.zip>`_.
2323
The archive contains the images and sounds you'll be using
2424
to make the game. Extract the archive and move the ``art/``
2525
and ``fonts/`` directories to your project's directory.
-1.74 MB
Binary file not shown.

getting_started/first_2d_game/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ a 2D game.
1717
programming entirely, you should start here: :ref:`doc_scripting`.
1818

1919
The game is called "Dodge the Creeps!". Your character must move and avoid the
20-
enemies for as long as possible.
20+
enemies for as long as possible.
2121

2222
You will learn to:
2323

@@ -57,7 +57,7 @@ the code.
5757

5858
You can download them by clicking the link below.
5959

60-
:download:`dodge_assets.zip <files/dodge_assets.zip>`.
60+
`dodge_the_creeps_2d_assets.zip <https://github.com/godotengine/godot-docs-project-starters/releases/download/latest-4.x/dodge_the_creeps_2d_assets.zip>`_.
6161

6262
Contents
6363
--------
-40.6 KB
Binary file not shown.
-1.38 KB
Binary file not shown.

getting_started/step_by_step/instancing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ In practice
4242

4343
Let's use instancing in practice to see how it works in Godot. We invite
4444
you to download the ball's sample project we prepared for you:
45-
:download:`instancing.zip <files/instancing.zip>`.
45+
`instancing_starter.zip <https://github.com/godotengine/godot-docs-project-starters/releases/download/latest-4.x/instancing_starter.zip>`_.
4646

4747
Extract the archive on your computer. To import it, you need the Project Manager.
4848
The Project Manager is accessed by opening Godot, or if you already have Godot opened, click on *Project -> Quit to Project List* (:kbd:`Ctrl + Shift + Q`, :kbd:`Ctrl + Option + Cmd + B` on macOS)

tutorials/2d/2d_movement.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,4 +289,4 @@ You may find these code samples useful as starting points for your own projects.
289289
Feel free to use them and experiment with them to see what you can make.
290290

291291
You can download this sample project here:
292-
:download:`2D_movement_demo.zip <files/2D_movement_demo.zip>`
292+
`2d_movement_starter.zip <https://github.com/godotengine/godot-docs-project-starters/releases/download/latest-4.x/2d_movement_starter.zip>`_

tutorials/2d/2d_sprite_animation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ animation:
2828
.. image:: img/2d_animation_run_preview.gif
2929

3030
You can download the images here:
31-
:download:`run_animation.zip <files/run_animation.zip>`
31+
`2d_sprite_animation_assets.zip <https://github.com/godotengine/godot-docs-project-starters/releases/download/latest-4.x/2d_sprite_animation_assets.zip>`_
3232

3333
Unzip the images and place them in your project folder. Set up your scene tree
3434
with the following nodes:
-6.89 KB
Binary file not shown.

0 commit comments

Comments
 (0)