summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/main_APIDump.lua
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/main_APIDump.lua
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 '')
-rw-r--r--Server/Plugins/APIDump/main_APIDump.lua1
1 files changed, 1 insertions, 0 deletions
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>