]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Rename _gh_pages to _site. (#33129)
authorXhmikosR <xhmikosr@gmail.com>
Tue, 2 Mar 2021 15:05:26 +0000 (17:05 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Tue, 2 Mar 2021 15:53:37 +0000 (17:53 +0200)
.eslintignore
.gitignore
.stylelintignore
build/change-version.js
build/ship.sh
build/vnu-jar.js
build/zip-examples.js
config.yml
package.json

index ae6baae7e14d894cfe316eec5bc98ae827acb328..a18b03a5df544f325837de5e6164f01b75a705ab 100644 (file)
@@ -1,6 +1,6 @@
 **/*.min.js
 **/dist/
 **/vendor/
-/_gh_pages/
+/_site/
 /js/coverage/
 /site/static/sw.js
index ef7b47d4b12ae257c357a354622fec70d2eb3a34..6b724135872c9b34f7fb29076a9a78976bc856f9 100644 (file)
@@ -1,5 +1,5 @@
 # Ignore docs files
-/_gh_pages/
+/_site/
 # Hugo folders
 /resources/
 
index e42e88938400e82e0ec972c84d3e13d00896e687..0759a69acead48fc0bca9658a88eb91f0e696198 100644 (file)
@@ -1,5 +1,5 @@
 **/*.min.css
 **/dist/
 **/vendor/
-/_gh_pages/
+/_site/
 /js/coverage/
index 04333146cb6af5a29234df0c06ed48a4b96fca3f..1fd0c77fe5166ad5dbaef45e7a1a054dd873b551 100755 (executable)
@@ -88,7 +88,7 @@ function main(args) {
   const newVersion = args[1]
   const EXCLUDED_DIRS = new Set([
     '.git',
-    '_gh_pages',
+    '_site',
     'node_modules',
     'resources'
   ])
index f1c5e38e35108a6954a1c1c9b398aa9c3f110e96..a679d63dd03b94952778c72b3b134ae80ea95f22 100755 (executable)
@@ -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"
index e33ccc0c8eea86ef3131b0c59b8badd6ad41b770..48ef36434526d004fc7ccfff6d8e20f4cea56fb2 100644 (file)
@@ -48,7 +48,7 @@ childProcess.exec('java -version', (error, stdout, stderr) => {
     '--no-langdetect',
     '--Werror',
     `--filterpattern "${ignores}"`,
-    '_gh_pages/',
+    '_site/',
     'js/tests/'
   ]
 
index f976c3bc5ca99d53e831fb55a215049392cdaa1e..9432c9492778cb05a5ff1061c230a81810eaf6e9 100644 (file)
@@ -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
index d87bc481bfe9de1abfe2a1411f94d7fe8026c756..a39dda368e7a523a69f0224e4928dbd8fa60d7e5 100644 (file)
@@ -20,7 +20,7 @@ enableRobotsTXT:        true
 metaDataFormat:         "yaml"
 disableKinds:           ["404", "taxonomy", "taxonomyTerm", "RSS"]
 
-publishDir:             "_gh_pages"
+publishDir:             "_site"
 
 module:
   mounts:
index ff8ee9fca5050a7263a7922cbde60cdddf074566..b3732f6b862876a3a66a4876343e7dc85feaaa4a 100644 (file)
     "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*",