Fix update_lua_api.py to work with latest MT version, and reupdate lua_api.html

master
rubenwardy 2016-07-22 22:02:26 +01:00
parent a50ab100cd
commit 84de90ccd0
2 changed files with 2 additions and 5 deletions

View File

@ -8,7 +8,6 @@ This page was last updated 22/July/2016.<br />See <a href="https://github.com/mi
<h2 id="table-of-contents">Table of Contents</h2>
<div class="toc">
<ul>
<li><a href="#minetest-lua-modding-api-reference-0414">Minetest Lua Modding API Reference 0.4.14</a><ul>
<li><a href="#introduction">Introduction</a></li>
<li><a href="#programming-in-lua">Programming in Lua</a></li>
<li><a href="#startup">Startup</a></li>
@ -349,10 +348,8 @@ This page was last updated 22/July/2016.<br />See <a href="https://github.com/mi
</ul>
</li>
</ul>
</li>
</ul>
</div>
<h1 id="minetest-lua-modding-api-reference-0414">Minetest Lua Modding API Reference 0.4.14</h1>
<h2 id="introduction">Introduction</h2>
<p>Content and functionality can be added to Minetest 0.4 by using Lua
scripting in run-time loaded mods.</p>

View File

@ -33,7 +33,7 @@ text = urllib2.urlopen(url).read()
print("Pre-generation replacements...")
header = """Minetest Lua Modding API Reference 0.4.13
header = """Minetest Lua Modding API Reference 0.4.14
========================================="""
text = text.replace(header, "")