Pārlūkot izejas kodu

Rename files so that they all have uniques names

To build references in the next commit.
Rémi Verschelde 9 gadi atpakaļ
vecāks
revīzija
e5ed8c1728

+ 0 - 0
classes/index.rst → classes/_classes.rst


+ 6 - 1
conf.py

@@ -10,7 +10,7 @@ import os
 needs_sphinx = '1.3'
 
 # Sphinx extension module names and templates location
-extensions = []
+extensions = ['sphinx.ext.intersphinx']
 templates_path = ['_templates']
 
 # You can specify multiple suffix as a list of string: ['.rst', '.md']
@@ -39,6 +39,11 @@ exclude_patterns = ['_build']
 pygments_style = 'sphinx'
 highlight_language = 'python3'
 
+# intersphinx configuration
+intersphinx_mapping = {
+  'english': ('http://docs.godotengine.org/en/latest/', None),
+}
+
 # -- Options for HTML output ----------------------------------------------
 
 # on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org

+ 0 - 0
contributing/index.rst → contributing/_contributing.rst


+ 8 - 8
index.rst

@@ -17,21 +17,21 @@ The main documentation for the site is organized into a few sections:
    :caption: Tutorials
    :name: sec-tutorials
 
-   tutorials/step_by_step/index
-   tutorials/engine/index
-   tutorials/2d/index
-   tutorials/3d/index
+   tutorials/step_by_step/_step_by_step
+   tutorials/engine/_engine
+   tutorials/2d/_2d
+   tutorials/3d/_3d
    tutorials/_networking
    tutorials/_plugins
-   tutorials/_misc
-   tutorials/asset_pipeline/index
+   tutorials/_misc_tutorials
+   tutorials/asset_pipeline/_asset_pipeline
 
 .. toctree::
    :maxdepth: 1
    :caption: Reference
    :name: sec-reference
 
-   classes/index
+   classes/_classes
    reference/_languages
    reference/_cheat_sheets
    reference/_compiling
@@ -42,7 +42,7 @@ The main documentation for the site is organized into a few sections:
    :caption: Community
    :name: sec-community
 
-   contributing/index
+   contributing/_contributing
 
 .. Indices and tables
 .. ------------------

+ 1 - 1
reference/_advanced.rst

@@ -7,4 +7,4 @@ Advanced
 
    _developing
    _formats
-   _misc
+   _misc_ref

+ 1 - 1
reference/_misc.rst → reference/_misc_ref.rst

@@ -3,7 +3,7 @@ Misc
 
 .. toctree::
    :maxdepth: 1
-   :name: toc-advanced-misc
+   :name: toc-misc-ref
 
    command_line_tutorial
    changing_editor_fonts

+ 3 - 3
tutorials/2d/index.rst → tutorials/2d/_2d.rst

@@ -5,6 +5,6 @@
    :maxdepth: 2
    :name: toc-2d-tutorials
 
-   _graphics
-   _gui
-   _physics
+   _2d_graphics
+   _2d_gui
+   _2d_physics

+ 0 - 0
tutorials/2d/_graphics.rst → tutorials/2d/_2d_graphics.rst


+ 0 - 0
tutorials/2d/_gui.rst → tutorials/2d/_2d_gui.rst


+ 0 - 0
tutorials/2d/_physics.rst → tutorials/2d/_2d_physics.rst


+ 3 - 3
tutorials/3d/index.rst → tutorials/3d/_3d.rst

@@ -5,6 +5,6 @@
    :maxdepth: 2
    :name: toc-3d-tutorials
 
-   _graphics
-   _physics
-   _import
+   _3d_graphics
+   _3d_physics
+   _3d_import

+ 0 - 0
tutorials/3d/_graphics.rst → tutorials/3d/_3d_graphics.rst


+ 0 - 0
tutorials/3d/_import.rst → tutorials/3d/_3d_import.rst


+ 0 - 0
tutorials/3d/_physics.rst → tutorials/3d/_3d_physics.rst


+ 0 - 0
tutorials/_misc.rst → tutorials/_misc_tutorials.rst


+ 0 - 0
tutorials/asset_pipeline/index.rst → tutorials/asset_pipeline/_asset_pipeline.rst


+ 0 - 0
tutorials/engine/index.rst → tutorials/engine/_engine.rst


+ 0 - 0
tutorials/step_by_step/index.rst → tutorials/step_by_step/_step_by_step.rst