md2man 1.6.1 → 1.6.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.markdown CHANGED
@@ -1,3 +1,13 @@
1
+ ## Version 1.6.2 (2013-05-05)
2
+
3
+ Patch:
4
+
5
+ * Fix "uninitialized constant Md2Man::VERSION" error in `md2man/rakefile`.
6
+
7
+ * HTML manual page CSS: justify the lines of text just like man(1) does.
8
+
9
+ * HTML manual page CSS: resize body to allot 78ex width for manpage text.
10
+
1
11
  ## Version 1.6.1 (2013-05-04)
2
12
 
3
13
  Patch:
data/bin/md2man CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin =======================================================================
3
3
 
4
- # MD2MAN 1 2013-05-04 1.6.1
4
+ # MD2MAN 1 2013-05-05 1.6.2
5
5
 
6
6
  ## NAME
7
7
 
data/bin/md2man-html CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin =======================================================================
3
3
 
4
- # MD2MAN-HTML 1 2013-05-04 1.6.1
4
+ # MD2MAN-HTML 1 2013-05-05 1.6.2
5
5
 
6
6
  ## NAME
7
7
 
data/bin/md2man-rake CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin =======================================================================
3
3
 
4
- # MD2MAN-RAKE 1 2013-05-04 1.6.1
4
+ # MD2MAN-RAKE 1 2013-05-05 1.6.2
5
5
 
6
6
  ## NAME
7
7
 
