docwu 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/lib/docwu/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module Docwu
3
- VERSION = "0.0.7"
3
+ VERSION = "0.0.8"
4
4
  end
data/lib/docwu/worker.rb CHANGED
@@ -73,10 +73,10 @@ module Docwu
73
73
  FileUtils.rm_rf(self.deploy_path)
74
74
  FileUtils.mkdir_p(self.deploy_path)
75
75
 
76
- ::Docwu::Utils.cp_r("#{plain_path('/assets/')}", "#{self.deploy_path}")
76
+ ::Docwu::Utils.cp_r("#{plain_path('/assets')}", "#{self.deploy_path}/assets")
77
77
 
78
78
  # 复制静态文件里去
79
- ::Docwu::Utils.cp_r("#{plain_path('/static/')}", "#{self.deploy_path}")
79
+ ::Docwu::Utils.cp_r("#{plain_path('/static')}", "#{self.deploy_path}/static")
80
80
 
81
81
  self.folders.each do |folder|
82
82
  folder.generate
@@ -68,6 +68,7 @@ pre {
68
68
  }
69
69
 
70
70
  #container .path {
71
+ font-size: 12px;
71
72
  margin: 10px 0;
72
73
  padding: 5px;
73
74
  height: 24px;
@@ -75,7 +76,12 @@ pre {
75
76
  overflow: hidden;
76
77
  text-indent: 12px;
77
78
  color: #666;
78
- border: 1px solid #ccc;
79
+ border: 1px solid #eee;
80
+ }
81
+
82
+ #container .path .gap {
83
+ color: #bbb;
84
+ font-size: 10px;
79
85
  }
80
86
 
81
87
  #container .path a {
@@ -19,11 +19,11 @@
19
19
  <a href='/index.html'>首页</a>
20
20
 
21
21
  {{# reader.folders }}
22
- &gt;
22
+ <span class='gap'>&gt;&gt;</span>
23
23
  <a href='{{ url }}' title='{{title}}'>{{ name }}</a>
24
24
  {{/ reader.folders }}
25
25
 
26
- &gt;
26
+ <span class='gap'>&gt;&gt;</span>
27
27
  {{# reader.folder }}
28
28
  {{ name }}
29
29
  {{/ reader.folder }}
@@ -17,7 +17,7 @@
17
17
  <a href='/index.html'>首页</a>
18
18
 
19
19
  {{# reader.folders }}
20
- &gt;
20
+ <span class='gap'>&gt;&gt;</span>
21
21
  <a href='{{ url }}' title='{{title}}'>{{ name }}</a>
22
22
  {{/ reader.folders }}
23
23
  </div>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docwu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -186,7 +186,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
186
186
  version: '0'
187
187
  segments:
188
188
  - 0
189
- hash: -1003078366328497426
189
+ hash: 4378398211339556034
190
190
  required_rubygems_version: !ruby/object:Gem::Requirement
191
191
  none: false
192
192
  requirements:
@@ -195,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  version: '0'
196
196
  segments:
197
197
  - 0
198
- hash: -1003078366328497426
198
+ hash: 4378398211339556034
199
199
  requirements: []
200
200
  rubyforge_project:
201
201
  rubygems_version: 1.8.25