Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Cuppens <martijn.cuppens@gmail.com>2019-11-01 13:22:29 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-11-25 14:05:57 +0300
commitd5c212bbcbcf2efe97540b3b890b4b8bdf6820f2 (patch)
treea228f5d8d55fa6ec5f60ab63dbad88f932fa0d23
parentff256ca23c78471dfdc732b7262bece2dad59dff (diff)
Link to versioned docs
-rw-r--r--config.yml1
-rw-r--r--site/content/docs/4.3/getting-started/rfs.md6
-rw-r--r--site/content/docs/4.3/migration.md2
3 files changed, 5 insertions, 4 deletions
diff --git a/config.yml b/config.yml
index 01c56f10f4..9491fa97df 100644
--- a/config.yml
+++ b/config.yml
@@ -46,6 +46,7 @@ params:
current_version: "4.3.1"
current_ruby_version: "4.3.1"
+ rfs_version: "9.0.2"
docs_version: "4.3"
repo: "https://github.com/twbs/bootstrap"
twitter: "getbootstrap"
diff --git a/site/content/docs/4.3/getting-started/rfs.md b/site/content/docs/4.3/getting-started/rfs.md
index a48701bc0b..4a06f2b0b9 100644
--- a/site/content/docs/4.3/getting-started/rfs.md
+++ b/site/content/docs/4.3/getting-started/rfs.md
@@ -8,13 +8,13 @@ toc: true
## What is RFS?
-Bootstrap's side project [RFS](https://github.com/twbs/rfs) is a unit resizing engine which was initially developed to resize font sizes (hence its abbreviation for Responsive Font Sizes). Nowadays RFS is capable of rescaling most CSS properties with unit values like `margin`, `padding`, `border-radius`, or even `box-shadow`.
+Bootstrap's side project [RFS](https://github.com/twbs/rfs/tree/v{{< param "rfs_version" >}}) is a unit resizing engine which was initially developed to resize font sizes (hence its abbreviation for Responsive Font Sizes). Nowadays RFS is capable of rescaling most CSS properties with unit values like `margin`, `padding`, `border-radius`, or even `box-shadow`.
The mechanism automatically calculates the appropriate values based on the dimensions of the browser viewport. It will be compiled into `calc()` functions with a mix of `rem` and viewport units to enable the responsive scaling behavior.
## Using RFS
-The mixins are included in Bootstrap and are available once you include Bootstraps' `scss`. RFS can also be installed [standalone](https://github.com/twbs/rfs#installation) if needed.
+The mixins are included in Bootstrap and are available once you include Bootstraps' `scss`. RFS can also be installed [standalone](https://github.com/twbs/rfs/tree/v{{< param "rfs_version" >}}#installation) if needed.
### Using the mixins
@@ -81,4 +81,4 @@ In this example we use one of Bootstrap's built-in [responsive breakpoint mixins
## Extended documentation
-RFS is a separate project under the Bootstrap organization. More about RFS and its configuration can be found on its [GitHub repository](https://github.com/twbs/rfs).
+RFS is a separate project under the Bootstrap organization. More about RFS and its configuration can be found on its [GitHub repository](https://github.com/twbs/rfs/tree/v{{< param "rfs_version" >}}).
diff --git a/site/content/docs/4.3/migration.md b/site/content/docs/4.3/migration.md
index ae72010fec..f4e45013ae 100644
--- a/site/content/docs/4.3/migration.md
+++ b/site/content/docs/4.3/migration.md
@@ -59,7 +59,7 @@ Changes to any layout tools and our grid system.
Changes to Reboot, typography, tables, and more.
-- [RFS](https://github.com/twbs/rfs) enabled for automated font size rescaling. [See #29152](https://github.com/twbs/bootstrap/pull/29152)
+- [RFS]({{< docsref "/getting-started/rfs" >}}) enabled for automated font size rescaling. [See #29152](https://github.com/twbs/bootstrap/pull/29152)
- Reset default horizontal `padding-left` on `<ul>` and `<ol>` elements from browser default `40px` to `2rem`.
- Simplified table styles (no more 2px border on `thead > th` elements) and tightened cell padding.
- Dropped `.pre-scrollable` class. [See #29135](https://github.com/twbs/bootstrap/pull/29135)