diff --git a/lua_api.html b/lua_api.html
index f8ac3ae..b234653 100644
--- a/lua_api.html
+++ b/lua_api.html
@@ -2,6 +2,9 @@
title: Lua Modding API Reference
layout: default
---
+
+
This is lua_api.txt nicely formated: I did not write this
+This page was last updated 19/March/2016.
See
doc/lua_api.txt for the latest version (in plaintext).
Generated using
a Python script.
Table of Contents
diff --git a/update_lua_api.py b/update_lua_api.py
index f2f93e6..5b78fc6 100644
--- a/update_lua_api.py
+++ b/update_lua_api.py
@@ -52,10 +52,13 @@ links = """
html = html.replace("{{", "{ {")
html = html.replace(links, "")
-links += "This page was last updated "
-links += datetime.date.today().strftime("%d/%B/%Y")
-links += ".
See doc/lua_api.txt for the latest version (in plaintext)."
-links += "
Generated using a Python script."
+
+
+credit = "This page was last updated "
+credit += datetime.date.today().strftime("%d/%B/%Y")
+credit += ".
See doc/lua_api.txt for the latest version (in plaintext)."
+credit += "
Generated using a Python script."
+links += credit
html = html.replace("", links + "")
print("Parsing HTML...")
@@ -96,6 +99,10 @@ html = str(soup)
print("Writing to file...")
file = open("lua_api.html", "w")
file.write("---\ntitle: Lua Modding API Reference\nlayout: default\n---\n")
+file.write("
\n")
+file.write("
This is lua_api.txt nicely formated: I did not write this
\n")
+file.write(credit)
+file.write("\n")
file.write("Table of Contents
\n")
file.write(md.toc)
file.write(html)