summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/main_APIDump.lua
diff options
context:
space:
mode:
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>