aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2021-03-02 17:05:26 +0200
committerXhmikosR <[email protected]>2021-03-02 17:53:37 +0200
commitcf70a58149f24ce09330dcb90776abe0328df33c (patch)
tree4f303a77d82e3966ea99f674a16492eeb28f1314
parent6692d1ed47f598092e8a66440c966183ed1b7c52 (diff)
downloadbootstrap-cf70a58149f24ce09330dcb90776abe0328df33c.tar.xz
bootstrap-cf70a58149f24ce09330dcb90776abe0328df33c.zip
Rename _gh_pages to _site. (#33129)
-rw-r--r--.eslintignore2
-rw-r--r--.gitignore2
-rw-r--r--.stylelintignore2
-rwxr-xr-xbuild/change-version.js2
-rwxr-xr-xbuild/ship.sh2
-rw-r--r--build/vnu-jar.js2
-rw-r--r--build/zip-examples.js2
-rw-r--r--config.yml2
-rw-r--r--package.json4
9 files changed, 10 insertions, 10 deletions
diff --git a/.eslintignore b/.eslintignore
index ae6baae7e..a18b03a5d 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -1,6 +1,6 @@
**/*.min.js
**/dist/
**/vendor/
-/_gh_pages/
+/_site/
/js/coverage/
/site/static/sw.js
diff --git a/.gitignore b/.gitignore
index ef7b47d4b..6b7241358 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,5 @@
# Ignore docs files
-/_gh_pages/
+/_site/
# Hugo folders
/resources/
diff --git a/.stylelintignore b/.stylelintignore
index e42e88938..0759a69ac 100644
--- a/.stylelintignore
+++ b/.stylelintignore
@@ -1,5 +1,5 @@
**/*.min.css
**/dist/
**/vendor/
-/_gh_pages/
+/_site/
/js/coverage/
diff --git a/build/change-version.js b/build/change-version.js
index 04333146c..1fd0c77fe 100755
--- a/build/change-version.js
+++ b/build/change-version.js
@@ -88,7 +88,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 f1c5e38e3..a679d63dd 100755
--- 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 e33ccc0c8..48ef36434 100644
--- a/build/vnu-jar.js
+++ b/build/vnu-jar.js
@@ -48,7 +48,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 f976c3bc5..9432c9492 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
diff --git a/config.yml b/config.yml
index d87bc481b..a39dda368 100644
--- a/config.yml
+++ b/config.yml
@@ -20,7 +20,7 @@ enableRobotsTXT: true
metaDataFormat: "yaml"
disableKinds: ["404", "taxonomy", "taxonomyTerm", "RSS"]
-publishDir: "_gh_pages"
+publishDir: "_site"
module:
mounts:
diff --git a/package.json b/package.json
index ff8ee9fca..b3732f6b8 100644
--- a/package.json
+++ b/package.json
@@ -52,11 +52,11 @@
"docs": "npm-run-all docs-build docs-lint",
"docs-build": "hugo --cleanDestinationDir",
"docs-compile": "npm run docs-build",
- "docs-linkinator": "linkinator _gh_pages --recurse --skip \"^(?!http://localhost)\" --verbosity error",
+ "docs-linkinator": "linkinator _site --recurse --skip \"^(?!http://localhost)\" --verbosity error",
"docs-vnu": "node build/vnu-jar.js",
"docs-lint": "npm-run-all --parallel docs-vnu docs-linkinator",
"docs-serve": "hugo server --port 9001 --disableFastRender",
- "docs-serve-only": "npx sirv-cli _gh_pages --port 9001",
+ "docs-serve-only": "npx sirv-cli _site --port 9001",
"lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
"update-deps": "ncu -u -x \"jquery,karma-browserstack-launcher,sinon,terser\" && npm update && echo Manually update site/assets/js/vendor",
"release": "npm-run-all dist release-sri docs-build release-zip*",