You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by sb...@apache.org on 2016/06/24 23:06:32 UTC

[2/6] incubator-geode git commit: GEODE-1576: Website needs to be upgraded to include WAN and CQ

GEODE-1576: Website needs to be upgraded to include WAN and CQ

upgrade nanoc to 4.2.0


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/e987e5d9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/e987e5d9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/e987e5d9

Branch: refs/heads/develop
Commit: e987e5d90347c7520cd04043ee6d92d633322a76
Parents: 30928d9
Author: Swapnil Bawaskar <sb...@pivotal.io>
Authored: Fri Jun 24 14:58:31 2016 -0700
Committer: Swapnil Bawaskar <sb...@pivotal.io>
Committed: Fri Jun 24 16:05:36 2016 -0700

----------------------------------------------------------------------
 geode-site/website/README.md      | 2 +-
 geode-site/website/lib/default.rb | 4 ++--
 geode-site/website/nanoc.yaml     | 2 ++
 3 files changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/e987e5d9/geode-site/website/README.md
----------------------------------------------------------------------
diff --git a/geode-site/website/README.md b/geode-site/website/README.md
index 2ae17b4..60deb69 100644
--- a/geode-site/website/README.md
+++ b/geode-site/website/README.md
@@ -22,7 +22,7 @@ Install Pygments (Python-based syntax coloring library):
 
 Install Nanoc and other Ruby Gems needed:
 
-    $ sudo gem install nanoc -v 3.8.0
+    $ sudo gem install nanoc -v 4.2.0
     $ sudo gem install pygments.rb htmlentities pandoc-ruby nokogiri rack mime-types adsf
 
 ## How to change/update the website

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/e987e5d9/geode-site/website/lib/default.rb
----------------------------------------------------------------------
diff --git a/geode-site/website/lib/default.rb b/geode-site/website/lib/default.rb
index dababa8..95383f2 100644
--- a/geode-site/website/lib/default.rb
+++ b/geode-site/website/lib/default.rb
@@ -22,7 +22,7 @@ include Nanoc::Helpers::Rendering
 require 'pandoc-ruby'
 require 'htmlentities'
 
-class PandocFilter < Nanoc3::Filter
+class PandocFilter < Nanoc::Filter
   identifier :pandoc
   type :text
 
@@ -31,7 +31,7 @@ class PandocFilter < Nanoc3::Filter
   end
 end
 
-class FencedCodeBlock < Nanoc3::Filter
+class FencedCodeBlock < Nanoc::Filter
   identifier :fenced_code_block
 
   def run(content, params={})

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/e987e5d9/geode-site/website/nanoc.yaml
----------------------------------------------------------------------
diff --git a/geode-site/website/nanoc.yaml b/geode-site/website/nanoc.yaml
index 764bb74..25fa01b 100644
--- a/geode-site/website/nanoc.yaml
+++ b/geode-site/website/nanoc.yaml
@@ -46,6 +46,7 @@ prune:
   # .git, .svn etc.
   exclude: [ '.git', '.hg', '.svn', 'CVS' ]
 
+string_pattern_type: legacy
 # The data sources where nanoc loads its data from. This is an array of
 # hashes; each array element represents a single data source. By default,
 # there is only a single data source that reads data from the \u201ccontent/\u201d and
@@ -55,6 +56,7 @@ data_sources:
     # The type is the identifier of the data source. By default, this will be
     # `filesystem_unified`.
     type: filesystem_unified
+    identifier_type: legacy
 
     # The path where items should be mounted (comparable to mount points in
     # Unix-like systems). This is \u201c/\u201d by default, meaning that items will have