Redirect old array page to index

This commit is contained in:
Angelos Chalaris
2018-09-15 12:38:03 +03:00
parent fb3a9419dd
commit 6a0a1a9b34
3 changed files with 62 additions and 621 deletions

View File

@ -513,6 +513,14 @@ try {
console.log(`${chalk.red('ERROR!')} During about.html copying: ${err}`);
process.exit(1);
}
// Copy array.html
try {
fs.copyFileSync(path.join(staticPartsPath, 'array.html'), path.join(docsPath, 'array.html'));
console.log(`${chalk.green('SUCCESS!')} array.html file copied!`);
} catch (err) {
console.log(`${chalk.red('ERROR!')} During array.html copying: ${err}`);
process.exit(1);
}
// Copy contributing.html
try {
fs.copyFileSync(path.join(staticPartsPath, 'contributing.html'), path.join(docsPath, 'contributing.html'));