@@ -38,23 +38,22 @@
Several quick start options are available:
-- [Download the latest release.](https://github.com/twbs/bootstrap/archive/v4.0.0-alpha.6.zip)
+- [Download the latest release.](https://github.com/twbs/bootstrap/archive/v4.0.0-beta.zip)
- Clone the repo: `git clone https://github.com/twbs/bootstrap.git`
-- Install with [npm](https://www.npmjs.com): `npm install bootstrap@4.0.0-alpha.6`
-- Install with [yarn](https://github.com/yarnpkg/yarn): `yarn add bootstrap@4.0.0-alpha.6`
-- Install with [Composer](https://getcomposer.org): `composer require twbs/bootstrap:4.0.0-alpha.6`
-- Install with [Bower](https://bower.io): `bower install bootstrap#v4.0.0-alpha.6`
-- Install with [NuGet](https://www.nuget.org): CSS: `Install-Package bootstrap -Pre` Sass: `Install-Package bootstrap.sass -Pre` (`-Pre` is only required until Bootstrap v4 has a stable release).
+- Install with [npm](https://www.npmjs.com/): `npm install bootstrap@4.0.0-beta`
+- Install with [yarn](https://yarnpkg.com/): `yarn add bootstrap@4.0.0-beta`
+- Install with [Composer](https://getcomposer.org/): `composer require twbs/bootstrap:4.0.0-beta`
+- Install with [NuGet](https://www.nuget.org/): CSS: `Install-Package bootstrap -Pre` Sass: `Install-Package bootstrap.sass -Pre` (`-Pre` is only required until Bootstrap v4 has a stable release).
Read the [Getting started page](https://getbootstrap.com/getting-started/) for information on the framework contents, templates and examples, and more.
## Status
-[](https://bootstrap-slack.herokuapp.com)
-[](https://bower.io/search/?q=bootstrap)
+[](https://bootstrap-slack.herokuapp.com/)
[](https://www.npmjs.com/package/bootstrap)
[](https://rubygems.org/gems/bootstrap)
[](https://travis-ci.org/twbs/bootstrap)
+[](https://david-dm.org/twbs/bootstrap?type=peer)
[](https://david-dm.org/twbs/bootstrap?type=dev)
[](https://atmospherejs.com/twbs/bootstrap)
[](https://packagist.org/packages/twbs/bootstrap)
@@ -95,15 +94,17 @@ Documentation search is powered by [Algolia's DocSearch](https://community.algol
### Running documentation locally
1. Run through the [tooling setup](https://github.com/twbs/bootstrap/blob/v4-dev/docs/4.0/getting-started/build-tools.md#tooling-setup) to install Jekyll (the site builder) and other Ruby dependencies with `bundle install`.
-2. Run `npm run test` (or a specific NPM script) to rebuild distributed CSS and JavaScript files, as well as our docs assets.
-3. From the root `/bootstrap` directory, run `bundle exec jekyll serve` in the command line.
-4. Open in your browser, and voilà.
+2. Run `npm install` to install Node.js dependencies.
+3. Run `npm run test` (or a specific NPM script) to rebuild distributed CSS and JavaScript files, as well as our docs assets.
+4. From the root `/bootstrap` directory, run `npm run docs-serve` in the command line.
+5. Open in your browser, and voilà.
Learn more about using Jekyll by reading its [documentation](https://jekyllrb.com/docs/home/).
### Documentation for previous releases
-Documentation for v2.3.2 has been made available for the time being at while folks transition to Bootstrap 3.
+- For v2.3.2:
+- For v3.3.x:
[Previous releases](https://github.com/twbs/bootstrap/releases) and their documentation are also available for download.
@@ -124,8 +125,8 @@ Editor preferences are available in the [editor config](https://github.com/twbs/
Get updates on Bootstrap's development and chat with the project maintainers and community members.
- Follow [@getbootstrap on Twitter](https://twitter.com/getbootstrap).
-- Read and subscribe to [The Official Bootstrap Blog](https://blog.getbootstrap.com).
-- Join [the official Slack room](https://bootstrap-slack.herokuapp.com).
+- Read and subscribe to [The Official Bootstrap Blog](https://blog.getbootstrap.com/).
+- Join [the official Slack room](https://bootstrap-slack.herokuapp.com/).
- Chat with fellow Bootstrappers in IRC. On the `irc.freenode.net` server, in the `##bootstrap` channel.
- Implementation help may be found at Stack Overflow (tagged [`bootstrap-4`](https://stackoverflow.com/questions/tagged/bootstrap-4)).
- Developers should use the keyword `bootstrap` on packages which modify or add to the functionality of Bootstrap when distributing through [npm](https://www.npmjs.com/browse/keyword/bootstrap) or similar delivery mechanisms for maximum discoverability.
@@ -136,7 +137,7 @@ Get updates on Bootstrap's development and chat with the project maintainers and
For transparency into our release cycle and in striving to maintain backward compatibility, Bootstrap is maintained under [the Semantic Versioning guidelines](http://semver.org/). Sometimes we screw up, but we'll adhere to those rules whenever possible.
-See [the Releases section of our GitHub project](https://github.com/twbs/bootstrap/releases) for changelogs for each release version of Bootstrap. Release announcement posts on [the official Bootstrap blog](https://blog.getbootstrap.com) contain summaries of the most noteworthy changes made in each release.
+See [the Releases section of our GitHub project](https://github.com/twbs/bootstrap/releases) for changelogs for each release version of Bootstrap. Release announcement posts on [the official Bootstrap blog](https://blog.getbootstrap.com/) contain summaries of the most noteworthy changes made in each release.
## Creators
diff --git a/_config.yml b/_config.yml
index 9d20eb108a..b056a7b052 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,57 +1,74 @@
# Dependencies
-markdown: kramdown
-highlighter: rouge
+markdown: kramdown
+highlighter: rouge
kramdown:
- auto_ids: true
+ auto_ids: true
# Permalinks
-permalink: pretty
+permalink: pretty
# Server
-source: .
-destination: ./_gh_pages
-port: 9001
-baseurl: ""
-url: https://getbootstrap.com
-encoding: UTF-8
-exclude: [.git, .github, assets/scss/, build, js, node_modules, nuget, scss, vendor, bower.json, composer.json, Gemfile, Gemfile.lock, Gruntfile.js, package.js, package.json, package-lock.json, sache.json]
+source: "."
+destination: ./_gh_pages
+port: 9001
+baseurl: ""
+url: "https://getbootstrap.com"
+encoding: UTF-8
+exclude:
+ - .git/
+ - .github/
+ - assets/scss/
+ - build/
+ - js/
+ - node_modules/
+ - nuget/
+ - scss/
+ - vendor/
+ - bower.json
+ - composer.json
+ - Gemfile
+ - Gemfile.lock
+ - package.js
+ - package.json
+ - package-lock.json
+ - sache.json
+ - twbsconfig.yml
-gems:
+plugins:
- jekyll-redirect-from
- jekyll-sitemap
- jekyll-toc
# Social
-title: Bootstrap
-description: The most popular HTML, CSS, and JS library in the world.
-twitter: getbootstrap
-authors: Mark Otto, Jacob Thornton, and Bootstrap contributors
-social_logo_path: /assets/brand/bootstrap-social-logo.png
-social_image_path: /assets/brand/bootstrap-social.png
+title: Bootstrap
+description: "The most popular HTML, CSS, and JS library in the world."
+twitter: getbootstrap
+authors: "Mark Otto, Jacob Thornton, and Bootstrap contributors"
+social_image_path: /assets/brand/bootstrap-social.png
+social_logo_path: /assets/brand/bootstrap-social-logo.png
-# Custom vars
-current_version: 4.0.0-alpha.6
-docs_version: 4.0
-repo: https://github.com/twbs/bootstrap
-slack: https://bootstrap-slack.herokuapp.com
+# Custom variables
+current_version: 4.0.0-beta
+docs_version: 4.0
+repo: "https://github.com/twbs/bootstrap"
+slack: "https://bootstrap-slack.herokuapp.com"
+blog: "https://blog.getbootstrap.com"
+expo: "https://expo.getbootstrap.com"
+jobs: "https://jobs.getbootstrap.com"
+themes: "https://themes.getbootstrap.com"
download:
- source: https://github.com/twbs/bootstrap/archive/v4.0.0-alpha.6.zip
- dist: https://github.com/twbs/bootstrap/releases/download/v4.0.0-alpha.6/bootstrap-4.0.0-alpha.6-dist.zip
-
-blog: https://blog.getbootstrap.com
-expo: https://expo.getbootstrap.com
-themes: https://themes.getbootstrap.com
-jobs: https://jobs.getbootstrap.com
+ source: "https://github.com/twbs/bootstrap/archive/v4.0.0-beta.zip"
+ dist: "https://github.com/twbs/bootstrap/releases/download/v4.0.0-beta/bootstrap-4.0.0-beta-dist.zip"
cdn:
# See https://www.srihash.org for info on how to generate the hashes
- css: https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css
- css_hash: "sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ"
- js: https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js
- js_hash: "sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn"
- jquery: https://code.jquery.com/jquery-3.2.1.slim.min.js
- jquery_hash: "sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
- popper: https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js
- popper_hash: "sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4"
+ css: "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css"
+ css_hash: "sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M"
+ js: "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js"
+ js_hash: "sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1"
+ jquery: "https://code.jquery.com/jquery-3.2.1.slim.min.js"
+ jquery_hash: "sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
+ popper: "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js"
+ popper_hash: "sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh"
diff --git a/_data/browser-bugs.yml b/_data/browser-bugs.yml
index d3f133354b..9756758ddd 100644
--- a/_data/browser-bugs.yml
+++ b/_data/browser-bugs.yml
@@ -204,7 +204,7 @@
summary: >
`table-cell` borders not overlapping despite `margin-right: -1px`
upstream_bug: >
- Chromium#568691
+ Chromium#749848
origin: >
Bootstrap#17438, Bootstrap#14237
diff --git a/_data/browser-features.yml b/_data/browser-features.yml
index f19a460e66..acdc532b26 100644
--- a/_data/browser-features.yml
+++ b/_data/browser-features.yml
@@ -52,7 +52,7 @@
browser: >
Edge
summary: >
- Implement the [`of ` clause](http://caniuse.com/#feat=css-nth-child-of) of the `:nth-child()` pseudo-class
+ Implement the [`of ` clause](https://caniuse.com/#feat=css-nth-child-of) of the `:nth-child()` pseudo-class
upstream_bug: >
UserVoice#15944476
origin: >
@@ -62,7 +62,7 @@
browser: >
Firefox
summary: >
- Implement the [`of ` clause](http://caniuse.com/#feat=css-nth-child-of) of the `:nth-child()` pseudo-class
+ Implement the [`of ` clause](https://caniuse.com/#feat=css-nth-child-of) of the `:nth-child()` pseudo-class
upstream_bug: >
Mozilla#854148
origin: >
@@ -102,7 +102,7 @@
browser: >
Chrome
summary: >
- Implement the [`of ` clause](http://caniuse.com/#feat=css-nth-child-of) of the `:nth-child()` pseudo-class
+ Implement the [`of ` clause](https://caniuse.com/#feat=css-nth-child-of) of the `:nth-child()` pseudo-class
upstream_bug: >
Chromium#304163
origin: >
diff --git a/_data/core-team.yml b/_data/core-team.yml
index 7528bdc11b..644320b645 100644
--- a/_data/core-team.yml
+++ b/_data/core-team.yml
@@ -37,3 +37,8 @@
- name: Johann-S
user: johann-s
gravatar: d90d49733a4fe1aa461e45cb4a4fd9e3
+
+
+- name: Andres Galante
+ user: andresgalante
+ gravatar: 03dc4f2e26e476958c952505c8d8f563
diff --git a/_data/nav.yml b/_data/nav.yml
index 1ce74e7823..96eeba2b5d 100644
--- a/_data/nav.yml
+++ b/_data/nav.yml
@@ -5,7 +5,7 @@
- title: Contents
- title: Browsers & devices
- title: JavaScript
- - title: Options
+ - title: Theming
- title: Build tools
# - title: Best practices # TODO: Write this content
- title: Webpack
@@ -75,12 +75,12 @@
# - title: Approach
- title: Icons
-# - title: About
-# pages:
-# - title: History
-# - title: Team
-# - title: Brand
-# - title: License
-# - title: Translations
-
- title: Migration
+
+- title: About
+ pages:
+ - title: History
+ - title: Team
+ - title: Brand
+ - title: License
+ - title: Translations
diff --git a/_data/showcase.yml b/_data/showcase.yml
index 435286f39b..2643e1ed0e 100644
--- a/_data/showcase.yml
+++ b/_data/showcase.yml
@@ -9,7 +9,7 @@
img: vogue
- name: Riot Design
- url: http://riotdesign.eu/en/
+ url: https://riot.design/en/
expo_url: https://expo.getbootstrap.com/2014/03/13/riot-design/
img: riot
diff --git a/_data/translations.yml b/_data/translations.yml
index 1594865b0b..3681ddf560 100644
--- a/_data/translations.yml
+++ b/_data/translations.yml
@@ -1,3 +1,8 @@
+- name: 中文(繁體)
+ code: zh-tw
+ description: Bootstrap 4 繁體中文手冊
+ url: http://bootstrap.hexschool.com/
+
- name: Chinese
code: zh
description: Bootstrap 4 中文文档教程
diff --git a/_includes/ads.html b/_includes/ads.html
index 662b62971a..10df1344d7 100644
--- a/_includes/ads.html
+++ b/_includes/ads.html
@@ -1 +1 @@
-
+
diff --git a/_includes/callout-danger-async-methods.md b/_includes/callout-danger-async-methods.md
index 809643e1dc..89d2e2cabb 100644
--- a/_includes/callout-danger-async-methods.md
+++ b/_includes/callout-danger-async-methods.md
@@ -1,7 +1,7 @@
{% callout danger %}
#### Asynchronous methods and transitions
-All API methods are **asynchronous** and start a **transition**. They returns to the caller as soon as the transition is started but **before it ends**. In addition, a method call on a **transitioning component will be ignored**.
+All API methods are **asynchronous** and start a **transition**. They return to the caller as soon as the transition is started but **before it ends**. In addition, a method call on a **transitioning component will be ignored**.
-[See our Javascript documentation for more informations.]({{ site.baseurl }}/getting-started/javascript/)
+[See our JavaScript documentation for more information.]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/javascript/)
{% endcallout %}
diff --git a/_includes/callout-warning-color-assistive-technologies.md b/_includes/callout-warning-color-assistive-technologies.md
index b92a1c3418..0b929e16d2 100644
--- a/_includes/callout-warning-color-assistive-technologies.md
+++ b/_includes/callout-warning-color-assistive-technologies.md
@@ -2,4 +2,4 @@
#### Conveying meaning to assistive technologies
Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies – such as screen readers. Ensure that information denoted by the color is either obvious from the content itself (e.g. the visible text), or is included through alternative means, such as additional text hidden with the `.sr-only` class.
-{% endcallout %}
\ No newline at end of file
+{% endcallout %}
diff --git a/_includes/docs-navbar.html b/_includes/docs-navbar.html
index 8d62d4585b..76435bab78 100644
--- a/_includes/docs-navbar.html
+++ b/_includes/docs-navbar.html
@@ -36,8 +36,8 @@