double_doc 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/Guardfile CHANGED
@@ -2,5 +2,5 @@ $LOAD_PATH.unshift 'lib'
2
2
  require 'double_doc'
3
3
 
4
4
  guard :double_doc, :task => 'doc' do
5
- watch(%r{^(doc|lib)/.+\.(md|rb)})
5
+ watch(%r{^(doc|lib|templates)/})
6
6
  end
data/Rakefile CHANGED
@@ -19,8 +19,8 @@ task :publish => :doc do
19
19
  `git commit -m 'Updated documentation'`
20
20
  `git push origin master`
21
21
  `git checkout gh-pages`
22
- `cp site/screen.css .`
23
- `cp site/readme.html index.html`
22
+ `cp site/* .`
23
+ `cp readme.html index.html`
24
24
  `git commit -a -m 'Updated site'`
25
25
  `git push origin gh-pages`
26
26
  `git co master`
data/doc/todo.md CHANGED
@@ -1,2 +1,4 @@
1
1
  * Tests
2
2
  * Support for directory structures
3
+ * Documentation for the Rake task
4
+ * Documentation for the Guard
@@ -1,4 +1,4 @@
1
1
  ## ## DoubleDoc 1.0
2
2
  module DoubleDoc
3
- VERSION = "1.0.2"
3
+ VERSION = "1.0.3"
4
4
  end
data/readme.md CHANGED
@@ -69,6 +69,8 @@ You can easly use DoubleDoc from Rake, and soon I'll tell you how...
69
69
  ### TODO
70
70
  * Tests
71
71
  * Support for directory structures
72
+ * Documentation for the Rake task
73
+ * Documentation for the Guard
72
74
 
73
75
  ### License
74
76
  #### The MIT License
@@ -6,10 +6,10 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
7
  <title><%= title %></title>
8
8
  <link href="http://fonts.googleapis.com/css?family=Droid+Sans+Mono" rel="stylesheet" type="text/css">
9
- <link rel="stylesheet" href="screen.css">
10
9
  <style type="text/css">
11
10
  <%= highlight_css %>
12
11
  </style>
12
+ <link rel="stylesheet" href="screen.css">
13
13
  </head>
14
14
  <body>
15
15
  <div id="nav">
data/templates/screen.css CHANGED
@@ -329,11 +329,17 @@ a {
329
329
 
330
330
  #content pre {
331
331
  background: #f8f8ff;
332
- padding: 1px 2px;
332
+ padding: 10px;
333
333
  border: 1px solid #ddd;
334
+ border-radius: 6px;
334
335
  word-wrap: break-word;
335
336
  }
336
337
 
338
+ .highlight {
339
+ background: none;
340
+ }
341
+
342
+
337
343
  #content tt {
338
344
  display: block;
339
345
  margin: 1.625em 0;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: double_doc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-02-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: guard
16
- requirement: &70105352370900 !ruby/object:Gem::Requirement
16
+ requirement: &70308844662760 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70105352370900
24
+ version_requirements: *70308844662760
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: guard-rake
27
- requirement: &70105352370120 !ruby/object:Gem::Requirement
27
+ requirement: &70308844662040 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70105352370120
35
+ version_requirements: *70308844662040
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: erubis
38
- requirement: &70105352369520 !ruby/object:Gem::Requirement
38
+ requirement: &70308844661460 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70105352369520
46
+ version_requirements: *70308844661460
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: redcarpet
49
- requirement: &70105352368780 !ruby/object:Gem::Requirement
49
+ requirement: &70308844660720 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70105352368780
57
+ version_requirements: *70308844660720
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: pygments.rb
60
- requirement: &70105352368000 !ruby/object:Gem::Requirement
60
+ requirement: &70308844659940 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: '0'
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *70105352368000
68
+ version_requirements: *70308844659940
69
69
  description: A simple framework for writing and generating beautiful documentation
70
70
  for your code
71
71
  email: