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
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
|
76
|
+
::Docwu::Utils.cp_r("#{plain_path('/assets')}", "#{self.deploy_path}/assets")
|
77
77
|
|
78
78
|
# 复制静态文件里去
|
79
|
-
::Docwu::Utils.cp_r("#{plain_path('/static
|
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 #
|
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
|
-
|
22
|
+
<span class='gap'>>></span>
|
23
23
|
<a href='{{ url }}' title='{{title}}'>{{ name }}</a>
|
24
24
|
{{/ reader.folders }}
|
25
25
|
|
26
|
-
|
26
|
+
<span class='gap'>>></span>
|
27
27
|
{{# reader.folder }}
|
28
28
|
{{ name }}
|
29
29
|
{{/ reader.folder }}
|
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.
|
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:
|
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:
|
198
|
+
hash: 4378398211339556034
|
199
199
|
requirements: []
|
200
200
|
rubyforge_project:
|
201
201
|
rubygems_version: 1.8.25
|