From 977c366cbee0735fdbad3e970f352b83b4f5edb1 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 2 Mar 2021 17:05:26 +0200 Subject: Rename _gh_pages to _site. (#33129) --- build/change-version.js | 2 +- build/ship.sh | 2 +- build/vnu-jar.js | 2 +- build/zip-examples.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'build') diff --git a/build/change-version.js b/build/change-version.js index f41f25383..9543a4f46 100644 --- a/build/change-version.js +++ b/build/change-version.js @@ -90,7 +90,7 @@ function main(args) { const newVersion = args[1] const EXCLUDED_DIRS = new Set([ '.git', - '_gh_pages', + '_site', 'node_modules', 'resources' ]) diff --git a/build/ship.sh b/build/ship.sh index da5a03bcd..b1f0a415e 100644 --- a/build/ship.sh +++ b/build/ship.sh @@ -47,7 +47,7 @@ npm run release printf "\n%s=======================================================%s" "$magenta" "$end" printf "\n%sCopy it over...%s" "$magenta" "$end" printf "\n%s=======================================================\n%s" "$magenta" "$end" -cp -rf _gh_pages/. ../bs-docs/ +cp -rf _site/. ../bs-docs/ printf "\nDone!\n" printf "\n%s=======================================================%s" "$green" "$end" diff --git a/build/vnu-jar.js b/build/vnu-jar.js index 0296d140f..7a912675e 100644 --- a/build/vnu-jar.js +++ b/build/vnu-jar.js @@ -49,7 +49,7 @@ childProcess.exec('java -version', (error, stdout, stderr) => { '--no-langdetect', '--Werror', `--filterpattern "${ignores}"`, - '_gh_pages/', + '_site/', 'js/tests/' ] diff --git a/build/zip-examples.js b/build/zip-examples.js index b2f156502..312548e8a 100644 --- a/build/zip-examples.js +++ b/build/zip-examples.js @@ -16,7 +16,7 @@ const pkg = require('../package.json') const versionShort = pkg.config.version_short const distFolder = `bootstrap-${pkg.version}-examples` -const rootDocsDir = '_gh_pages' +const rootDocsDir = '_site' const docsDir = `${rootDocsDir}/docs/${versionShort}/` // these are the files we need in the examples -- cgit v1.2.3