Skip to content

Commit 811f04a

Browse files
committed
upgrade setup/config to current github pages.
Without changing anything
1 parent 11f56bf commit 811f04a

File tree

4 files changed

+23
-16
lines changed

4 files changed

+23
-16
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# ignore files generated by jekyll for local dev
22
_site
33

4+
# lock is determined by Github infrastructure, not by us!
5+
Gemfile.lock

Gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source 'https://rubygems.org'
2+
3+
gem "github-pages", group: :jekyll_plugins

README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ This repo is the source for the fog.io website all about the fog cloud computing
55

66

77
## Contributing
8-
Want to see changes on your local machine? Use the [jekyll](https://github.com/mojombo/jekyll) blogging gem. After you get things setup, use the following command to view the fog site on [localhost:4000](http://localhost:4000/).
8+
Want to see changes on your local machine?
99

10-
jekyll server
10+
Once you are [setup with ruby and bundler](https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/#requirements),
11+
install jekyll with `bundle install`
12+
13+
After you get things setup, use the following command to view the fog site on [localhost:4000](http://localhost:4000/).
14+
15+
bundle exec jekyll serve

_config.yml

+11-14
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
safe: false
2-
auto: false
3-
server: false
4-
server_port: 4000
2+
port: 4000
53

64
source: .
75
destination: ./_site
8-
plugins: ./_plugins
6+
plugins_dir: ./_plugins
97

108
future: true
119
lsi: false
12-
pygments: false
10+
highlighter: false
1311
markdown: kramdown
1412
permalink: none
1513

@@ -21,12 +19,11 @@ kramdown:
2119
footnote_nr: 1
2220
entity_output: as_char
2321
toc_levels: 1..6
24-
use_coderay: false
25-
26-
coderay:
27-
coderay_wrap: div
28-
coderay_line_numbers: inline
29-
coderay_line_numbers_start: 1
30-
coderay_tab_width: 4
31-
coderay_bold_every: 10
32-
coderay_css: style
22+
enable_coderay: false
23+
syntax_highlighter_opts:
24+
wrap: div
25+
line_numbers: inline
26+
line_numbers_start: 1
27+
tab_width: 4
28+
bold_every: 10
29+
css: style

0 commit comments

Comments
 (0)