rabbit 0.9.3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (213) hide show
  1. data/Gemfile +9 -2
  2. data/Rakefile +11 -4
  3. data/TODO +0 -2
  4. data/bin/rabbirack +95 -0
  5. data/bin/rabbit +23 -2
  6. data/bin/rabbiter +9 -0
  7. data/data/locale/en/LC_MESSAGES/rabbit.mo +0 -0
  8. data/data/locale/fr/LC_MESSAGES/rabbit.mo +0 -0
  9. data/data/locale/ja/LC_MESSAGES/rabbit.mo +0 -0
  10. data/doc/_layouts/en.html +1 -1
  11. data/doc/_layouts/ja.html +1 -1
  12. data/doc/_layouts/skeleton.html +1 -1
  13. data/doc/_site/css/rabbit.css +41 -1
  14. data/doc/_site/en/development.html +2 -2
  15. data/doc/_site/en/faq.html +2 -2
  16. data/doc/_site/en/hiki.html +2 -2
  17. data/doc/_site/en/how-to-make/hiki.html +2 -2
  18. data/doc/_site/en/how-to-make/index.html +2 -2
  19. data/doc/_site/en/how-to-make/pdf.html +2 -2
  20. data/doc/_site/en/how-to-make/rd.html +2 -2
  21. data/doc/_site/en/how-to-make/theme.html +2 -2
  22. data/doc/_site/en/index.html +20 -20
  23. data/doc/_site/en/install/homebrew.html +6 -12
  24. data/doc/_site/en/install/index.html +5 -3
  25. data/doc/_site/en/install/macports.html +2 -2
  26. data/doc/_site/en/install/windows.html +2 -2
  27. data/doc/_site/en/news.html +172 -61
  28. data/doc/_site/en/rd.html +2 -2
  29. data/doc/_site/en/sample/hiki/rabbit.html +3 -3
  30. data/doc/_site/en/sample/index.html +2 -2
  31. data/doc/_site/en/sample/rd/rabbit.html +3 -3
  32. data/doc/_site/en/slides.html +2 -2
  33. data/doc/_site/en/usage.html +60 -60
  34. data/doc/_site/en/users.html +2 -2
  35. data/doc/_site/images/screenshots/en/blue-circle.png +0 -0
  36. data/doc/_site/images/screenshots/en/clear-blue-raw.png +0 -0
  37. data/doc/_site/images/screenshots/en/clear-blue.png +0 -0
  38. data/doc/_site/images/screenshots/en/cozmixng-raw.png +0 -0
  39. data/doc/_site/images/screenshots/en/cozmixng.png +0 -0
  40. data/doc/_site/images/screenshots/en/dark-gradation.png +0 -0
  41. data/doc/_site/images/screenshots/en/day-white.png +0 -0
  42. data/doc/_site/images/screenshots/en/debian.png +0 -0
  43. data/doc/_site/images/screenshots/en/green-circle.png +0 -0
  44. data/doc/_site/images/screenshots/en/night-black.png +0 -0
  45. data/doc/_site/images/screenshots/en/rabbit-raw.png +0 -0
  46. data/doc/_site/images/screenshots/en/rabbit.png +0 -0
  47. data/doc/_site/images/screenshots/en/ranguba-raw.png +0 -0
  48. data/doc/_site/images/screenshots/en/ranguba.png +0 -0
  49. data/doc/_site/images/screenshots/en/red-frame.png +0 -0
  50. data/doc/_site/images/screenshots/en/ruby-gnome2.png +0 -0
  51. data/doc/_site/images/screenshots/ja/blue-circle.png +0 -0
  52. data/doc/_site/images/screenshots/ja/clear-blue-raw.png +0 -0
  53. data/doc/_site/images/screenshots/ja/clear-blue.png +0 -0
  54. data/doc/_site/images/screenshots/ja/cozmixng-raw.png +0 -0
  55. data/doc/_site/images/screenshots/ja/cozmixng.png +0 -0
  56. data/doc/_site/images/screenshots/ja/dark-gradation.png +0 -0
  57. data/doc/_site/images/screenshots/ja/day-white.png +0 -0
  58. data/doc/_site/images/screenshots/ja/debian.png +0 -0
  59. data/doc/_site/images/screenshots/ja/green-circle.png +0 -0
  60. data/doc/_site/images/screenshots/ja/night-black.png +0 -0
  61. data/doc/_site/images/screenshots/ja/rabbit-raw.png +0 -0
  62. data/doc/_site/images/screenshots/ja/rabbit.png +0 -0
  63. data/doc/_site/images/screenshots/ja/ranguba-raw.png +0 -0
  64. data/doc/_site/images/screenshots/ja/ranguba.png +0 -0
  65. data/doc/_site/images/screenshots/ja/red-frame.png +0 -0
  66. data/doc/_site/images/screenshots/ja/ruby-gnome2.png +0 -0
  67. data/doc/_site/index.html.en +8 -2
  68. data/doc/_site/index.html.ja +8 -2
  69. data/doc/_site/ja/about.html +2 -2
  70. data/doc/_site/ja/development.html +2 -2
  71. data/doc/_site/ja/faq.html +25 -14
  72. data/doc/_site/ja/hiki.html +2 -2
  73. data/doc/_site/ja/how-to-make/hiki.html +2 -2
  74. data/doc/_site/ja/how-to-make/index.html +2 -2
  75. data/doc/_site/ja/how-to-make/pdf.html +2 -2
  76. data/doc/_site/ja/how-to-make/rd.html +2 -2
  77. data/doc/_site/ja/how-to-make/theme.html +2 -2
  78. data/doc/_site/ja/index.html +2 -2
  79. data/doc/_site/ja/install/homebrew.html +6 -12
  80. data/doc/_site/ja/install/index.html +5 -3
  81. data/doc/_site/ja/install/macports.html +3 -6
  82. data/doc/_site/ja/install/windows.html +2 -2
  83. data/doc/_site/ja/news.html +165 -61
  84. data/doc/_site/ja/rd.html +2 -2
  85. data/doc/_site/ja/sample/hiki/rabbit.html +3 -3
  86. data/doc/_site/ja/sample/index.html +2 -2
  87. data/doc/_site/ja/sample/rd/rabbit.html +3 -3
  88. data/doc/_site/ja/slides.html +2 -2
  89. data/doc/_site/ja/usage.html +60 -69
  90. data/doc/_site/ja/users.html +2 -2
  91. data/doc/css/rabbit.css +41 -1
  92. data/doc/en/index.rd +1 -1
  93. data/doc/en/install/homebrew.rd +2 -11
  94. data/doc/en/install/index.rd +2 -0
  95. data/doc/en/news.rd +117 -3
  96. data/doc/en/sample/hiki/rabbit.hiki +1 -1
  97. data/doc/en/sample/rd/rabbit.rd +1 -1
  98. data/doc/en/usage.rd +12 -17
  99. data/doc/images/screenshots/en/blue-circle.png +0 -0
  100. data/doc/images/screenshots/en/clear-blue-raw.png +0 -0
  101. data/doc/images/screenshots/en/clear-blue.png +0 -0
  102. data/doc/images/screenshots/en/cozmixng-raw.png +0 -0
  103. data/doc/images/screenshots/en/cozmixng.png +0 -0
  104. data/doc/images/screenshots/en/dark-gradation.png +0 -0
  105. data/doc/images/screenshots/en/day-white.png +0 -0
  106. data/doc/images/screenshots/en/debian.png +0 -0
  107. data/doc/images/screenshots/en/green-circle.png +0 -0
  108. data/doc/images/screenshots/en/night-black.png +0 -0
  109. data/doc/images/screenshots/en/rabbit-raw.png +0 -0
  110. data/doc/images/screenshots/en/rabbit.png +0 -0
  111. data/doc/images/screenshots/en/ranguba-raw.png +0 -0
  112. data/doc/images/screenshots/en/ranguba.png +0 -0
  113. data/doc/images/screenshots/en/red-frame.png +0 -0
  114. data/doc/images/screenshots/en/ruby-gnome2.png +0 -0
  115. data/doc/images/screenshots/ja/blue-circle.png +0 -0
  116. data/doc/images/screenshots/ja/clear-blue-raw.png +0 -0
  117. data/doc/images/screenshots/ja/clear-blue.png +0 -0
  118. data/doc/images/screenshots/ja/cozmixng-raw.png +0 -0
  119. data/doc/images/screenshots/ja/cozmixng.png +0 -0
  120. data/doc/images/screenshots/ja/dark-gradation.png +0 -0
  121. data/doc/images/screenshots/ja/day-white.png +0 -0
  122. data/doc/images/screenshots/ja/debian.png +0 -0
  123. data/doc/images/screenshots/ja/green-circle.png +0 -0
  124. data/doc/images/screenshots/ja/night-black.png +0 -0
  125. data/doc/images/screenshots/ja/rabbit-raw.png +0 -0
  126. data/doc/images/screenshots/ja/rabbit.png +0 -0
  127. data/doc/images/screenshots/ja/ranguba-raw.png +0 -0
  128. data/doc/images/screenshots/ja/ranguba.png +0 -0
  129. data/doc/images/screenshots/ja/red-frame.png +0 -0
  130. data/doc/images/screenshots/ja/ruby-gnome2.png +0 -0
  131. data/doc/index.html.en +6 -0
  132. data/doc/index.html.ja +6 -0
  133. data/doc/ja/faq.rd +21 -3
  134. data/doc/ja/install/homebrew.rd +2 -11
  135. data/doc/ja/install/index.rd +2 -0
  136. data/doc/ja/install/macports.rd +1 -6
  137. data/doc/ja/news.rd +109 -3
  138. data/doc/ja/sample/hiki/rabbit.hiki +1 -1
  139. data/doc/ja/sample/rd/rabbit.rd +1 -1
  140. data/doc/ja/usage.rd +11 -29
  141. data/lib/rabbit/canvas.rb +7 -4
  142. data/lib/rabbit/console.rb +1 -1
  143. data/lib/rabbit/div/main-i.erb +1 -1
  144. data/lib/rabbit/div/main.erb +1 -1
  145. data/lib/rabbit/element/base.rb +17 -1
  146. data/lib/rabbit/element/image.rb +1 -0
  147. data/lib/rabbit/element/preformatted.rb +8 -3
  148. data/lib/rabbit/element/syntax-highlighting.rb +15 -0
  149. data/lib/rabbit/element/text-renderer.rb +3 -3
  150. data/lib/rabbit/element/text.rb +0 -12
  151. data/lib/rabbit/element/title-slide.rb +1 -25
  152. data/lib/rabbit/formatter.rb +26 -6
  153. data/lib/rabbit/front.rb +10 -6
  154. data/lib/rabbit/html/template.erb +1 -1
  155. data/lib/rabbit/image.rb +1 -1
  156. data/lib/rabbit/keys.rb +70 -70
  157. data/lib/rabbit/middleware/config.ru +42 -0
  158. data/lib/rabbit/middleware/controller.rb +66 -0
  159. data/lib/rabbit/middleware/public/stylesheets/rabbirack.css +12 -0
  160. data/lib/rabbit/middleware/views/index.haml +13 -0
  161. data/lib/rabbit/middleware/views/layout.haml +8 -0
  162. data/lib/rabbit/parser/ext/aafigure.rb +1 -1
  163. data/lib/rabbit/parser/ext/blockdiag.rb +46 -0
  164. data/lib/rabbit/parser/ext/coderay.rb +66 -0
  165. data/lib/rabbit/parser/ext/emacs.rb +116 -0
  166. data/lib/rabbit/parser/ext/enscript.rb +15 -22
  167. data/lib/rabbit/parser/rd.rb +8 -2
  168. data/lib/rabbit/parser/rd/ext/block-verbatim.rb +53 -16
  169. data/lib/rabbit/parser/wiki.rb +3 -1
  170. data/lib/rabbit/parser/wiki/output.rb +28 -16
  171. data/lib/rabbit/rabbit.rb +7 -1
  172. data/lib/rabbit/renderer/display.rb +14 -2
  173. data/lib/rabbit/renderer/display/clutter-embed.rb +1 -1
  174. data/lib/rabbit/renderer/display/key-handler.rb +12 -12
  175. data/lib/rabbit/soap/base.rb +1 -1
  176. data/lib/rabbit/theme-browser.rb +2 -2
  177. data/lib/rabbit/theme/base/base.rb +7 -0
  178. data/lib/rabbit/theme/default-comment/default-comment.rb +9 -0
  179. data/lib/rabbit/theme/default-comment/property.rb +4 -0
  180. data/lib/rabbit/theme/default-item-mark-setup/default-item-mark-setup.rb +1 -1
  181. data/lib/rabbit/theme/default-slide/default-slide.rb +2 -2
  182. data/lib/rabbit/theme/default-text/default-text.rb +5 -0
  183. data/lib/rabbit/theme/default/default.rb +6 -7
  184. data/lib/rabbit/theme/footer-comment/footer-comment.rb +35 -8
  185. data/lib/rabbit/theme/pdf/pdf.rb +18 -0
  186. data/lib/rabbit/theme/rabbit-powered-by/rabbit-powered-by.rb +1 -1
  187. data/lib/rabbit/theme/syntax-highlighting/property.rb +4 -0
  188. data/lib/rabbit/theme/syntax-highlighting/syntax-highlighting.rb +139 -0
  189. data/lib/rabbit/theme/title-shadow/title-shadow.rb +1 -1
  190. data/lib/rabbit/theme/twitter-comment/twitter-comment.rb +1 -1
  191. data/lib/rabbit/twitter.rb +28 -4
  192. data/lib/rabbit/utils.rb +40 -12
  193. data/po/en/rabbit.po +175 -145
  194. data/po/fr/rabbit.po +180 -149
  195. data/po/ja/rabbit.po +176 -148
  196. data/po/rabbit.pot +175 -145
  197. data/sample/can_rabbit.rd +0 -21
  198. data/sample/rabbit-en.hiki +21 -2
  199. data/sample/rabbit-en.rd +42 -2
  200. data/sample/rabbit-implementation.rd +0 -5
  201. data/sample/rabbit.hiki +19 -16
  202. data/sample/rabbit.rd +42 -11
  203. data/sample/test.hiki +31 -0
  204. data/sample/test.rab +30 -0
  205. metadata +84 -58
  206. data/lib/rabbit/parser/ext/anthy.rb +0 -43
  207. data/lib/rabbit/parser/rd/ext/aafigure.rb +0 -18
  208. data/lib/rabbit/parser/rd/ext/anthy.rb +0 -29
  209. data/lib/rabbit/parser/rd/ext/enscript.rb +0 -24
  210. data/lib/rabbit/parser/rd/ext/tex.rb +0 -24
  211. data/lib/rabbit/source/rwiki.rb +0 -54
  212. data/lib/rabbit/theme/pdf-tortoise-and-hare/pdf-tortoise-and-hare.rb +0 -18
  213. data/lib/rabbit/theme/pdf-tortoise-and-hare/property.rb +0 -3