@@ -20,7 +20,8 @@
20
20
  @media screen {
21
21
  body {
22
22
  font-family: monospace;
23
- max-width: 78ex;
23
+ text-align: justify;
24
+ max-width: 83ex; /* allots 78ex width for manpage */
24
25
  margin: auto;
25
26
  }
26
27
 
@@ -41,6 +41,7 @@ task 'md2man:web' => ['man/index.html', 'man/style.css']
41
41
  #-----------------------------------------------------------------------------
42
42
 
43
43
  wrap_html_template = lambda do |title, content, ascent|
44
+ require 'md2man/version'
44
45
  <<WRAP_HTML_TEMPLATE
45
46
  <!DOCTYPE html>
46
47
  <html>
@@ -1,3 +1,3 @@
1
1
  module Md2Man
2
- VERSION = "1.6.1"
2
+ VERSION = "1.6.2"
3
3
  end
data/man/index.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 1.6.1 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 1.6.2 https://github.com/sunaku/md2man" />
6
6
  <title>man/index</title>
7
7
  <link rel="stylesheet" href="style.css"/>
8
8
  <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
data/man/man0/README.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 1.6.1 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 1.6.2 https://github.com/sunaku/md2man" />
6
6
  <title>README</title>
7
7
  <link rel="stylesheet" href="../style.css"/>
8
8
  <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
@@ -2,12 +2,18 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 1.6.1 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 1.6.2 https://github.com/sunaku/md2man" />
6
6
  <title>VERSION</title>
7
7
  <link rel="stylesheet" href="../style.css"/>
8
8
  <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
9
9
  </head>
10
- <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man0">man0</a>/VERSION</span></div></div><div class="container-fluid"><div class="manpage"><h2 id="Version-1-6-1-2013-05-04">Version 1.6.1 (2013-05-04)</h2><p>Patch:</p>
10
+ <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man0">man0</a>/VERSION</span></div></div><div class="container-fluid"><div class="manpage"><h2 id="Version-1-6-2-2013-05-05">Version 1.6.2 (2013-05-05)</h2><p>Patch:</p>
11
+ <ul>
12
+ <li><p>Fix &quot;uninitialized constant Md2Man::VERSION&quot; error in <code>md2man/rakefile</code>.</p></li>
13
+ <li><p>HTML manual page CSS: justify the lines of text just like <a class="manpage-reference">man(1)</a> does.</p></li>
14
+ <li><p>HTML manual page CSS: resize body to allot 78ex width for manpage text.</p></li>
15
+ </ul>
16
+ <h2 id="Version-1-6-1-2013-05-04">Version 1.6.1 (2013-05-04)</h2><p>Patch:</p>
11
17
  <ul>
12
18
  <li>Replace multi-column CSS with single centered body.</li>
13
19
  </ul>
@@ -1,3 +1,13 @@
1
+ ## Version 1.6.2 (2013-05-05)
2
+
3
+ Patch:
4
+
5
+ * Fix "uninitialized constant Md2Man::VERSION" error in `md2man/rakefile`.
6
+
7
+ * HTML manual page CSS: justify the lines of text just like man(1) does.
8
+
9
+ * HTML manual page CSS: resize body to allot 78ex width for manpage text.
10
+
1
11
  ## Version 1.6.1 (2013-05-04)
2
12
 
3
13
  Patch:
@@ -1,4 +1,4 @@
1
- .TH MD2MAN\-HTML 1 2013\-05\-04 1.6.1
1
+ .TH MD2MAN\-HTML 1 2013\-05\-05 1.6.2
2
2
  .SH NAME
3
3
  .PP
4
4
  md2man\-html \- convert
@@ -2,12 +2,12 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 1.6.1 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 1.6.2 https://github.com/sunaku/md2man" />
6
6
  <title>md2man-html(1) &mdash; convert md2man(1) flavored markdown(7) into HTML</title>
7
7
  <link rel="stylesheet" href="../style.css"/>
8
8
  <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
9
9
  </head>
10
- <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/md2man-html.1</span></div></div><div class="container-fluid"><div class="manpage"><h1 id="MD2MAN-HTML-1-2013-05-04-1-6-1">MD2MAN-HTML 1 2013-05-04 1.6.1</h1><h2 id="NAME">NAME</h2><p>md2man-html - convert <a class="manpage-reference" href="../man1/md2man.1.html">md2man(1)</a> flavored <a class="manpage-reference">markdown(7)</a> into HTML</p><h2 id="SYNOPSIS">SYNOPSIS</h2><p><code>md2man-html</code> [<em>OPTION</em>]... [<em>FILE</em>]</p><h2 id="DESCRIPTION">DESCRIPTION</h2><p>This program converts the <a class="manpage-reference">markdown(7)</a> input from the given <em>FILE</em> into HTML
10
+ <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/md2man-html.1</span></div></div><div class="container-fluid"><div class="manpage"><h1 id="MD2MAN-HTML-1-2013-05-05-1-6-2">MD2MAN-HTML 1 2013-05-05 1.6.2</h1><h2 id="NAME">NAME</h2><p>md2man-html - convert <a class="manpage-reference" href="../man1/md2man.1.html">md2man(1)</a> flavored <a class="manpage-reference">markdown(7)</a> into HTML</p><h2 id="SYNOPSIS">SYNOPSIS</h2><p><code>md2man-html</code> [<em>OPTION</em>]... [<em>FILE</em>]</p><h2 id="DESCRIPTION">DESCRIPTION</h2><p>This program converts the <a class="manpage-reference">markdown(7)</a> input from the given <em>FILE</em> into HTML
11
11
  and then prints the result to stdout. stdin is read if <em>FILE</em> is not given.</p><h3 id="Document-format">Document format</h3><p>See <a class="manpage-reference" href="../man1/md2man.1.html">md2man(1)</a> for details about the document format and Markdown extensions.</p><h3 id="Cross-linking">Cross linking</h3><p>References to other manual pages are converted into hyperlinks that have
12
12
  class=&quot;manpage-reference&quot; and href=&quot;../man${section}/${page}.${section}.html&quot;
13
13
  attributes.</p><p>For example, the <a class="manpage-reference">markdown(7)</a> reference would be converted into HTML as:</p><pre><code>&lt;a class=&quot;manpage-reference&quot; href=&quot;../man7/markdown.7.html&quot;&gt;markdown(7)&lt;/a&gt;
@@ -1,4 +1,4 @@
1
- .TH MD2MAN\-RAKE 1 2013\-05\-04 1.6.1
1
+ .TH MD2MAN\-RAKE 1 2013\-05\-05 1.6.2
2
2
  .SH NAME
3
3
  .PP
4
4
  md2man\-rake \- run
@@ -2,12 +2,12 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 1.6.1 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 1.6.2 https://github.com/sunaku/md2man" />
6
6
  <title>md2man-rake(1) &mdash; run rake(1) tasks from md2man(1)</title>
7
7
  <link rel="stylesheet" href="../style.css"/>
8
8
  <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
9
9
  </head>
10
- <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/md2man-rake.1</span></div></div><div class="container-fluid"><div class="manpage"><h1 id="MD2MAN-RAKE-1-2013-05-04-1-6-1">MD2MAN-RAKE 1 2013-05-04 1.6.1</h1><h2 id="NAME">NAME</h2><p>md2man-rake - run <a class="manpage-reference">rake(1)</a> tasks from <a class="manpage-reference" href="../man1/md2man.1.html">md2man(1)</a></p><h2 id="SYNOPSIS">SYNOPSIS</h2><p><code>md2man-rake</code> [<em>OPTION</em>]... [<em>TASK</em>]...</p><h2 id="DESCRIPTION">DESCRIPTION</h2><p>This program lets you run <a class="manpage-reference">rake(1)</a> tasks provided by <a class="manpage-reference" href="../man1/md2man.1.html">md2man(1)</a> without having
10
+ <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/md2man-rake.1</span></div></div><div class="container-fluid"><div class="manpage"><h1 id="MD2MAN-RAKE-1-2013-05-05-1-6-2">MD2MAN-RAKE 1 2013-05-05 1.6.2</h1><h2 id="NAME">NAME</h2><p>md2man-rake - run <a class="manpage-reference">rake(1)</a> tasks from <a class="manpage-reference" href="../man1/md2man.1.html">md2man(1)</a></p><h2 id="SYNOPSIS">SYNOPSIS</h2><p><code>md2man-rake</code> [<em>OPTION</em>]... [<em>TASK</em>]...</p><h2 id="DESCRIPTION">DESCRIPTION</h2><p>This program lets you run <a class="manpage-reference">rake(1)</a> tasks provided by <a class="manpage-reference" href="../man1/md2man.1.html">md2man(1)</a> without having
11
11
  to create a special file named <code>Rakefile</code> that contains the following snippet:</p><pre><code>require 'md2man/rakefile'
12
12
  </code></pre><p>If no <em>TASK</em> is specified, then the <code>md2man</code> task is run by default.</p><h2 id="TASKS">TASKS</h2><dl><dt><code>md2man</code></dt><dd>Runs the <code>md2man:man</code> and <code>md2man:web</code> tasks, in that order.</dd></dl><dl><dt><code>md2man:man</code></dt><dd>Builds UNIX manual pages from <code>*.markdown</code>, <code>*.mkd</code>, and <code>*.md</code> files
13
13
  found in or beneath the <code>man/</code> subdirectory in your working directory.</dd></dl><dl><dt><code>md2man:web</code></dt><dd>Builds HTML manual pages from <code>*.markdown</code>, <code>*.mkd</code>, and <code>*.md</code> files
data/man/man1/md2man.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH MD2MAN 1 2013\-05\-04 1.6.1
1
+ .TH MD2MAN 1 2013\-05\-05 1.6.2
2
2
  .SH NAME
3
3
  .PP
4
4
  md2man \- convert
@@ -2,12 +2,12 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 1.6.1 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 1.6.2 https://github.com/sunaku/md2man" />
6
6
  <title>md2man(1) &mdash; convert markdown(7) into roff(7)</title>
7
7
  <link rel="stylesheet" href="../style.css"/>
8
8
  <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
9
9
  </head>
10
- <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/md2man.1</span></div></div><div class="container-fluid"><div class="manpage"><h1 id="MD2MAN-1-2013-05-04-1-6-1">MD2MAN 1 2013-05-04 1.6.1</h1><h2 id="NAME">NAME</h2><p>md2man - convert <a class="manpage-reference">markdown(7)</a> into <a class="manpage-reference">roff(7)</a></p><h2 id="SYNOPSIS">SYNOPSIS</h2><p><code>md2man</code> [<em>OPTION</em>]... [<em>FILE</em>]</p><h2 id="DESCRIPTION">DESCRIPTION</h2><p><a href="https://github.com/sunaku/md2man">md2man</a> converts <a class="manpage-reference">markdown(7)</a> input from the given <em>FILE</em> into <a class="manpage-reference">roff(7)</a> using
10
+ <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/md2man.1</span></div></div><div class="container-fluid"><div class="manpage"><h1 id="MD2MAN-1-2013-05-05-1-6-2">MD2MAN 1 2013-05-05 1.6.2</h1><h2 id="NAME">NAME</h2><p>md2man - convert <a class="manpage-reference">markdown(7)</a> into <a class="manpage-reference">roff(7)</a></p><h2 id="SYNOPSIS">SYNOPSIS</h2><p><code>md2man</code> [<em>OPTION</em>]... [<em>FILE</em>]</p><h2 id="DESCRIPTION">DESCRIPTION</h2><p><a href="https://github.com/sunaku/md2man">md2man</a> converts <a class="manpage-reference">markdown(7)</a> input from the given <em>FILE</em> into <a class="manpage-reference">roff(7)</a> using
11
11
  <a href="https://github.com/vmg/redcarpet">Redcarpet</a> and then prints the result to the standard output stream. If
12
12
  <em>FILE</em> is not given, then the standard input stream is read in its place.</p><h3 id="Document-format">Document format</h3><p>md2man extends <a class="manpage-reference">markdown(7)</a> syntax in the following ways, as provisioned in the
13
13
  <code>Md2Man::Document</code> module and defined in its derivative <code>Md2Man::Roff</code> module:</p>
data/man/style.css CHANGED
@@ -20,7 +20,8 @@
20
20
  @media screen {
21
21
  body {
22
22
  font-family: monospace;
23
- max-width: 78ex;
23
+ text-align: justify;
24
+ max-width: 83ex; /* allots 78ex width for manpage */
24
25
  margin: auto;
25
26
  }
26
27
 
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.6.1
4
+ version: 1.6.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  version: '0'
142
142
  segments:
143
143
  - 0
144
- hash: -1519806717842147435
144
+ hash: 54146927230903874
145
145
  requirements: []
146
146
  rubyforge_project:
147
147
  rubygems_version: 1.8.25