cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblot...@apache.org
Subject docs commit: Switching to Rouge instead of pygments because it's imeplemented in Ruby and, more importantly, because it automatically highlights triple-dash code blocks.
Date Tue, 15 Sep 2015 03:51:25 GMT
Repository: cordova-docs
Updated Branches:
  refs/heads/cordova-website 36d384edb -> 9317c64da


Switching to Rouge instead of pygments because it's imeplemented in Ruby and, more importantly,
because it automatically highlights triple-dash code blocks.


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/9317c64d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/9317c64d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/9317c64d

Branch: refs/heads/cordova-website
Commit: 9317c64da1925a72776ae3f4709b78293552f3e3
Parents: 36d384e
Author: Dmitry Blotsky <dmitry.blotsky@gmail.com>
Authored: Mon Sep 14 20:51:19 2015 -0700
Committer: Dmitry Blotsky <dmitry.blotsky@gmail.com>
Committed: Mon Sep 14 20:51:19 2015 -0700

----------------------------------------------------------------------
 Gemfile     |  3 +--
 _config.yml | 17 ++++++++---------
 2 files changed, 9 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/9317c64d/Gemfile
----------------------------------------------------------------------
diff --git a/Gemfile b/Gemfile
index 16f5767..9faeae8 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,5 +1,4 @@
 source 'https://rubygems.org'
 gem 'jekyll', '>= 2.5.3'
-gem 'rdiscount', '>= 2.1.8'
 gem 'kramdown', '>= 1.8.0'
-gem 'rake', '>= 10.4.2'
+gem 'rouge', '>= 1.5.0'

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/9317c64d/_config.yml
----------------------------------------------------------------------
diff --git a/_config.yml b/_config.yml
index 5670d74..5a42044 100644
--- a/_config.yml
+++ b/_config.yml
@@ -20,19 +20,18 @@ repo:
 source:      www
 destination: build-dev
 
+# don't erase these files in the output directory
 keep_files: [".git", ".svn", "wiki-images", "images", "downloads"]
 
-lsi: false
-safe: true
-highlighter: pygments
+lsi:  false # don't produce an index for related posts
+safe: true  # disables plugins
 
 markdown: kramdown
-rdiscount:
-  extensions:
-    - autolink
-    - footnotes
-    - smart
 
-# exclude directories from the build
+kramdown:
+    input: GFM
+    syntax_highlighter: rouge
+
+# exclude these directories from the build
 exclude:
     - static/css-src


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message