Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2021-03-02 18:05:26 +0300
committerGitHub <noreply@github.com>2021-03-02 18:05:26 +0300
commit977c366cbee0735fdbad3e970f352b83b4f5edb1 (patch)
treedcf98f88815f13f8bf767cae9be33463e6c9a3ad /build
parent48a95f7280735d6f8962fe8b17975b03e351710c (diff)
Rename _gh_pages to _site. (#33129)
Diffstat (limited to 'build')
-rw-r--r--build/change-version.js2
-rw-r--r--build/ship.sh2
-rw-r--r--build/vnu-jar.js2
-rw-r--r--build/zip-examples.js2
4 files changed, 4 insertions, 4 deletions
diff --git a/build/change-version.js b/build/change-version.js
index f41f253837..9543a4f463 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 da5a03bcd1..b1f0a415ee 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 0296d140fc..7a912675e1 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 b2f156502f..312548e8af 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