md2man 1.5.1 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
data/man/style.css ADDED
@@ -0,0 +1,74 @@
1
+ @import url('http://twitter.github.com/bootstrap/assets/css/bootstrap.css');
2
+
3
+ @media all {
4
+ .manpage h1,
5
+ .manpage h2,
6
+ .manpage h3,
7
+ .manpage h4,
8
+ .manpage h5,
9
+ .manpage h6 {
10
+ margin-top: 1em;
11
+ }
12
+
13
+ /* deactivate external manual page cross-references */
14
+ a.manpage-reference:not([href]) {
15
+ color: inherit;
16
+ text-decoration: none;
17
+ }
18
+ }
19
+
20
+ @media screen {
21
+ body {
22
+ column-count: auto;
23
+ -moz-column-count: auto;
24
+ -webkit-column-count: auto;
25
+
26
+ column-width: 78ex;
27
+ -moz-column-width: 78ex;
28
+ -webkit-column-width: 78ex;
29
+
30
+ column-gap: none;
31
+ -moz-column-gap: none;
32
+ -webkit-column-gap: none;
33
+
34
+ column-rule: thin solid Gainsboro;
35
+ -moz-column-rule: thin solid Gainsboro;
36
+ -webkit-column-rule: thin solid Gainsboro;
37
+ }
38
+
39
+ .manpage {
40
+ font-family: monospace;
41
+ max-width: 78ex;
42
+ margin: auto;
43
+ }
44
+
45
+ .manpage > h1:first-child {
46
+ margin-top: -5em;
47
+ font-weight: normal;
48
+ font-size: smaller;
49
+ text-align: right;
50
+ }
51
+ }
52
+
53
+ @media print {
54
+ .navbar {
55
+ display: none;
56
+ }
57
+
58
+ /* improve readability of revealed hyperlink URLs */
59
+ a:after {
60
+ font-family: monospace;
61
+ }
62
+
63
+ /* internal links and manual page cross-references */
64
+ a[href^='#'], a[href^='../man'] {
65
+ color: inherit;
66
+ font-weight: bolder;
67
+ text-decoration: none;
68
+ }
69
+
70
+ /* undo bootstrap's revealing of those hyperlinks */
71
+ a[href^='#']:after, a[href^='../man']:after {
72
+ content: none;
73
+ }
74
+ }
data/md2man.gemspec CHANGED
@@ -11,11 +11,14 @@ Gem::Specification.new do |s|
11
11
  s.summary = 'markdown to manpage'
12
12
  s.description = 'Converts markdown documents into UNIX manual pages.'
13
13
 
14
- s.files = `git ls-files`.split("\n") + Dir['man/man?/*.?']
14
+ s.files = `git ls-files`.split("\n")
15
15
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
16
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
17
  s.require_paths = ['lib']
18
18
 
19
+ s.files += Dir['man/man?/*.?'] # UNIX man pages
20
+ s.files += Dir['man/**/*.{html,css,js}'] # HTML man pages
21
+
19
22
  s.required_ruby_version = '>= 1.9.1'
20
23
  s.add_runtime_dependency 'binman', '~> 3.0'
21
24
  s.add_runtime_dependency 'redcarpet', '~> 2.1'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: md2man
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.6.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-07 00:00:00.000000000 Z
12
+ date: 2013-03-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: binman
@@ -81,6 +81,7 @@ email:
81
81
  executables:
82
82
  - md2man
83
83
  - md2man-html
84
+ - md2man-rake
84
85
  extensions: []
85
86
  extra_rdoc_files: []
86
87
  files:
@@ -94,20 +95,32 @@ files:
94
95
  - VERSION.markdown
95
96
  - bin/md2man
96
97
  - bin/md2man-html
98
+ - bin/md2man-rake
97
99
  - lib/md2man.rb
98
100
  - lib/md2man/document.rb
99
101
  - lib/md2man/engine.rb
100
102
  - lib/md2man/html.rb
101
103
  - lib/md2man/html/engine.rb
102
104
  - lib/md2man/rakefile.rb
105
+ - lib/md2man/rakefile/style.css
103
106
  - lib/md2man/roff.rb
104
107
  - lib/md2man/version.rb
108
+ - man/README.markdown
109
+ - man/VERSION.markdown
105
110
  - md2man.gemspec
106
111
  - test/md2man/html_test.rb
107
112
  - test/md2man/roff_test.rb
108
113
  - test/test_helper.rb
109
114
  - man/man1/md2man-html.1
110
115
  - man/man1/md2man.1
116
+ - man/man1/md2man-rake.1
117
+ - man/index.html
118
+ - man/VERSION.html
119
+ - man/man1/md2man-rake.1.html
120
+ - man/man1/md2man-html.1.html
121
+ - man/man1/md2man.1.html
122
+ - man/README.html
123
+ - man/style.css
111
124
  homepage: http://github.com/sunaku/md2man
112
125
  licenses: []
113
126
  post_install_message:
@@ -128,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
141
  version: '0'
129
142
  segments:
130
143
  - 0
131
- hash: -3470085160060780883
144
+ hash: -4229861377952968013
132
145
  requirements: []
133
146
  rubyforge_project:
134
147
  rubygems_version: 1.8.23