[Groonga-commit] groonga/groonga-beginners-book-ja at bffe29c [master] Upgrade Re:VIEW to 1.5.0

Back to archive index

Masafumi Yokoyama null+****@clear*****
Sat Feb 28 22:30:37 JST 2015


Masafumi Yokoyama	2015-02-28 22:30:37 +0900 (Sat, 28 Feb 2015)

  New Revision: bffe29c61025b319f51273ceea2595093e6c9434
  https://github.com/groonga/groonga-beginners-book-ja/commit/bffe29c61025b319f51273ceea2595093e6c9434

  Message:
    Upgrade Re:VIEW to 1.5.0
    
      * review-pdfmaker removes a PDF file if already exists.
      * update default value of "toc" as nil.
    
    See: https://github.com/kmuto/review/blob/master/ChangeLog

  Modified files:
    Gemfile.lock
    Rakefile
    config.yml

  Modified: Gemfile.lock (+1 -1)
===================================================================
--- Gemfile.lock    2015-02-28 12:53:53 +0900 (758b790)
+++ Gemfile.lock    2015-02-28 22:30:37 +0900 (94088fe)
@@ -2,7 +2,7 @@ GEM
   remote: https://rubygems.org/
   specs:
     rake (10.4.2)
-    review (1.4.0)
+    review (1.5.0)
 
 PLATFORMS
   ruby

  Modified: Rakefile (+0 -6)
===================================================================
--- Rakefile    2015-02-28 12:53:53 +0900 (6036340)
+++ Rakefile    2015-02-28 22:30:37 +0900 (3f78187)
@@ -13,10 +13,6 @@ def configurations
   @configurations ||= YAML.load(File.read(config_path))
 end
 
-def bookname
-  configurations["bookname"]
-end
-
 namespace :generate do
   desc "generate HTML"
   task :html do |re_path|
@@ -25,8 +21,6 @@ namespace :generate do
 
   desc "generate PDF"
   task :pdf do
-    pdf_path = "#{bookname}.pdf"
-    FileUtils.rm(pdf_path) if File.exist?(pdf_path)
     system("review-pdfmaker", config_path)
   end
 

  Modified: config.yml (+3 -0)
===================================================================
--- config.yml    2015-02-28 12:53:53 +0900 (4b04484)
+++ config.yml    2015-02-28 22:30:37 +0900 (f72d313)
@@ -70,6 +70,9 @@ stylesheet: ["stylesheet.css"]
 # HTMLのバージョン (4か5。epubversionを3にしたときには5にする)
 # htmlversion: 4
 
+# 目次を作成する。Re:VIEW 1.5.0からデフォルトでは作成されなくなった。
+toc: true
+
 # 目次として抽出する見出しレベル
 toclevel: 3
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index