Browse Source

Merge branch 'hotfix/fix-stylesheet-href' into develop

zhixin 4 years ago
parent
commit
eed5dd6bad

+ 3 - 3
site/docs/extensions/fixed-columns.md

@@ -9,7 +9,7 @@ toc: true
 ## Usage
 
 {% highlight html %}
-<link rel="stylesheet" src="extensions/fixed-columns/bootstrap-table-fixed-columns.css">
+<link rel="stylesheet" href="extensions/fixed-columns/bootstrap-table-fixed-columns.css">
 <script src="extensions/fixed-columns/bootstrap-table-fixed-columns.js"></script>
 {% endhighlight %}
 
@@ -60,8 +60,8 @@ toc: true
 * Not support `showFooter` option.
 * Need to import after sticky-header when using with sticky-header extension. For example:
 {% highlight html %}
-<link rel="stylesheet" src="extensions/sticky-header/bootstrap-table-sticky-header.css">
-<link rel="stylesheet" src="extensions/fixed-columns/bootstrap-table-fixed-columns.css">
+<link rel="stylesheet" href="extensions/sticky-header/bootstrap-table-sticky-header.css">
+<link rel="stylesheet" href="extensions/fixed-columns/bootstrap-table-fixed-columns.css">
 <script src="extensions/sticky-header/bootstrap-table-sticky-header.js"></script>
 <script src="extensions/fixed-columns/bootstrap-table-fixed-columns.js"></script>
 {% endhighlight %}

+ 6 - 6
site/docs/extensions/group-by-v2.md

@@ -9,7 +9,7 @@ toc: true
 ## Usage
 
 {% highlight html %}
-<link rel="stylesheet" src="extensions/group-by-v2/bootstrap-table-group-by.css">
+<link rel="stylesheet" href="extensions/group-by-v2/bootstrap-table-group-by.css">
 <script src="extensions/group-by-v2/bootstrap-table-group-by.js"></script>
 {% endhighlight %}
 
@@ -39,9 +39,9 @@ toc: true
 
 - **Detail:**
 
-   Set the field name(s) that you want to group the data.  
-   For a single field use a `String` e.g. `shape`.   
-   For a multiple fields use a `Array` e.g. `["shape", "color"]`.   
+   Set the field name(s) that you want to group the data.
+   For a single field use a `String` e.g. `shape`.
+   For a multiple fields use a `Array` e.g. `["shape", "color"]`.
 
 - **Default:** `''`
 
@@ -93,12 +93,12 @@ toc: true
 
 - **Detail:**
 
-  All group keys (which are in this array will be collapsed by default.   
+  All group keys (which are in this array will be collapsed by default.
   The value of this option can be:
   - A variable (array)
   - An Array string e.g. `["circle"]`
   - A function (returns an array) which gets as parameters:
      - The group key
-     - The entries of the group 
+     - The entries of the group
 
 - **Default:** `[]`

+ 1 - 1
site/docs/extensions/sticky-header.md

@@ -11,7 +11,7 @@ This is an extension which provides a sticky header for the table when scrolling
 ## Usage
 
 {% highlight html %}
-<link rel="stylesheet" src="extensions/sticky-header/bootstrap-table-sticky-header.css">
+<link rel="stylesheet" href="extensions/sticky-header/bootstrap-table-sticky-header.css">
 <script src="extensions/sticky-header/bootstrap-table-sticky-header.js"></script>
 {% endhighlight %}