From 38ecf624bed967ae98097d592a7714234e7c136d Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sun, 15 Jul 2018 19:13:16 +0100 Subject: [PATCH] Add redirects --- _config.yml | 3 ++- _en/basics/folders.md | 1 + _en/basics/lua.md | 1 + _en/inventories/inventories.md | 1 + _en/inventories/itemstacks.md | 1 + _en/items/creating_textures.md | 1 + _en/items/node_drawtypes.md | 1 + _en/items/nodes_items_crafting.md | 1 + _en/map/abms.md | 1 + _en/map/environment.md | 1 + _en/map/lvm.md | 1 + _en/map/node_metadata.md | 1 + _en/players/chat.md | 1 + _en/players/chat_complex.md | 1 + _en/players/formspecs.md | 1 + _en/players/hud.md | 1 + _en/players/player_physics.md | 1 + _en/players/privileges.md | 1 + _en/players/sfinv.md | 1 + _en/quality/common_mistakes.md | 1 + _en/quality/luacheck.md | 1 + _en/quality/readmore.md | 1 + _en/quality/releasing.md | 1 + 23 files changed, 24 insertions(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 62aa90f..18e961b 100644 --- a/_config.yml +++ b/_config.yml @@ -2,8 +2,9 @@ sass: # nested (default), compact, compressed, expanded style: compressed -gems: +plugins: - jekyll-sitemap + - jekyll-redirect-from collections: en: diff --git a/_en/basics/folders.md b/_en/basics/folders.md index 235b36c..19eac7d 100644 --- a/_en/basics/folders.md +++ b/_en/basics/folders.md @@ -4,6 +4,7 @@ layout: default root: ../../ idx: 1.1 description: Learn how to make a mod folder, including init.lua, depends.txt and more. +redirect_from: /en/chapters/folders.html --- ## Introduction diff --git a/_en/basics/lua.md b/_en/basics/lua.md index 84e228b..7d33dcd 100644 --- a/_en/basics/lua.md +++ b/_en/basics/lua.md @@ -4,6 +4,7 @@ layout: default root: ../../ idx: 1.2 description: A basic introduction to Lua, including a guide on global/local scope. +redirect_from: /en/chapters/lua.html --- ## Introduction diff --git a/_en/inventories/inventories.md b/_en/inventories/inventories.md index e7ee920..2c1afff 100644 --- a/_en/inventories/inventories.md +++ b/_en/inventories/inventories.md @@ -3,6 +3,7 @@ title: Inventories layout: default root: ../../ idx: 5.2 +redirect_from: /en/chapters/inventories.html --- ## Introduction diff --git a/_en/inventories/itemstacks.md b/_en/inventories/itemstacks.md index 0a4e55a..ec7f270 100644 --- a/_en/inventories/itemstacks.md +++ b/_en/inventories/itemstacks.md @@ -3,6 +3,7 @@ title: ItemStacks layout: default root: ../../ idx: 5.1 +redirect_from: /en/chapters/itemstacks.html --- ## Introduction diff --git a/_en/items/creating_textures.md b/_en/items/creating_textures.md index 16c1e19..1bed113 100644 --- a/_en/items/creating_textures.md +++ b/_en/items/creating_textures.md @@ -4,6 +4,7 @@ layout: default root: ../../ idx: 2.2 description: An introduction to making textures in your editor of choice, an a guide on GIMP. +redirect_from: /en/chapters/creating_textures.html --- ## Introduction diff --git a/_en/items/node_drawtypes.md b/_en/items/node_drawtypes.md index 9b69927..81c589c 100644 --- a/_en/items/node_drawtypes.md +++ b/_en/items/node_drawtypes.md @@ -4,6 +4,7 @@ layout: default root: ../../ idx: 2.3 description: Guide to all drawtypes, including node boxes/nodeboxes and mesh nodes. +redirect_from: /en/chapters/node_drawtypes.html --- ## Introduction diff --git a/_en/items/nodes_items_crafting.md b/_en/items/nodes_items_crafting.md index 77a5ba2..fff8e8d 100644 --- a/_en/items/nodes_items_crafting.md +++ b/_en/items/nodes_items_crafting.md @@ -4,6 +4,7 @@ layout: default root: ../../ idx: 2.1 description: Learn how to register node, items, and craft recipes using register_node, register_item, and register_craft. +redirect_from: /en/chapters/nodes_items_crafting.html --- ## Introduction diff --git a/_en/map/abms.md b/_en/map/abms.md index cb8cad8..852822a 100644 --- a/_en/map/abms.md +++ b/_en/map/abms.md @@ -4,6 +4,7 @@ layout: default root: ../../ idx: 3.2 description: Learn how to make ABMs to change blocks. +redirect_from: /en/chapters/abms.html --- ## Introduction diff --git a/_en/map/environment.md b/_en/map/environment.md index 1e1b89b..e7bdac1 100644 --- a/_en/map/environment.md +++ b/_en/map/environment.md @@ -4,6 +4,7 @@ layout: default root: ../../ idx: 3.1 description: Basic operations like set_node and get_node +redirect_from: /en/chapters/environment.html --- ## Introduction diff --git a/_en/map/lvm.md b/_en/map/lvm.md index 5781980..48e4993 100644 --- a/_en/map/lvm.md +++ b/_en/map/lvm.md @@ -4,6 +4,7 @@ layout: default root: ../../ idx: 3.4 description: Learn how to use LVMs to speed up map operations. +redirect_from: /en/chapters/lvm.html --- ## Introduction diff --git a/_en/map/node_metadata.md b/_en/map/node_metadata.md index d1b73bf..9a4a59d 100644 --- a/_en/map/node_metadata.md +++ b/_en/map/node_metadata.md @@ -4,6 +4,7 @@ layout: default root: ../../ idx: 3.3 description: Using get_meta to obtain a NodeMetaRef. +redirect_from: /en/chapters/node_metadata.html --- ## Introduction diff --git a/_en/players/chat.md b/_en/players/chat.md index af81e93..c58dc25 100644 --- a/_en/players/chat.md +++ b/_en/players/chat.md @@ -4,6 +4,7 @@ layout: default root: ../../ idx: 4.2 description: Registering a chatcommand and handling chat messages with register_on_chat_message +redirect_from: /en/chapters/chat.html --- ## Introduction diff --git a/_en/players/chat_complex.md b/_en/players/chat_complex.md index d5b0c4c..e05cc7f 100644 --- a/_en/players/chat_complex.md +++ b/_en/players/chat_complex.md @@ -4,6 +4,7 @@ layout: default root: ../../ idx: 4.3 description: Use ChatCmdBuilder to make a complex chat command +redirect_from: /en/chapters/chat_complex.html --- ## Introduction diff --git a/_en/players/formspecs.md b/_en/players/formspecs.md index 55ead9a..93cb517 100644 --- a/_en/players/formspecs.md +++ b/_en/players/formspecs.md @@ -3,6 +3,7 @@ title: Formspecs layout: default root: ../../ idx: 4.5 +redirect_from: /en/chapters/formspecs.html --- ## Introduction diff --git a/_en/players/hud.md b/_en/players/hud.md index 05caa45..0379bde 100644 --- a/_en/players/hud.md +++ b/_en/players/hud.md @@ -3,6 +3,7 @@ title: HUD layout: default root: ../../ idx: 4.6 +redirect_from: /en/chapters/hud.html --- ## Introduction diff --git a/_en/players/player_physics.md b/_en/players/player_physics.md index e9fe613..0880f97 100644 --- a/_en/players/player_physics.md +++ b/_en/players/player_physics.md @@ -3,6 +3,7 @@ title: Player Physics layout: default root: ../../ idx: 4.4 +redirect_from: /en/chapters/player_physics.html --- ## Introduction diff --git a/_en/players/privileges.md b/_en/players/privileges.md index 84e8d2b..44e3c38 100644 --- a/_en/players/privileges.md +++ b/_en/players/privileges.md @@ -4,6 +4,7 @@ layout: default root: ../../ idx: 4.1 description: Registering privs. +redirect_from: /en/chapters/privileges.html --- ## Introduction diff --git a/_en/players/sfinv.md b/_en/players/sfinv.md index a4c3826..f8111ef 100644 --- a/_en/players/sfinv.md +++ b/_en/players/sfinv.md @@ -3,6 +3,7 @@ title: "SFINV: Inventory Formspec" layout: default root: ../../ idx: 4.7 +redirect_from: /en/chapters/sfinv.html --- ## Introduction diff --git a/_en/quality/common_mistakes.md b/_en/quality/common_mistakes.md index e8f9740..3d659c4 100644 --- a/_en/quality/common_mistakes.md +++ b/_en/quality/common_mistakes.md @@ -3,6 +3,7 @@ title: Common Mistakes layout: default root: ../../ idx: 6.1 +redirect_from: /en/chapters/common_mistakes.html --- ## Introduction diff --git a/_en/quality/luacheck.md b/_en/quality/luacheck.md index a734b61..a514861 100644 --- a/_en/quality/luacheck.md +++ b/_en/quality/luacheck.md @@ -4,6 +4,7 @@ layout: default root: ../../ idx: 6.2 description: Use LuaCheck to find errors +redirect_from: /en/chapters/luacheck.html --- ## Introduction diff --git a/_en/quality/readmore.md b/_en/quality/readmore.md index a841660..e736e63 100644 --- a/_en/quality/readmore.md +++ b/_en/quality/readmore.md @@ -3,6 +3,7 @@ title: Read More layout: default root: ../../ idx: 6.6 +redirect_from: /en/chapters/readmore.html --- ## List of Resources diff --git a/_en/quality/releasing.md b/_en/quality/releasing.md index ba9a851..d523810 100644 --- a/_en/quality/releasing.md +++ b/_en/quality/releasing.md @@ -3,6 +3,7 @@ title: Releasing a Mod layout: default root: ../../ idx: 6.5 +redirect_from: /en/chapters/releasing.html --- ## Introduction