Initial import from local backup (Documents-Playground/pakerpale)

This commit is contained in:
jeonghwa
2026-07-03 05:27:08 +09:00
commit c55f993072
1519 changed files with 374497 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
var fs = require('fs'),
baseUrl = 'http://issues.wenzhixin.net.cn/bootstrap-table/';
fs.readdir('./', function (err, list) {
if (err) {
console.log(err);
return;
}
var content = fs.readFileSync('../index.html.conf').toString(),
html = [];
list.sort().forEach(function (file) {
if (/^\d+.html$/.test(file)) {
var content = fs.readFileSync(file).toString(),
m = content.match(/<title>(.*)<\/title>/);
if (m) {
html.push('<li><a href="issues/' + file + '">',
file.split('.')[0] + '. ' + m[1],
'</a></li>');
}
}
});
fs.writeFileSync('../index.html', content.replace('@@list@@', html.join('\n')));
});