data/Gemfile CHANGED
@@ -6,11 +6,18 @@ gem 'gtk2'
6
6
  gem 'rsvg2'
7
7
  gem 'poppler'
8
8
  gem 'hikidoc'
9
- gem 'twitter-stream'
10
- gem 'twitter_oauth'
9
+ gem 'albino'
10
+ gem 'nokogiri'
11
+ gem "rack"
12
+ gem "haml"
13
+ gem "rdtool"
14
+ gem "coderay"
11
15
 
12
16
  group :development, :test do
17
+ gem 'twitter-stream'
18
+ gem 'twitter_oauth'
13
19
  gem 'rake'
14
20
  gem 'jeweler'
15
21
  gem 'jekyll'
22
+ gem 'gettext'
16
23
  end
data/Rakefile CHANGED
@@ -25,9 +25,6 @@ Jeweler::Tasks.new do |_spec|
25
25
  spec.summary = 'Rabbit is an RD-document-based presentation application.'
26
26
  spec.description = spec.summary # FIXME
27
27
  spec.license = "GPLv2+"
28
- Bundler.load.dependencies_for(:default).each do |dependency|
29
- spec.add_runtime_dependency(dependency.name, dependency.requirement.to_s)
30
- end
31
28
 
32
29
  spec.files = FileList["{lib,data,entities,bin,sample,misc,doc,po}/**/*",
33
30
  "*.rb",
@@ -37,9 +34,9 @@ Jeweler::Tasks.new do |_spec|
37
34
  "README",
38
35
  "Gemfile"]
