summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump
diff options
context:
space:
mode:
authorMathias <mathias-github@users.noreply.github.com>2016-08-07 09:06:44 +0200
committerMattes D <github@xoft.cz>2016-08-07 09:06:44 +0200
commit9fe4333f56966b4c006d5095bf67ac931982324f (patch)
treef378a96807bae5031f5e2e1c3570b3d5e11697e2 /Server/Plugins/APIDump
parentMerge pull request #3298 from cuberite/FixFileAPI (diff)
downloadcuberite-9fe4333f56966b4c006d5095bf67ac931982324f.tar
cuberite-9fe4333f56966b4c006d5095bf67ac931982324f.tar.gz
cuberite-9fe4333f56966b4c006d5095bf67ac931982324f.tar.bz2
cuberite-9fe4333f56966b4c006d5095bf67ac931982324f.tar.lz
cuberite-9fe4333f56966b4c006d5095bf67ac931982324f.tar.xz
cuberite-9fe4333f56966b4c006d5095bf67ac931982324f.tar.zst
cuberite-9fe4333f56966b4c006d5095bf67ac931982324f.zip
Diffstat (limited to 'Server/Plugins/APIDump')
-rw-r--r--Server/Plugins/APIDump/InfoFile.html1
-rw-r--r--Server/Plugins/APIDump/SettingUpDecoda.html1
-rw-r--r--Server/Plugins/APIDump/SettingUpZeroBrane.html1
-rw-r--r--Server/Plugins/APIDump/UsingChunkStays.html1
-rw-r--r--Server/Plugins/APIDump/WebWorldThreads.html1
-rw-r--r--Server/Plugins/APIDump/Writing-a-Cuberite-plugin.html1
-rw-r--r--Server/Plugins/APIDump/main_APIDump.lua1
7 files changed, 7 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/InfoFile.html b/Server/Plugins/APIDump/InfoFile.html
index 066af7d7a..6f70e5b54 100644
--- a/Server/Plugins/APIDump/InfoFile.html
+++ b/Server/Plugins/APIDump/InfoFile.html
@@ -2,6 +2,7 @@
<html>
<head>
<title>Cuberite - Info.lua file</title>
+ <link rel="canonical" href="http://api-docs.cuberite.org/">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>
diff --git a/Server/Plugins/APIDump/SettingUpDecoda.html b/Server/Plugins/APIDump/SettingUpDecoda.html
index fcb23a572..d9b91ed3a 100644
--- a/Server/Plugins/APIDump/SettingUpDecoda.html
+++ b/Server/Plugins/APIDump/SettingUpDecoda.html
@@ -3,6 +3,7 @@
<html>
<head>
<title>Cuberite - Setting up Decoda</title>
+ <link rel="canonical" href="http://api-docs.cuberite.org/">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>
diff --git a/Server/Plugins/APIDump/SettingUpZeroBrane.html b/Server/Plugins/APIDump/SettingUpZeroBrane.html
index 8bef69626..3038c4795 100644
--- a/Server/Plugins/APIDump/SettingUpZeroBrane.html
+++ b/Server/Plugins/APIDump/SettingUpZeroBrane.html
@@ -3,6 +3,7 @@
<html>
<head>
<title>Cuberite - Setting up ZeroBrane Studio</title>
+ <link rel="canonical" href="http://api-docs.cuberite.org/">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>
diff --git a/Server/Plugins/APIDump/UsingChunkStays.html b/Server/Plugins/APIDump/UsingChunkStays.html
index faedfdfaa..1fada61eb 100644
--- a/Server/Plugins/APIDump/UsingChunkStays.html
+++ b/Server/Plugins/APIDump/UsingChunkStays.html
@@ -2,6 +2,7 @@
<html>
<head>
<title>Cuberite - Using ChunkStays</title>
+ <link rel="canonical" href="http://api-docs.cuberite.org/">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>
diff --git a/Server/Plugins/APIDump/WebWorldThreads.html b/Server/Plugins/APIDump/WebWorldThreads.html
index a9e22b694..e48df9845 100644
--- a/Server/Plugins/APIDump/WebWorldThreads.html
+++ b/Server/Plugins/APIDump/WebWorldThreads.html
@@ -2,6 +2,7 @@
<html>
<head>
<title>Cuberite - Webserver vs World threads</title>
+ <link rel="canonical" href="http://api-docs.cuberite.org/">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>
diff --git a/Server/Plugins/APIDump/Writing-a-Cuberite-plugin.html b/Server/Plugins/APIDump/Writing-a-Cuberite-plugin.html
index af46ad433..cb0637f22 100644
--- a/Server/Plugins/APIDump/Writing-a-Cuberite-plugin.html
+++ b/Server/Plugins/APIDump/Writing-a-Cuberite-plugin.html
@@ -3,6 +3,7 @@
<html>
<head>
<title>Cuberite Plugin Tutorial</title>
+ <link rel="canonical" href="http://api-docs.cuberite.org/">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>
diff --git a/Server/Plugins/APIDump/main_APIDump.lua b/Server/Plugins/APIDump/main_APIDump.lua
index 429a563df..32de2890e 100644
--- a/Server/Plugins/APIDump/main_APIDump.lua
+++ b/Server/Plugins/APIDump/main_APIDump.lua
@@ -259,6 +259,7 @@ local function WriteHtmlHook(a_Hook, a_HookNav)
f:write([[<!DOCTYPE html><html>
<head>
<title>Cuberite API - ]], HookName, [[ Hook</title>
+ <link rel="canonical" href="http://api-docs.cuberite.org/">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>