mirror of
https://github.com/strapi/strapi.git
synced 2025-12-26 22:54:31 +00:00
Improve documentation build script
This commit is contained in:
parent
79277a87b8
commit
185f22a882
@ -4,7 +4,7 @@ const path = require('path');
|
||||
const shell = require('shelljs');
|
||||
|
||||
try {
|
||||
const versions = fs.readdirSync(path.resolve(process.cwd(), 'docs'), 'utf8');
|
||||
const versions = fs.readdirSync(path.resolve(process.cwd(), 'docs'), 'utf8').filter(x => x[0] !== '.');
|
||||
|
||||
_.forEach(versions, (version) => {
|
||||
console.log(`Strapi install plugins version ${version}`);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user