39
36
  spec.test_files = FileList["test/**/*.rb"]
40
- spec.executables -= ["rabbit.bat"]
41
37
  end
42
38
 
39
+ Rake::Task["release"].prerequisites.clear
43
40
  Jeweler::RubygemsDotOrgTasks.new
44
41
 
45
42
  def force_array(enumerable)
@@ -172,6 +169,16 @@ task :tag do
172
169
  sh("git tag -a #{version} -m 'release #{version}!!!'")
173
170
  end
174
171
 
172
+ namespace :mo do
173
+ desc "Update .mo."
174
+ task :update do
175
+ ruby("update-mo.rb")
176
+ end
177
+ end
178
+
179
+ task :build => "mo:update"
180
+ task :package => "mo:update"
181
+
175
182
  namespace :package do
176
183
  desc "Upload tar.gz."
177
184
  task :upload => :package do
data/TODO CHANGED
@@ -1,5 +1,3 @@
1
- * setup content management system for rabbit-shockers.org.
2
- gollum? jekyll?
3
1
  * documents all key-bindings and mouse-bindings. (e.g. spotlight)
4
2
  * support centering in table cell.
5
3
  * [BUG]: PDF slide doesn't scale???
data/bin/rabbirack ADDED
@@ -0,0 +1,95 @@
1
+ #!/usr/bin/env ruby
2
+ # -*- mode: ruby; coding: utf-8 -*-
3
+ #
4
+ # Copyright (C) 2011 Kouhei Sutou <kou@clear-code.com>
5
+ #
6
+ # This program is free software; you can redistribute it and/or modify
7
+ # it under the terms of the GNU General Public License as published by
8
+ # the Free Software Foundation; either version 2 of the License, or
9
+ # (at your option) any later version.
10
+ #
11
+ # This program is distributed in the hope that it will be useful,
12
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ # GNU General Public License for more details.
15
+ #
16
+ # You should have received a copy of the GNU General Public License
17
+ # along with this program; if not, write to the Free Software
18
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
+
20
+ require "rabbit/console"
21
+
22
+ base_dir = nil
23
+ $LOAD_PATH.each do |path|
24
+ base_dir = File.join(path, "rabbit", "middleware")
25
+ if File.exist?(base_dir)
26
+ break
27
+ else
28
+ base_dir = nil
29
+ end
30
+ end
31
+ public_path = File.join(base_dir, "public")
32
+ config_ru_path = File.join(base_dir, "config.ru")
33
+
34
+ parse = lambda do
35
+ Rabbit::Console.parse!(ARGV) do |opts, options|
36
+ options.rabbit_uri = "druby://localhost:10101"
37
+ options.filters = []
38
+ options.user_languages = []
39
+ options.log_status = false
40
+
41
+ opts.banner += " [passenger|shotgun|rackup] [-- [RACK_RUNNER_OPTIONS]]"
42
+
43
+ opts.separator ""
44
+
45
+ opts.on("--rabbit-uri=URI",
46
+ "Rabbit's dRuby URI",
47
+ "(#{options.rabbit_uri})") do |uri|
48
+ options.rabbit_uri = uri
49
+ end
50
+
51
+ opts.on("-e", "--environment=ENVIRONMENT",
52
+ "Use ENVIRONMENT as Rack application environment.") do |environment|
53
+ ENV["RACK_ENV"] = environment
54
+ end
55
+ end
56
+ end
57
+
58
+ options, logger = parse.call
59
+
60
+ ENV["RABBIT_URI"] = options.rabbit_uri
61
+
62
+ rack_runner = ARGV.first
63
+ case rack_runner
64
+ when "passenger"
65
+ require 'phusion_passenger'
66
+ require 'phusion_passenger/standalone/main'
67
+ ENV["HROONGA_PASSENGER_STANDALONE"] = "yes"
68
+ ARGV.shift
69
+ if ARGV[0] == "start"
70
+ ARGV[1, 0] = ["--rackup", config_ru_path]
71
+ end
72
+ PhusionPassenger::Standalone::Main.run!(ARGV)
73
+ when "shotgun"
74
+ require "shotgun"
75
+ shotgun_rb = nil
76
+ $LOAD_PATH.each do |path|
77
+ shotgun_rb = File.join(path, "shotgun.rb")
78
+ if File.exist?(shotgun_rb)
79
+ break
80
+ else
81
+ shotgun_rb = nil
82
+ end
83
+ end
84
+ shotgun_base_dir = File.dirname(File.dirname(shotgun_rb))
85
+ shotgun_bin = File.join(shotgun_base_dir, "bin", "shotgun")
86
+ ARGV.shift
87
+ ARGV.unshift("--public", public_path)
88
+ ARGV << config_ru_path
89
+ load shotgun_bin
90
+ else
91
+ require "rack"
92
+ ARGV.shift if rack_runner == "rackup"
93
+ ARGV.unshift("--option", "config=#{config_ru_path}")
94
+ Rack::Server.start
95
+ end
data/bin/rabbit CHANGED
@@ -13,6 +13,8 @@ def parse_args(args=ARGV, logger=nil)
13
13
  Rabbit::Console.parse!(args, logger) do |opts, options|
