mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Update extend page to point to readme for compiling.
Note that we'll be dropping this page entirely as it's out of date and other compiling options are not recommended for contributing back to the project.
This commit is contained in:
parent
a7231854c9
commit
6f275c6148
@ -136,16 +136,8 @@
|
|||||||
|
|
||||||
<h2>Tools for compiling</h2>
|
<h2>Tools for compiling</h2>
|
||||||
|
|
||||||
<h3>Node with makefile</h3>
|
|
||||||
<p>Install the LESS command line compiler, JSHint, Recess, and uglify-js globally with npm by running the following command:</p>
|
|
||||||
<pre>$ npm install -g less jshint recess uglify-js</pre>
|
|
||||||
<p>Once installed just run <code>make</code> from the root of your bootstrap directory and you're all set.</p>
|
|
||||||
<p>Additionally, if you have <a href="https://github.com/mynyml/watchr">watchr</a> installed, you may run <code>make watch</code> to have bootstrap automatically rebuilt every time you edit a file in the bootstrap lib (this isn't required, just a convenience method).</p>
|
|
||||||
|
|
||||||
<h3>Command line</h3>
|
<h3>Command line</h3>
|
||||||
<p>Install the LESS command line tool via Node and run the following command:</p>
|
<p>Follow <a href="https://github.com/twitter/bootstrap#developers">the instructions in the project readme</a> on GitHub for compiling via command line.</p>
|
||||||
<pre>$ lessc ./less/bootstrap.less > bootstrap.css</pre>
|
|
||||||
<p>Be sure to include <code>--compress</code> in that command if you're trying to save some bytes!</p>
|
|
||||||
|
|
||||||
<h3>JavaScript</h3>
|
<h3>JavaScript</h3>
|
||||||
<p><a href="http://lesscss.org/">Download the latest Less.js</a> and include the path to it (and Bootstrap) in the <code><head></code>.</p>
|
<p><a href="http://lesscss.org/">Download the latest Less.js</a> and include the path to it (and Bootstrap) in the <code><head></code>.</p>
|
||||||
|
10
docs/templates/pages/extend.mustache
vendored
10
docs/templates/pages/extend.mustache
vendored
@ -65,16 +65,8 @@
|
|||||||
|
|
||||||
<h2>{{_i}}Tools for compiling{{/i}}</h2>
|
<h2>{{_i}}Tools for compiling{{/i}}</h2>
|
||||||
|
|
||||||
<h3>{{_i}}Node with makefile{{/i}}</h3>
|
|
||||||
<p>{{_i}}Install the LESS command line compiler, JSHint, Recess, and uglify-js globally with npm by running the following command:{{/i}}</p>
|
|
||||||
<pre>$ npm install -g less jshint recess uglify-js</pre>
|
|
||||||
<p>{{_i}}Once installed just run <code>make</code> from the root of your bootstrap directory and you're all set.{{/i}}</p>
|
|
||||||
<p>{{_i}}Additionally, if you have <a href="https://github.com/mynyml/watchr">watchr</a> installed, you may run <code>make watch</code> to have bootstrap automatically rebuilt every time you edit a file in the bootstrap lib (this isn't required, just a convenience method).{{/i}}</p>
|
|
||||||
|
|
||||||
<h3>{{_i}}Command line{{/i}}</h3>
|
<h3>{{_i}}Command line{{/i}}</h3>
|
||||||
<p>{{_i}}Install the LESS command line tool via Node and run the following command:{{/i}}</p>
|
<p>{{_i}}Follow <a href="https://github.com/twitter/bootstrap#developers">the instructions in the project readme</a> on GitHub for compiling via command line.{{/i}}</p>
|
||||||
<pre>$ lessc ./less/bootstrap.less > bootstrap.css</pre>
|
|
||||||
<p>{{_i}}Be sure to include <code>--compress</code> in that command if you're trying to save some bytes!{{/i}}</p>
|
|
||||||
|
|
||||||
<h3>{{_i}}JavaScript{{/i}}</h3>
|
<h3>{{_i}}JavaScript{{/i}}</h3>
|
||||||
<p>{{_i}}<a href="http://lesscss.org/">Download the latest Less.js</a> and include the path to it (and Bootstrap) in the <code><head></code>.{{/i}}</p>
|
<p>{{_i}}<a href="http://lesscss.org/">Download the latest Less.js</a> and include the path to it (and Bootstrap) in the <code><head></code>.{{/i}}</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user