diff --git a/.travis.yml b/.travis.yml index e91f1c53..176b77f9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: ruby rvm: - - 2.0.0 + # RubyInstallerで提供される最新版を、指定・利用の目安としている + - 2.2.4 before_script: "bundle show" script: "bundle exec jekyll build" after_script: "find _site -type f" diff --git a/Gemfile b/Gemfile index b03d0d34..d5779e6c 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,3 @@ source 'https://rubygems.org' -gem 'github-pages' -gem 'jemoji' +gem 'github-pages', '>= 45' diff --git a/_config.yml b/_config.yml index 07d220d5..794d557d 100644 --- a/_config.yml +++ b/_config.yml @@ -1,52 +1,37 @@ -encoding: utf-8 -safe: false -base-url: http://vim-jp.org - -source: . -destination: ./_site -plugins: ./_plugins - -future: true -lsi: false -highlighter: pygments -markdown: redcarpet -permalink: date - -redcarpet: - extensions: ["tables", "autolink", "strikethrough", "superscript"] -maruku: - use_tex: false - use_divs: false - png_engine: blahtex - png_dir: images/latex - png_url: /images/latex - -rdiscount: - extensions: [] - -kramdown: - auto_ids: true - footnote_nr: 1 - entity_output: as_char - toc_levels: 1..6 - use_coderay: false - - coderay: - coderay_wrap: div - coderay_line_numbers: inline - coderay_line_numbers_start: 1 - coderay_tab_width: 4 - coderay_bold_every: 10 - coderay_css: style +############################################################################ +# 原則 http://jekyllrb.com/docs/configuration/#default-configuration からの +# 差分のみ記述している。記述順序も前述に従う。 +### Handling Reading exclude: - 'scripts' - 'Gemfile' - 'README.md' - 'vendor' +# デフォルトと同じだが「utf-8で記事を書こう」という宣言的な意味合で残した。 +encoding: utf-8 + +### Filtering Content +future: true +### Plugins gems: - jemoji - jekyll-sitemap +### Outputting +# デフォルトと同じだが、万が一デフォルトが変わってしまうと記事のURLが変わってし +# まいクリティカルなので、明示的に指定した。 +permalink: date + +### Markdown Processors +kramdown: + input: GFM + +############################################################################ +# 以下はvim-jp固有の設定項目 + +# baseurl と紛らわしいが別物なので要注意 +base-url: http://vim-jp.org + hotkeys: true diff --git a/assets/css/syntax.css b/assets/css/syntax.css index 2774b764..71990618 100644 --- a/assets/css/syntax.css +++ b/assets/css/syntax.css @@ -1,4 +1,4 @@ -.highlight { background: #ffffff; } +.highlight { background: #000; } .highlight .c { color: #999988; font-style: italic } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .k { font-weight: bold } /* Keyword */