14
14
  options.theme = "default"
15
15
  options.theme_specified = false
16
+ options.comment_theme = nil
17
+ options.allotted_time = ENV["RABBIT_ALLOTTED_TIME"]
16
18
  options.base = nil
17
19
  options.source_type = :auto
18
20
  options.full_screen = false
@@ -81,6 +83,18 @@ def parse_args(args=ARGV, logger=nil)
81
83
  options.theme_specified = true
82
84
  end
83
85
 
86
+ opts.on("--comment-theme=THEME",
87
+ _("Use [THEME] for comment."),
88
+ "(#{options.comment_theme})") do |theme|
89
+ options.comment_theme = theme
90
+ end
91
+
92
+ opts.on("--allotted-time=TIME",
93
+ _("Use [TIME] as allotted time."),
94
+ "(#{options.allotted_time})") do |time|
95
+ options.allotted_time = time
96
+ end
97
+
84
98
 
85
99
  opts.category _("Source")
86
100
 
@@ -525,7 +539,10 @@ def parse_args(args=ARGV, logger=nil)
525
539
  end
526
540
 
527
541
  def make_canvas(options, logger, renderer)
528
- Rabbit::Canvas.new(logger, renderer)
542
+ canvas = Rabbit::Canvas.new(logger, renderer)
543
+ canvas.comment_theme = options.comment_theme
544
+ canvas.allotted_time = options.allotted_time
545
+ canvas
529
546
  end
