Переглянути джерело

Move downloadable files to `files` subfolders next to each doc page

Rémi Verschelde 7 роки тому
батько
коміт
786c89923d

+ 0 - 0
files/class_tree.zip → development/cpp/files/class_tree.zip


+ 1 - 1
development/cpp/inheritance_class_tree.rst

@@ -26,4 +26,4 @@ Spatial
 
 
 .. image:: img/Spatial.png
 .. image:: img/Spatial.png
 
 
-Source files: :download:`class_tree.zip </files/class_tree.zip>`.
+Source files: :download:`class_tree.zip <files/class_tree.zip>`.

+ 1 - 1
learning/features/animation/cutout_animation.rst

@@ -60,7 +60,7 @@ character, created by Andreas Esau.
 
 
 .. image:: img/tuto_cutout_walk.gif
 .. image:: img/tuto_cutout_walk.gif
 
 
-Get your assets: :download:`gbot_resources.zip </files/gbot_resources.zip>`.
+Get your assets: :download:`gbot_resources.zip <files/gbot_resources.zip>`.
 
 
 Setting up the rig
 Setting up the rig
 ~~~~~~~~~~~~~~~~~~
 ~~~~~~~~~~~~~~~~~~

+ 0 - 0
files/gbot_resources.zip → learning/features/animation/files/gbot_resources.zip


+ 0 - 0
files/skin_assets.zip → learning/features/gui/files/skin_assets.zip


+ 1 - 1
learning/features/gui/gui_skinning.rst

@@ -119,7 +119,7 @@ controls.
 Example: theming a button
 Example: theming a button
 --------------------------
 --------------------------
 
 
-Take some assets (:download:`skin_assets.zip </files/skin_assets.zip>`),
+Take some assets (:download:`skin_assets.zip <files/skin_assets.zip>`),
 go to the "theme" menu and select "Add Class Item":
 go to the "theme" menu and select "Add Class Item":
 
 
 .. image:: img/themeci.png
 .. image:: img/themeci.png

+ 1 - 1
learning/features/misc/background_loading.rst

@@ -218,7 +218,7 @@ Example class
 -------------
 -------------
 
 
 You can find an example class for loading resources in threads here:
 You can find an example class for loading resources in threads here:
-:download:`resource_queue.gd </files/resource_queue.gd>`. Usage is as follows:
+:download:`resource_queue.gd <files/resource_queue.gd>`. Usage is as follows:
 
 
 ::
 ::
 
 

+ 0 - 0
files/resource_queue.gd → learning/features/misc/files/resource_queue.gd


+ 0 - 0
files/kbscene.zip → learning/features/physics/files/kbscene.zip


+ 1 - 1
learning/features/physics/kinematic_character_2d.rst

@@ -68,7 +68,7 @@ Scene setup
 ~~~~~~~~~~~
 ~~~~~~~~~~~
 
 
 To have something to test, here's the scene (from the tilemap tutorial):
 To have something to test, here's the scene (from the tilemap tutorial):
-:download:`kbscene.zip </files/kbscene.zip>`. We'll be creating a new scene
+:download:`kbscene.zip <files/kbscene.zip>`. We'll be creating a new scene
 for the character. Use the robot sprite and create a scene like this:
 for the character. Use the robot sprite and create a scene like this:
 
 
 .. image:: img/kbscene.png
 .. image:: img/kbscene.png

+ 1 - 1
learning/step_by_step/animations.rst

@@ -11,7 +11,7 @@ animation system is extremely powerful and flexible.
 
 
 To begin, let's just use the scene from the previous tutorial (:ref:`doc_splash_screen`).
 To begin, let's just use the scene from the previous tutorial (:ref:`doc_splash_screen`).
 The goal is, to add a simple animation to it. Here's a copy
 The goal is, to add a simple animation to it. Here's a copy
