spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andrewo...@apache.org
Subject spark git commit: [MINOR] Remove unnecessary spaces in `include_example.rb`
Date Wed, 25 Nov 2015 19:36:10 GMT
Repository: spark
Updated Branches:
  refs/heads/branch-1.6 c7db01b20 -> 685b9c2f5


[MINOR] Remove unnecessary spaces in `include_example.rb`

Author: Yu ISHIKAWA <yuu.ishikawa@gmail.com>

Closes #9960 from yu-iskw/minor-remove-spaces.

(cherry picked from commit 0dee44a6646daae0cc03dbc32125e080dff0f4ae)
Signed-off-by: Andrew Or <andrew@databricks.com>


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

Branch: refs/heads/branch-1.6
Commit: 685b9c2f5a68cc77e9494a39b0cb25b6c0b239b3
Parents: c7db01b
Author: Yu ISHIKAWA <yuu.ishikawa@gmail.com>
Authored: Wed Nov 25 11:35:52 2015 -0800
Committer: Andrew Or <andrew@databricks.com>
Committed: Wed Nov 25 11:36:06 2015 -0800

----------------------------------------------------------------------
 docs/_plugins/include_example.rb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/685b9c2f/docs/_plugins/include_example.rb
----------------------------------------------------------------------
diff --git a/docs/_plugins/include_example.rb b/docs/_plugins/include_example.rb
index 549f81f..564c866 100644
--- a/docs/_plugins/include_example.rb
+++ b/docs/_plugins/include_example.rb
@@ -20,12 +20,12 @@ require 'pygments'
 
 module Jekyll
   class IncludeExampleTag < Liquid::Tag
-    
+
     def initialize(tag_name, markup, tokens)
       @markup = markup
       super
     end
- 
+
     def render(context)
       site = context.registers[:site]
       config_dir = '../examples/src/main'
@@ -37,7 +37,7 @@ module Jekyll
 
       code = File.open(@file).read.encode("UTF-8")
       code = select_lines(code)
- 
+
       rendered_code = Pygments.highlight(code, :lexer => @lang)
 
       hint = "<div><small>Find full example code at " \
@@ -45,7 +45,7 @@ module Jekyll
 
       rendered_code + hint
     end
- 
+
     # Trim the code block so as to have the same indention, regardless of their positions
in the
     # code file.
     def trim_codeblock(lines)


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


Mime
View raw message