530
547
 
531
548
  def add_source_dialog_filter(dialog, name, pattern)
@@ -735,7 +752,11 @@ def do_save_as_image(options, logger)
735
752
  end
736
753
 
737
754
  def do_display(options, logger)
738
- Rabbit::Renderer::Display.init
755
+ display_init_options = {}
756
+ if options.use_gl
757
+ display_init_options[:preferred_class_name] = "ClutterEmbed"
758
+ end
759
+ Rabbit::Renderer::Display.init(display_init_options)
739
760
  Rabbit.gui_init
740
761
 
741
762
  source = make_source(options, ARGV, logger)
data/bin/rabbiter CHANGED
@@ -11,6 +11,7 @@ def parse(args=ARGV, logger=nil)
11
11
  options.rabbit_uri = "druby://localhost:10101"
12
12
  options.filters = []
13
13
  options.user_languages = []
14
+ options.log_status = false
14
15
 
15
16
  opts.separator ""
16
17
 
@@ -33,6 +34,13 @@ def parse(args=ARGV, logger=nil)
33
34
  options.user_languages << language
34
35
  end
35
36
 
37
+ opts.separator "Debug"
38
+
39
+ opts.on("--[no-]log-status",
40
+ "Log target statuses.") do |boolean|
41
+ options.log_status = boolean
42
+ end
43
+
36
44
  opts.separator "Deprecated"
