]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Link to versioned docs
authorMartijn Cuppens <martijn.cuppens@gmail.com>
Fri, 1 Nov 2019 10:22:29 +0000 (11:22 +0100)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 25 Nov 2019 11:05:57 +0000 (13:05 +0200)
config.yml
site/content/docs/4.3/getting-started/rfs.md
site/content/docs/4.3/migration.md

index 01c56f10f449f640aada840a201ee89c2098782a..9491fa97dfaa74c64fddb1d2f8aeb8ed57ca56f4 100644 (file)
@@ -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"
index a48701bc0b0dd1538fcf90029f819bc213a71a68..4a06f2b0b90ca7551a4d4a008bd61dcc1c90528f 100644 (file)
@@ -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" >}}).
index ae72010feca6f8b2d725b1b979ba974bdef535dc..f4e45013ae93d99680bdade6f70803ffdb009347 100644 (file)
@@ -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)