diff options
author | XhmikosR <xhmikosr@gmail.com> | 2020-06-16 21:17:28 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2020-06-16 22:02:03 +0300 |
commit | 723cd8d12bdd48f389234b5fc40c3b1789807b4d (patch) | |
tree | beb9cff0c8ecd8ee6f64a14e20ca01af1438d830 /site | |
parent | c28934cb1871d6b6bd6a866660493a1137de17c6 (diff) |
Prepare docs for v5.getbootstrap.com
* use v5.getbootstrap.com as the site URL/CNAME
* block robots from crawling
* specify next npm tag
Diffstat (limited to 'site')
-rw-r--r-- | site/content/docs/5.0/getting-started/download.md | 2 | ||||
-rw-r--r-- | site/data/docs-versions.yml | 2 | ||||
-rw-r--r-- | site/layouts/robots.txt | 4 | ||||
-rw-r--r-- | site/static/CNAME | 2 |
4 files changed, 4 insertions, 6 deletions
diff --git a/site/content/docs/5.0/getting-started/download.md b/site/content/docs/5.0/getting-started/download.md index 767a34fb0f..62001e4cd5 100644 --- a/site/content/docs/5.0/getting-started/download.md +++ b/site/content/docs/5.0/getting-started/download.md @@ -58,7 +58,7 @@ Pull in Bootstrap's **source files** into nearly any project with some of the mo Install Bootstrap in your Node.js powered apps with [the npm package](https://www.npmjs.com/package/bootstrap): {{< highlight sh >}} -npm install bootstrap +npm install bootstrap@next {{< /highlight >}} `const bootstrap = require('bootstrap')` or `import bootstrap from 'bootstrap'` will load all of Bootstrap's plugins onto a `bootstrap` object. diff --git a/site/data/docs-versions.yml b/site/data/docs-versions.yml index c5325c7f4d..bebbf16f43 100644 --- a/site/data/docs-versions.yml +++ b/site/data/docs-versions.yml @@ -46,7 +46,7 @@ - v: "4.5" - group: v5.x - baseurl: "https://getbootstrap.com/docs" + baseurl: "https://v5.getbootstrap.com/docs" description: "Current major release. Last update was v5.0.0-alpha1." versions: - v: "5.0" diff --git a/site/layouts/robots.txt b/site/layouts/robots.txt index 271b4f1b7b..79dddec829 100644 --- a/site/layouts/robots.txt +++ b/site/layouts/robots.txt @@ -1,8 +1,6 @@ # www.robotstxt.org -{{- $isProduction := eq hugo.Environment "production" -}} -{{- $isNetlify := eq (getenv "NETLIFY") "true" -}} -{{- $allowCrawling := and (not $isNetlify) $isProduction -}} +{{- $allowCrawling := false -}} {{ if $allowCrawling }} # Allow crawling of all content diff --git a/site/static/CNAME b/site/static/CNAME index 52c853392c..cc5f2f034a 100644 --- a/site/static/CNAME +++ b/site/static/CNAME @@ -1 +1 @@ -getbootstrap.com +v5.getbootstrap.com |