37
45
 
38
46
  opts.on("--keyword=KEYWORD",
@@ -80,6 +88,7 @@ def main
80
88
  begin
81
89
  text = clean_text(status['text'], options.filters)
82
90
  comment = "@#{status['user']['screen_name']}: #{text}"
91
+ logger.info(comment)
83
92
  rabbit.append_comment(comment)
84
93
  rescue DRb::DRbConnError
85
94
  logger.error("Rabbiter: #{$!.class}: #{$!.message}")
data/doc/_layouts/en.html CHANGED
@@ -22,7 +22,7 @@ country: US
22
22
  {{ content }}
23
23
  <nav id="sidebar">
24
24
  <h3>The Latest Release</h3>
25
- <p>0.9.3 is the latest release. It had been released at 2011-06-25.</p>
25
+ <p><a href="en/news.html">1.0.0</a> is the latest release. It had been released at 2011-07-15.</p>
26
26
  <h3>Links</h3>
27
27
  <ul>
28
28
  <li><a href="/en/">README</a></li>
data/doc/_layouts/ja.html CHANGED
@@ -22,7 +22,7 @@ country: JP
22
22
  {{ content }}
23
23
  <nav id="sidebar">
24
24
  <h3>最新リリース</h3>
25
- <p>2011-06-25にリリースされた0.9.3が最新リリースです。</p>
25
+ <p>2011-07-15にリリースされた<a href="/ja/news.html">1.0.0</a>が最新リリースです。</p>
26
26
  <h3>リンク</h3>
27
27
  <ul>
28
28
  <li><a href="/ja/">はじめに</a></li>
@@ -9,7 +9,7 @@
9
9
  <link rel="stylesheet" href="/css/jquery-ui/themes/ui-lightness.css"
10
10
  type="text/css">
11
11
  <link rel="stylesheet" href="/css/rabbit.css" type="text/css">
12
- <meta property="fb:page_id" content="202603309766491">
12
+ <meta property="fb:page_id" content="rabbit.shockers">
13
13
  <meta property="fb:admins" content="kouhei.sutou">
14
14
  <meta property="og:type" content="product">
15
15
  <meta property="og:image"
@@ -74,6 +74,20 @@ div.facebook-buttons
74
74
  height: 90px;
75
75
  }
