mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 23:57:22 +02:00
cleanup startup logs (#291)
This commit is contained in:
parent
731251172e
commit
c60131fdb4
5 changed files with 0 additions and 17 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue