1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-30 11:40:27 +02:00

updated 3d normals

This commit is contained in:
Pomax
2018-07-13 18:14:31 -07:00
parent 548557575d
commit 3b3131136f
19 changed files with 435 additions and 270 deletions

View File

@@ -175,6 +175,7 @@ function writeContentBundle(locale, content) {
// Write the actual locale directory and generate a locale-specific index.html
var html = fs.readFileSync('./index.template.html').toString();
var preface = content.preface.getContent.replace(/<SectionHeader name="preface" title="([^"]+)"\/>/, "<h2>$1</h2>");
html = html.replace("<!doctype html>", "<!-- AUTOGENERATED CONTENT, PLEASE EDIT 'index.template.html' INSTEAD! -->\n<!doctype html>");
html = html.replace("{{ PREFACE }}", preface);
html = html.replace("{{ locale }}", locale);
fs.ensureDirSync(locale);