diff --git a/build/build-docs.js b/build/build-docs.js index ea95a50..7c3cc28 100644 --- a/build/build-docs.js +++ b/build/build-docs.js @@ -3,6 +3,7 @@ const shell = require('shelljs'); shell.exec('gitbook build', (code, stdout, stderr) => { if( code === 0 ) { + shell.rm('-rf', 'site/docs'); shell.exec('mv _book site/docs') } }); \ No newline at end of file