-just in case: :download:`robisplash.zip </files/robisplash.zip>`.
+just in case: :download:`robisplash.zip <files/robisplash.zip>`.
 
 
 Creating the animation
 Creating the animation
 ----------------------
 ----------------------

+ 0 - 0
files/autoload.zip → learning/step_by_step/files/autoload.zip


+ 0 - 0
files/dodge_assets.zip → learning/step_by_step/files/dodge_assets.zip


+ 0 - 0
files/instancing.zip → learning/step_by_step/files/instancing.zip


+ 0 - 0
files/pong_assets.zip → learning/step_by_step/files/pong_assets.zip


+ 0 - 0
files/robisplash.zip → learning/step_by_step/files/robisplash.zip


+ 0 - 0
files/robisplash_assets.zip → learning/step_by_step/files/robisplash_assets.zip


+ 1 - 1
learning/step_by_step/instancing.rst

@@ -34,7 +34,7 @@ Instancing, step by step
 ------------------------
 ------------------------
 
 
 To learn how to do instancing, let's start with downloading a sample
 To learn how to do instancing, let's start with downloading a sample
-project: :download:`instancing.zip </files/instancing.zip>`.
+project: :download:`instancing.zip <files/instancing.zip>`.
 
 
 Unzip this project anywhere you like. Then, open Godot and add this project to
 Unzip this project anywhere you like. Then, open Godot and add this project to
 the project manager using the 'Import' option:
 the project manager using the 'Import' option:

+ 1 - 1
learning/step_by_step/simple_2d_game.rst

@@ -16,7 +16,7 @@ Assets
 ~~~~~~
 ~~~~~~
 
 
 Some assets are included for this tutorial:
 Some assets are included for this tutorial:
-:download:`pong_assets.zip </files/pong_assets.zip>`. Unzip its content
+:download:`pong_assets.zip <files/pong_assets.zip>`. Unzip its content
 in your project folder.
 in your project folder.
 
 
 Scene setup
 Scene setup

+ 1 - 1
learning/step_by_step/singletons_autoload.rst

@@ -60,7 +60,7 @@ method suffices (described in :ref:`doc_scene_tree`), so this method is for
 more complex behavior when switching between scenes.
 more complex behavior when switching between scenes.
 
 
 First download the template from here:
 First download the template from here:
-:download:`autoload.zip </files/autoload.zip>`, then open it.
+:download:`autoload.zip <files/autoload.zip>`, then open it.
 
 
 Two scenes are present, scene_a.tscn and scene_b.tscn on an otherwise
 Two scenes are present, scene_a.tscn and scene_b.tscn on an otherwise
 empty project. Each are identical and contain a button connected to a
 empty project. Each are identical and contain a button connected to a

+ 1 - 1
learning/step_by_step/splash_screen.rst

@@ -12,7 +12,7 @@ splash screen.
 
 
 Following is a file with the assets that will be used. These can be added directly to your project folder - no need to import them:
 Following is a file with the assets that will be used. These can be added directly to your project folder - no need to import them:
 
 
-:download:`robisplash_assets.zip </files/robisplash_assets.zip>`.
+:download:`robisplash_assets.zip <files/robisplash_assets.zip>`.
 
 
 Setting up
 Setting up
 ----------
 ----------

+ 1 - 1
learning/step_by_step/your_first_game.rst

@@ -29,7 +29,7 @@ Project Setup
 -------------
 -------------
 
 
 Launch Godot and create a new project. Then, download
 Launch Godot and create a new project. Then, download
-:download:`dodge_assets.zip </files/dodge_assets.zip>` - the images and sounds you'll be
+:download:`dodge_assets.zip <files/dodge_assets.zip>` - the images and sounds you'll be
 using to make the game. Unzip these files in your new project folder.
 using to make the game. Unzip these files in your new project folder.
 
 
 .. note:: For this tutorial, we will assume you are already familiar with the
 .. note:: For this tutorial, we will assume you are already familiar with the