76
76
 
77
+ pre
78
+ {
79
+ overflow: auto;
80
+ -moz-border-radius: 5px;
81
+ -webkit-border-radius: 5px;
82
+ border-radius: 5px;
83
+ -moz-box-shadow: 0.2em 0.2em 0.5em rgb(100, 100, 100);
84
+ -webkit-box-shadow: 0.2em 0.2em 0.5em rgb(100, 100, 100);
85
+ box-shadow: 0.2em 0.2em 0.5em rgb(100, 100, 100);
86
+ border: solid 1px #abf562;
87
+ background: #d8ffb2;
88
+ padding: 5px 10px;
89
+ }
90
+
77
91
  pre#install
78
92
  {
79
93
  position: absolute;
@@ -82,6 +96,8 @@ pre#install
82
96
  -moz-border-radius: 10px 0;
83
97
  -webkit-border-radius: 10px 0;
84
98
  border-radius: 10px 0;
99
+ -moz-box-shadow: none;
100
+ -webkit-box-shadow: none;
85
101
  margin: 0;
86
102
  }
87
103
 
@@ -90,6 +106,8 @@ pre.command
90
106
  background-color: black;
91
107
  color: white;
92
108
  padding: 10px 20px;
109
+ border-style: none;
110
+ box-shadow: none;
93
111
  }
94
112
 
95
113
  header div.other-language-links
@@ -113,6 +131,19 @@ header div.other-language-links a img
113
131
  border-style: none;
114
132
  }
115
133
 
134
+ div.latest-release p
135
+ {
136
+ text-align: center;
137
+ font-size: x-large;
138
+ padding: 0;
139
+ margin: 0;
140
+ }
141
+
142
+ section.screenshots h2
143
+ {
144
+ display: none;
145
+ }
146
+
116
147
  ul#screenshots
117
148
  {
118
149
  margin: 0;
@@ -129,6 +160,7 @@ ul#screenshots li
129
160
  display: inline;
130
161
  }
131
162
 
163
+ div.latest-release,
132
164
  nav.menu
133
165
  {
134
166
  border: #aa0202 0 solid;
@@ -214,22 +246,30 @@ nav p.note
214
246
  top: 10px;
215
247
  }
216
248
 
249
+ div.latest-release a:link,
250
+ div#main a:link,
217
251
  nav a:link
218
252
  {
219
253
  color: #aa0202;
220
254
  }
221
255
 
256
+ div.latest-release a:visited,
257
+ div#main a:visited,
222
258
  nav a:visited
223
259
  {
224
260
  color: #d26364;
225
261
  }
226
262
 
227
- nav a:hover
263
+ div.latest-release a:hover[href],
264
+ div#main a:hover[href],
265
+ nav a:hover[href]
228
266
  {
229
267
  color: white;
230
268
  background-color: #aa0202;
231
269
  }
232
270
 
271
+ div.latest-release a:active,
272
+ div#main a:active,
233
273
  nav a:active
