浏览代码

Fix some typo

zhixin 7 年之前
父节点
当前提交
5d2f61d36a

+ 1 - 1
site/docs/getting-started/contents.md

@@ -23,7 +23,7 @@ bootstrap-table/
     └── bootstrap-table.min.js
 {% endhighlight %}
 
-The `dist/` folder includes everything compiled and minified with `src/`. For ease of use, we also compile all locale files into one file `bootstrap-table-locale-all`.
+The `dist/` folder includes everything compiled and minified with `src/`. For ease of use, we also compile all locale files into one file `bootstrap-table-locale-all.js`.
 
 ## Source Code
 

+ 1 - 1
site/docs/getting-started/download.md

@@ -37,7 +37,7 @@ The folks over at [CDNJS](http://www.cdnjs.com/libraries/bootstrap-table) and [b
 Install and manage Bootstrap table's CSS, JavaScript, locales, and extensions using [npm](https://www.npmjs.com/package/bootstrap-table).
 
 {% highlight sh %}
-bower install bootstrap-table
+npm install bootstrap-table
 {% endhighlight %}
 
 ### bower

+ 2 - 3
site/docs/getting-started/introduction.md

@@ -75,8 +75,7 @@ Put it all together and your pages should look like this:
       </tbody>
     </table>
 
-    <!-- Optional JavaScript -->
-    <!-- jQuery first, then Popper.js, then Bootstrap JS -->
+    <!-- jQuery first, then Popper.js, then Bootstrap JS, and then Bootstrap Table JS -->
     <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
     <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
     <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
@@ -101,5 +100,5 @@ Bootstrap Table requires the use of the HTML5 doctype. Without it, you'll see so
 Stay up to date on the development of Bootstrap Table and reach out to the community with these helpful resources.
 
 - Follow [@{{ site.twitter }} on Twitter](https://twitter.com/{{ site.twitter }}).
-- Read [The Official Bootstrap Table News]({{ site.news }}/).
+- Read [The Official Bootstrap Table News]({{ site.base_url }}/news).
 - Implementation help may be found at Stack Overflow (tagged [`bootstrap-table`](https://stackoverflow.com/questions/tagged/bootstrap-table)).

+ 1 - 1
site/docs/getting-started/usage.md

@@ -68,7 +68,7 @@ You can also add `pagination`, `search`, and `sorting` to a table like the follo
 
 ## Via JavaScript
 
-Call a bootstrap table with id table with JavaScript.
+Call a bootstrap table with id table via JavaScript.
 
 {% highlight html %}
 <table id="table"></table>

+ 1 - 6
site/index.html

@@ -73,16 +73,11 @@ bower install bootstrap-table
     <!-- Icon by Bytesize https://github.com/danklammer/bytesize-icons -->
     {% include icons/download.svg width="32" height="32" class="text-primary mb-2" %}
     <h3>CDN</h3>
-    <p>When you only need to include Bootstrap Table’s compiled CSS or JS, you can use <a href="http://www.cdnjs.com/libraries/bootstrap-table">CDNJS</a></p>
+    <p>When you only need to include Bootstrap Table’s compiled CSS or JS, you can use <a href="http://www.cdnjs.com/libraries/bootstrap-table">CDNJS</a>.</p>
 
 {% highlight html %}
-<!-- Latest compiled and minified CSS -->
 <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/{{ site.current_version }}/bootstrap-table.min.css">
-
-<!-- Latest compiled and minified JavaScript -->
 <script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/{{ site.current_version }}/bootstrap-table.min.js"></script>
-<!-- Latest compiled and minified Locales -->
-<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/{{ site.current_version }}/locale/bootstrap-table-zh-CN.min.js"></script>
 {% endhighlight %}
 
     <hr class="half-rule">