Repository: usergrid
Updated Branches:
  refs/heads/release 422167802 -> 147342752


Update for Nanoc4


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

Branch: refs/heads/release
Commit: 147342752a5a3e5afeb658afba9f77103f06e8a6
Parents: 4221678
Author: Dave Johnson <[email protected]>
Authored: Mon Feb 8 16:56:35 2016 -0500
Committer: Dave Johnson <[email protected]>
Committed: Mon Feb 8 16:56:35 2016 -0500

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


http://git-wip-us.apache.org/repos/asf/usergrid/blob/14734275/website/README.md
----------------------------------------------------------------------
diff --git a/website/README.md b/website/README.md
index 23f0766..2271ee0 100644
--- a/website/README.md
+++ b/website/README.md
@@ -22,7 +22,7 @@ Install Pygments (Python-basd syntax coloring library):
 
 Install Nanoc and other Ruby Gems needed:
 
-    $ sudo gem install nanoc pygments.rb htmlentities pandoc-ruby nokogiri 
rack mime-types
+    $ sudo gem install nanoc pygments.rb htmlentities pandoc-ruby nokogiri 
rack mime-types adsf
 
 ## How to change/update the website 
 
@@ -38,7 +38,7 @@ If you need to change the layout or styling of the site, then 
you will probably
 
 To test locally, you can use the autocompiler (will build changes on every 
request) and check the website at [http://0.0.0.0:3000](http://0.0.0.0:3000)
 
-    $ nanoc autocompile
+    $ nanoc view
     
 ## 3. Publish your changes to the site    
 

http://git-wip-us.apache.org/repos/asf/usergrid/blob/14734275/website/lib/default.rb
----------------------------------------------------------------------
diff --git a/website/lib/default.rb b/website/lib/default.rb
index 8adfad9..1a3609d 100644
--- a/website/lib/default.rb
+++ b/website/lib/default.rb
@@ -5,7 +5,7 @@ include Nanoc::Helpers::Rendering
 require 'pandoc-ruby'
 require 'htmlentities'
 
-class PandocFilter < Nanoc3::Filter
+class PandocFilter < Nanoc::Filter
   identifier :pandoc
   type :text
 
@@ -14,7 +14,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/usergrid/blob/14734275/website/nanoc.yaml
----------------------------------------------------------------------
diff --git a/website/nanoc.yaml b/website/nanoc.yaml
index ca1b598..ad4c5b5 100644
--- a/website/nanoc.yaml
+++ b/website/nanoc.yaml
@@ -33,11 +33,13 @@ prune:
 # hashes; each array element represents a single data source. By default,
 # there is only a single data source that reads data from the “content/” 
and
 # “layout/” directories in the site directory.
+string_pattern_type: legacy
 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 “/” by default, meaning that items will 
have

http://git-wip-us.apache.org/repos/asf/usergrid/blob/14734275/website/run.sh
----------------------------------------------------------------------
diff --git a/website/run.sh b/website/run.sh
index cf1f043..d4cfaaf 100755
--- a/website/run.sh
+++ b/website/run.sh
@@ -1 +1,2 @@
-nanoc autocompile
+#!/bin/bash
+nanoc view

Reply via email to