]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Prepare docs for v5.getbootstrap.com
authorXhmikosR <xhmikosr@gmail.com>
Tue, 16 Jun 2020 18:17:28 +0000 (21:17 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Tue, 16 Jun 2020 19:02:03 +0000 (22:02 +0300)
* use v5.getbootstrap.com as the site URL/CNAME
* block robots from crawling
* specify next npm tag

README.md
config.yml
site/content/docs/5.0/getting-started/download.md
site/data/docs-versions.yml
site/layouts/robots.txt
site/static/CNAME

index 9d339d9760bbc777986b32c405db00c26f81772e..75e008100a2c4b60f923799a12368dc0c4f2b765 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
 <p align="center">
-  <a href="https://getbootstrap.com/">
-    <img src="https://getbootstrap.com/docs/4.5/assets/brand/bootstrap-solid.svg" alt="Bootstrap logo" width="72" height="72">
+  <a href="https://v5.getbootstrap.com/">
+    <img src="https://v5.getbootstrap.com/docs/5.0/assets/brand/bootstrap-solid.svg" alt="Bootstrap logo" width="72" height="72">
   </a>
 </p>
 
@@ -9,7 +9,7 @@
 <p align="center">
   Sleek, intuitive, and powerful front-end framework for faster and easier web development.
   <br>
-  <a href="https://getbootstrap.com/docs/4.5/"><strong>Explore Bootstrap docs »</strong></a>
+  <a href="https://v5.getbootstrap.com/docs/5.0/"><strong>Explore Bootstrap docs »</strong></a>
   <br>
   <br>
   <a href="https://github.com/twbs/bootstrap/issues/new?template=bug.md">Report bug</a>
 
 Several quick start options are available:
 
-- [Download the latest release.](https://github.com/twbs/bootstrap/archive/v4.5.0.zip)
+- [Download the latest release.](https://github.com/twbs/bootstrap/archive/v5.0.0.zip)
 - Clone the repo: `git clone https://github.com/twbs/bootstrap.git`
-- Install with [npm](https://www.npmjs.com/): `npm install bootstrap`
-- Install with [yarn](https://yarnpkg.com/): `yarn add bootstrap@4.5.0`
-- Install with [Composer](https://getcomposer.org/): `composer require twbs/bootstrap:4.5.0`
+- Install with [npm](https://www.npmjs.com/): `npm install bootstrap@next`
+- Install with [yarn](https://yarnpkg.com/): `yarn add bootstrap@5.0.0`
+- Install with [Composer](https://getcomposer.org/): `composer require twbs/bootstrap:5.0.0`
 - Install with [NuGet](https://www.nuget.org/): CSS: `Install-Package bootstrap` Sass: `Install-Package bootstrap.sass`
 
-Read the [Getting started page](https://getbootstrap.com/docs/4.5/getting-started/introduction/) for information on the framework contents, templates and examples, and more.
+Read the [Getting started page](https://v5.getbootstrap.com/docs/5.0/getting-started/introduction/) for information on the framework contents, templates and examples, and more.
 
 
 ## Status
@@ -119,7 +119,7 @@ Have a bug or a feature request? Please first read the [issue guidelines](https:
 
 ## Documentation
 
-Bootstrap's documentation, included in this repo in the root directory, is built with [Hugo](https://gohugo.io/) and publicly hosted on GitHub Pages at <https://getbootstrap.com/>. The docs may also be run locally.
+Bootstrap's documentation, included in this repo in the root directory, is built with [Hugo](https://gohugo.io/) and publicly hosted on GitHub Pages at <https://v5.getbootstrap.com/>. The docs may also be run locally.
 
 Documentation search is powered by [Algolia's DocSearch](https://community.algolia.com/docsearch/). Working on our search? Be sure to set `debug: true` in `site/assets/js/src/search.js` file.
 
@@ -134,7 +134,7 @@ Learn more about using Hugo by reading its [documentation](https://gohugo.io/doc
 
 ### Documentation for previous releases
 
-You can find all our previous releases docs on <https://getbootstrap.com/docs/versions/>.
+You can find all our previous releases docs on <https://v5.getbootstrap.com/docs/versions/>.
 
 [Previous releases](https://github.com/twbs/bootstrap/releases) and their documentation are also available for download.
 
index 2fe5d2150b3e82bd2c81b5f47f69eff897e0649f..77be96461464dbfd334a97bdbb4f3a37cbb01b28 100644 (file)
@@ -1,6 +1,6 @@
 languageCode:           "en"
 title:                  "Bootstrap"
-baseURL:                "https://getbootstrap.com"
+baseURL:                "https://v5.getbootstrap.com"
 enableInlineShortcodes: true
 
 markup:
index 767a34fb0f75fd9594d0f59d0cf29c824918f50d..62001e4cd529fa69bdf56f42d3ec05320e236fce 100644 (file)
@@ -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.
index c5325c7f4d606bce9b5cc893edc9332e9b33715c..bebbf16f4366352380fb60548538de156886e6d0 100644 (file)
@@ -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"
index 271b4f1b7b4275649d408879edca9723c10621b2..79dddec829462a017cf9236341a14c63a62f9f2c 100644 (file)
@@ -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
index 52c853392c25d3a670446641f4b44b22770b3bbe..cc5f2f034ac4cb97c1699cdabd4fb3311c231051 100644 (file)
@@ -1 +1 @@
-getbootstrap.com
+v5.getbootstrap.com