234
274
  {
235
275
  color: #aa0202;
@@ -9,7 +9,7 @@
9
9
  <link rel="stylesheet" href="/css/jquery-ui/themes/ui-lightness.css"
10
10
  type="text/css">
11
11
  <link rel="stylesheet" href="/css/rabbit.css" type="text/css">
12
- <meta property="fb:page_id" content="202603309766491">
12
+ <meta property="fb:page_id" content="rabbit.shockers">
13
13
  <meta property="fb:admins" content="kouhei.sutou">
14
14
  <meta property="og:type" content="product">
15
15
  <meta property="og:image"
@@ -96,7 +96,7 @@ the following:</p>
96
96
  </div>
97
97
  <nav id="sidebar">
98
98
  <h3>最新リリース</h3>
99
- <p>2011-06-25にリリースされた0.9.3が最新リリースです。</p>
99
+ <p>2011-07-15にリリースされた<a href="/ja/news.html">1.0.0</a>が最新リリースです。</p>
100
100
  <h3>リンク</h3>
101
101
  <ul>
102
102
  <li><a href="/ja/">はじめに</a></li>
@@ -9,7 +9,7 @@
9
9
  <link rel="stylesheet" href="/css/jquery-ui/themes/ui-lightness.css"
10
10
  type="text/css">
11
11
  <link rel="stylesheet" href="/css/rabbit.css" type="text/css">
12
- <meta property="fb:page_id" content="202603309766491">
12
+ <meta property="fb:page_id" content="rabbit.shockers">
13
13
  <meta property="fb:admins" content="kouhei.sutou">
14
14
  <meta property="og:type" content="product">
15
15
  <meta property="og:image"
@@ -73,7 +73,7 @@ page from XXX.rd.</p>
73
73
  </div>
74
74
  <nav id="sidebar">
75
75
  <h3>The Latest Release</h3>
76
- <p>0.9.3 is the latest release. It had been released at 2011-06-25.</p>
76
+ <p><a href="en/news.html">1.0.0</a> is the latest release. It had been released at 2011-07-15.</p>
77
77
  <h3>Links</h3>
78
78
  <ul>
79
79
  <li><a href="/en/">README</a></li>
@@ -9,7 +9,7 @@
9
9
  <link rel="stylesheet" href="/css/jquery-ui/themes/ui-lightness.css"
10
10
  type="text/css">
11
11
  <link rel="stylesheet" href="/css/rabbit.css" type="text/css">
12
- <meta property="fb:page_id" content="202603309766491">
12
+ <meta property="fb:page_id" content="rabbit.shockers">
13
13
  <meta property="fb:admins" content="kouhei.sutou">
14
14
  <meta property="og:type" content="product">
15
15
  <meta property="og:image"
@@ -376,7 +376,7 @@ which is not surrounded by &lt;p&gt; ... &lt;/p&gt;.</p>
376
376
  </div>
377
377
  <nav id="sidebar">
378
378
  <h3>最新リリース</h3>
379
- <p>2011-06-25にリリースされた0.9.3が最新リリースです。</p>
379
+ <p>2011-07-15にリリースされた<a href="/ja/news.html">1.0.0</a>が最新リリースです。</p>
380
380
  <h3>リンク</h3>
381
381
  <ul>
382
382
  <li><a href="/ja/">はじめに</a></li>
@@ -9,7 +9,7 @@
9
9
  <link rel="stylesheet" href="/css/jquery-ui/themes/ui-lightness.css"
10
10
  type="text/css">
11
11
  <link rel="stylesheet" href="/css/rabbit.css" type="text/css">
12
- <meta property="fb:page_id" content="202603309766491">
12
+ <meta property="fb:page_id" content="rabbit.shockers">
13
13
  <meta property="fb:admins" content="kouhei.sutou">
14
14
  <meta property="og:type" content="product">
15
15
  <meta property="og:image"
@@ -69,7 +69,7 @@
69
69
  </div>
70
70
  <nav id="sidebar">
71
71
  <h3>The Latest Release</h3>
72
- <p>0.9.3 is the latest release. It had been released at 2011-06-25.</p>
72
+ <p><a href="en/news.html">1.0.0</a> is the latest release. It had been released at 2011-07-15.</p>
73
73
  <h3>Links</h3>
74
74
  <ul>
75
75
  <li><a href="/en/">README</a></li>