cleanup startup logs (#291)

This commit is contained in:
Kunall Banerjee 2017-12-16 19:51:52 -05:00 committed by Joel Marcey
parent 731251172e
commit c60131fdb4
5 changed files with 0 additions and 17 deletions

View file

@ -193,8 +193,6 @@ function processMetadata(file) {
// process metadata for all docs and save into core/metadata.js
function generateMetadataDocs() {
console.log('Generating Metadata for Docs....');
let order;
try {
order = readSidebar();
@ -346,13 +344,6 @@ function generateMetadataBlog() {
const metadatas = [];
let files = glob.sync(CWD + '/blog/**/*.*');
if (!files || files.length == 0) {
console.error(
`${chalk.yellow(
CWD + '/blog/ appears to be empty'
)} Make sure you've put your blog files in your Docusaurus 'website' folder.`
);
}
files
.sort()
.reverse()

View file

@ -122,8 +122,6 @@ function execute(port) {
/****************************************************************************/
console.log('server.js triggered...');
reloadMetadata();
reloadMetadataBlog();
extractTranslations();
@ -525,7 +523,6 @@ function execute(port) {
});
app.listen(port);
console.log('listening on port: ' + port);
console.log('Open http://localhost:' + port + '/');
}

View file

@ -32,8 +32,6 @@ const translation = {languages: enabledLanguages};
const files = glob.sync(CWD + '/i18n/**');
const langRegex = /\/i18n\/(.*)\.json$/;
console.log('Loading translation files...');
files.forEach(file => {
const extension = path.extname(file);
if (extension === '.json') {