Skip to content

Commit 208df78

Browse files
committed
Merge pull request twbs#12241 from twbs/jekyll-encoding
Set Jekyll encoding and tweak Windows notes
2 parents 14975e4 + 00239f6 commit 208df78

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ Bootstrap's documentation, included in this repo in the root directory, is built
6464
### Running documentation locally
6565

6666
1. If necessary, [install Jekyll](http://jekyllrb.com/docs/installation) (requires v1.x).
67-
- **Windows users:** read [this unofficial guide](https://github.com/juthilo/run-jekyll-on-windows/) to get Jekyll up and running without problems.
67+
- **Windows users:** Read [this unofficial guide](https://github.com/juthilo/run-jekyll-on-windows/) to get Jekyll up and running without problems. We use Pygments for syntax highlighting, so make sure to read the sections on installing Python and Pygments.
6868
2. From the root `/bootstrap` directory, run `jekyll serve` in the command line.
69-
- **Windows users:** For Ruby 2.0.0 run `chcp 65001` first to change the command prompt's character encoding ([code page](http://en.wikipedia.org/wiki/Windows_code_page)) to UTF-8 so Jekyll runs without errors. For Ruby 1.9.3 you can alternatively do `SET LANG=en_EN.UTF-8`. In addition, ensure you have Python installed and added in your `PATH` or the build will fail due to our Pygments dependency.
69+
- **Windows users:** While we use Jekyll's `encoding` setting, you might still need to change the command prompt's character encoding ([code page](http://en.wikipedia.org/wiki/Windows_code_page)) to UTF-8 so Jekyll runs without errors. For Ruby 2.0.0 run `chcp 65001` first. For Ruby 1.9.3 you can alternatively do `SET LANG=en_EN.UTF-8`.
7070
3. Open <http://localhost:9001> in your browser, and voilà.
7171

7272
Learn more about using Jekyll by reading its [documentation](http://jekyllrb.com/docs/home/).

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ host: 0.0.0.0
1212
port: 9001
1313
baseurl: /
1414
url: http://localhost:9001
15+
encoding: UTF-8
1516

1617
# Custom vars
1718
current_version: 3.0.3

0 commit comments

Comments
 (0)