summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-12-27 15:48:01 +0100
committermadmaxoft <github@xoft.cz>2013-12-27 15:48:01 +0100
commite4c6e853eaa231f0c95235b02612ad35edf73dce (patch)
tree2d67132609c3512d76a57b68cb25a3d83d8fa10e /MCServer/Plugins/APIDump
parentAPIDump: Added a quick-nav menu to hook descriptions. (diff)
downloadcuberite-e4c6e853eaa231f0c95235b02612ad35edf73dce.tar
cuberite-e4c6e853eaa231f0c95235b02612ad35edf73dce.tar.gz
cuberite-e4c6e853eaa231f0c95235b02612ad35edf73dce.tar.bz2
cuberite-e4c6e853eaa231f0c95235b02612ad35edf73dce.tar.lz
cuberite-e4c6e853eaa231f0c95235b02612ad35edf73dce.tar.xz
cuberite-e4c6e853eaa231f0c95235b02612ad35edf73dce.tar.zst
cuberite-e4c6e853eaa231f0c95235b02612ad35edf73dce.zip
Diffstat (limited to 'MCServer/Plugins/APIDump')
-rw-r--r--MCServer/Plugins/APIDump/main_APIDump.lua16
1 files changed, 14 insertions, 2 deletions
diff --git a/MCServer/Plugins/APIDump/main_APIDump.lua b/MCServer/Plugins/APIDump/main_APIDump.lua
index fef827f3e..ff837ec4e 100644
--- a/MCServer/Plugins/APIDump/main_APIDump.lua
+++ b/MCServer/Plugins/APIDump/main_APIDump.lua
@@ -998,7 +998,13 @@ function WriteHtmlClass(a_ClassAPI, a_AllAPI, a_ClassMenu)
<h1>]], a_ClassAPI.Name, [[</h1>
<hr />
</header>
- <table><tr><td style="vertical-align: top;">Quick navigation:
+ <table><tr><td style="vertical-align: top;">
+ Index:<br />
+ <a href='index.html#articles'>Articles</a><br />
+ <a href='index.html#classes'>Classes</a><br />
+ <a href='index.html#hooks'>Hooks</a><br />
+ <br />
+ Quick navigation:<br />
]]);
cf:write(a_ClassMenu);
cf:write([[
@@ -1131,7 +1137,13 @@ function WriteHtmlHook(a_Hook, a_HookNav)
<h1>]], a_Hook.Name, [[</h1>
<hr />
</header>
- <table><tr><td style="vertical-align: top;">Quick navigation:
+ <table><tr><td style="vertical-align: top;">
+ Index:<br />
+ <a href='index.html#articles'>Articles</a><br />
+ <a href='index.html#classes'>Classes</a><br />
+ <a href='index.html#hooks'>Hooks</a><br />
+ <br />
+ Quick navigation:<br />
]]);
f:write(a_HookNav);
f:write([[