md2man 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb8a935bae8676bdadc4ccbe6f2aadb8d876972d
4
- data.tar.gz: 337ef32c40ab8f70332d80b5e6a3421ef91f4e75
3
+ metadata.gz: bb00576abf926743bafa4f6aba8a70b5670484d6
4
+ data.tar.gz: acfe4e1dba888eeafab4b17336d40fc8fda2129e
5
5
  SHA512:
6
- metadata.gz: bf58345ff2571169edcf787698f48aaf2c53b3089001e82a19a73e8aca672c9b9333b376373096e42da70e80649fce036055567367f3e7f590d88573f43d72b0
7
- data.tar.gz: 7d1ae30dd62482ac8c25d42dd4f8e359402ddf59d8b916bdde207727963595419b68cb1da8aeaec29f017d8b8595d61c7c9b1c010540b4130fbd66c07043aea8
6
+ metadata.gz: f75f3e801ac7893f846580f018a5ecd46785a0e547f425d95c9047aedbc912058743d30aa862e529a721798689ac28e5d6eca19b48e15af440ecd5b64c7ed4bc
7
+ data.tar.gz: 67dc3f20461b673eb303756f39b36b218ef2a1455bddd9a50695eba543249d22492aedd66806c56fd1d27cd84a433c467d0490e2dc43d9beac55dcbc384cb8ea
data/VERSION.markdown CHANGED
@@ -1,3 +1,11 @@
1
+ ## Version 2.0.3 (2014-01-16)
2
+
3
+ ### Patch:
4
+
5
+ * Use CSS3 `-ch` suffix for accurate 80-character width in HTML output.
6
+
7
+ http://www.w3.org/TR/css3-values/#font-relative-lengths
8
+
1
9
  ## Version 2.0.2 (2013-09-08)
2
10
 
3
11
  Patch:
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-09-08 2.0.2
4
+ # MD2MAN-HTML 1 2014-01-16 2.0.3
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-09-08 2.0.2
4
+ # MD2MAN-RAKE 1 2014-01-16 2.0.3
5
5
 
6
6
  ## NAME
7
7
 
data/bin/md2man-roff CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin =======================================================================
3
3
 
4
- # MD2MAN-ROFF 1 2013-09-08 2.0.2
4
+ # MD2MAN-ROFF 1 2014-01-16 2.0.3
5
5
 
6
6
  ## NAME
7
7
 
@@ -21,7 +21,7 @@
21
21
  body {
22
22
  font-family: monospace;
23
23
  text-align: justify;
24
- max-width: 83ex; /* allots 78ex width for manpage */
24
+ max-width: 83ch; /* 80 chars, +3 for Bootstrap CSS */
25
25
  margin: auto;
26
26
  }
27
27
 
@@ -1,3 +1,3 @@
1
1
  module Md2Man
2
- VERSION = "2.0.2"
2
+ VERSION = "2.0.3"
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 2.0.2 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 2.0.3 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 2.0.2 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 2.0.3 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,16 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 2.0.2 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 2.0.3 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"><h2 id="Version-2-0-2-2013-09-08">Version 2.0.2 (2013-09-08)</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"><h2 id="Version-2-0-3-2014-01-16">Version 2.0.3 (2014-01-16)</h2><h3 id="Patch">Patch:</h3>
11
+ <ul>
12
+ <li><p>Use CSS3 <code>-ch</code> suffix for accurate 80-character width in HTML output.</p><p><a href="http://www.w3.org/TR/css3-values/#font-relative-lengths">http://www.w3.org/TR/css3-values/#font-relative-lengths</a></p></li>
13
+ </ul>
14
+ <h2 id="Version-2-0-2-2013-09-08">Version 2.0.2 (2013-09-08)</h2><p>Patch:</p>
11
15
  <ul>
12
16
  <li><p>GH-14: escape single quotes at beginning of lines</p><p>See the &quot;CONTROL CHARACTERS&quot; section in the <a class="md2man-xref">groff(7)</a> manual for details.</p><p>Thanks to Nick Fagerlund for reporting this bug.</p></li>
13
17
  <li><p>inhibit periods at line beginnings with &amp; escape</p></li>
@@ -1,3 +1,11 @@
1
+ ## Version 2.0.3 (2014-01-16)
2
+
3
+ ### Patch:
4
+
5
+ * Use CSS3 `-ch` suffix for accurate 80-character width in HTML output.
6
+
7
+ http://www.w3.org/TR/css3-values/#font-relative-lengths
8
+
1
9
  ## Version 2.0.2 (2013-09-08)
2
10
 
3
11
  Patch:
@@ -1,4 +1,4 @@
1
- .TH MD2MAN\-HTML 1 2013\-09\-08 2.0.2
1
+ .TH MD2MAN\-HTML 1 2014\-01\-16 2.0.3
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 2.0.2 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 2.0.3 https://github.com/sunaku/md2man" />
6
6
  <title>md2man-html(1) &mdash; convert md2man(5) 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"><h1 id="MD2MAN-HTML-1-2013-09-08-2-0-2">MD2MAN-HTML 1 2013-09-08 2.0.2</h1><h2 id="NAME">NAME</h2><p>md2man-html - convert <a class="md2man-xref" href="../man5/md2man.5.html">md2man(5)</a> flavored <a class="md2man-xref">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 <a class="md2man-xref" href="../man5/md2man.5.html">md2man(5)</a> flavored <a class="md2man-xref">markdown(7)</a> input from the given
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"><h1 id="MD2MAN-HTML-1-2014-01-16-2-0-3">MD2MAN-HTML 1 2014-01-16 2.0.3</h1><h2 id="NAME">NAME</h2><p>md2man-html - convert <a class="md2man-xref" href="../man5/md2man.5.html">md2man(5)</a> flavored <a class="md2man-xref">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 <a class="md2man-xref" href="../man5/md2man.5.html">md2man(5)</a> flavored <a class="md2man-xref">markdown(7)</a> input from the given
11
11
  <em>FILE</em> into HTML and then prints the result to the standard output stream.
12
12
  If <em>FILE</em> is not given, then the standard input stream is read in its place.</p><h3 id="Cross-references">Cross references</h3><p>Cross references to manual pages are emitted as HTML hyperlinks that have
13
13
  <code>class=&quot;md2man-xref&quot;</code> and <code>href=&quot;../man$SECTION/$PAGE.$SECTION.html&quot;</code>
@@ -1,4 +1,4 @@
1
- .TH MD2MAN\-RAKE 1 2013\-09\-08 2.0.2
1
+ .TH MD2MAN\-RAKE 1 2014\-01\-16 2.0.3
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 2.0.2 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 2.0.3 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"><h1 id="MD2MAN-RAKE-1-2013-09-08-2-0-2">MD2MAN-RAKE 1 2013-09-08 2.0.2</h1><h2 id="NAME">NAME</h2><p>md2man-rake - run <a class="md2man-xref">rake(1)</a> tasks from <a class="md2man-xref">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="md2man-xref">rake(1)</a> tasks provided by <a class="md2man-xref">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"><h1 id="MD2MAN-RAKE-1-2014-01-16-2-0-3">MD2MAN-RAKE 1 2014-01-16 2.0.3</h1><h2 id="NAME">NAME</h2><p>md2man-rake - run <a class="md2man-xref">rake(1)</a> tasks from <a class="md2man-xref">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="md2man-xref">rake(1)</a> tasks provided by <a class="md2man-xref">md2man(1)</a> without having
11
11
  to create a special file named <code>Rakefile</code> that contains the following snippet:</p>
12
12
  <pre><code>require &#39;md2man/rakefile&#39;
13
13
  </code></pre>
@@ -1,4 +1,4 @@
1
- .TH MD2MAN\-ROFF 1 2013\-09\-08 2.0.2
1
+ .TH MD2MAN\-ROFF 1 2014\-01\-16 2.0.3
2
2
  .SH NAME
3
3
  .PP
4
4
  md2man\-roff \- convert
@@ -2,12 +2,12 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 2.0.2 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 2.0.3 https://github.com/sunaku/md2man" />
6
6
  <title>md2man-roff(1) &mdash; convert md2man(5) flavored 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-roff.1</span></div></div><div class="container-fluid"><h1 id="MD2MAN-ROFF-1-2013-09-08-2-0-2">MD2MAN-ROFF 1 2013-09-08 2.0.2</h1><h2 id="NAME">NAME</h2><p>md2man-roff - convert <a class="md2man-xref" href="../man5/md2man.5.html">md2man(5)</a> flavored <a class="md2man-xref">markdown(7)</a> into <a class="md2man-xref">roff(7)</a></p><h2 id="SYNOPSIS">SYNOPSIS</h2><p><code>md2man-roff</code> [<em>OPTION</em>]... [<em>FILE</em>]</p><h2 id="DESCRIPTION">DESCRIPTION</h2><p>This program converts <a class="md2man-xref" href="../man5/md2man.5.html">md2man(5)</a> flavored <a class="md2man-xref">markdown(7)</a> input from the given
10
+ <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/md2man-roff.1</span></div></div><div class="container-fluid"><h1 id="MD2MAN-ROFF-1-2014-01-16-2-0-3">MD2MAN-ROFF 1 2014-01-16 2.0.3</h1><h2 id="NAME">NAME</h2><p>md2man-roff - convert <a class="md2man-xref" href="../man5/md2man.5.html">md2man(5)</a> flavored <a class="md2man-xref">markdown(7)</a> into <a class="md2man-xref">roff(7)</a></p><h2 id="SYNOPSIS">SYNOPSIS</h2><p><code>md2man-roff</code> [<em>OPTION</em>]... [<em>FILE</em>]</p><h2 id="DESCRIPTION">DESCRIPTION</h2><p>This program converts <a class="md2man-xref" href="../man5/md2man.5.html">md2man(5)</a> flavored <a class="md2man-xref">markdown(7)</a> input from the given
11
11
  <em>FILE</em> into <a class="md2man-xref">roff(7)</a> and then prints the result to the standard output stream.
12
12
  If <em>FILE</em> is not given, then the standard input stream is read in its place.</p><h3 id="Limitations">Limitations</h3><p>This program does not convert the following <a href="https://github.com/vmg/redcarpet">Redcarpet</a> nodes into <a class="md2man-xref">roff(7)</a>:</p>
13
13
  <ul>
data/man/man5/md2man.5 CHANGED
@@ -1,4 +1,4 @@
1
- .TH MD2MAN 5 2013\-09\-08 2.0.2
1
+ .TH MD2MAN 5 2014\-01\-16 2.0.3
2
2
  .SH NAME
3
3
  .PP
4
4
  md2man \- manual page flavoring for the
@@ -2,12 +2,12 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 2.0.2 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 2.0.3 https://github.com/sunaku/md2man" />
6
6
  <title>md2man(5) &mdash; manual page flavoring for the markdown(7) file format</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#man5">man5</a>/md2man.5</span></div></div><div class="container-fluid"><h1 id="MD2MAN-5-2013-09-08-2-0-2">MD2MAN 5 2013-09-08 2.0.2</h1><h2 id="NAME">NAME</h2><p>md2man - manual page flavoring for the <a class="md2man-xref">markdown(7)</a> file format</p><h2 id="DESCRIPTION">DESCRIPTION</h2><p><a href="https://github.com/sunaku/md2man">md2man</a> makes the <a class="md2man-xref">markdown(7)</a> file format friendly for writing UNIX manual
10
+ <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man5">man5</a>/md2man.5</span></div></div><div class="container-fluid"><h1 id="MD2MAN-5-2014-01-16-2-0-3">MD2MAN 5 2014-01-16 2.0.3</h1><h2 id="NAME">NAME</h2><p>md2man - manual page flavoring for the <a class="md2man-xref">markdown(7)</a> file format</p><h2 id="DESCRIPTION">DESCRIPTION</h2><p><a href="https://github.com/sunaku/md2man">md2man</a> makes the <a class="md2man-xref">markdown(7)</a> file format friendly for writing UNIX manual
11
11
  pages by extending its syntax, semantics, and assumed processing extensions.</p><h3 id="Syntax">Syntax</h3><p>md2man extends <a class="md2man-xref">markdown(7)</a> syntax by defining three kinds of paragraphs.</p>
12
12
  <pre><code>This is a
13
13
  normal
@@ -1,4 +1,4 @@
1
- # MD2MAN 5 2013-09-08 2.0.2
1
+ # MD2MAN 5 2014-01-16 2.0.3
2
2
 
3
3
  ## NAME
4
4
 
data/man/style.css CHANGED
@@ -21,7 +21,7 @@
21
21
  body {
22
22
  font-family: monospace;
23
23
  text-align: justify;
24
- max-width: 83ex; /* allots 78ex width for manpage */
24
+ max-width: 83ch; /* 80 chars, +3 for Bootstrap CSS */
25
25
  margin: auto;
26
26
  }
27
27
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: md2man
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Suraj N. Kurapati
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-08 00:00:00.000000000 Z
11
+ date: 2014-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: binman
@@ -103,17 +103,17 @@ files:
103
103
  - test/md2man/html_test.rb
104
104
  - test/md2man/roff_test.rb
105
105
  - test/test_helper.rb
106
- - man/man5/md2man.5
106
+ - man/man1/md2man-rake.1
107
107
  - man/man1/md2man-roff.1
108
108
  - man/man1/md2man-html.1
109
- - man/man1/md2man-rake.1
109
+ - man/man5/md2man.5
110
110
  - man/index.html
111
- - man/man0/VERSION.html
112
- - man/man0/README.html
113
- - man/man5/md2man.5.html
114
- - man/man1/md2man-rake.1.html
115
111
  - man/man1/md2man-roff.1.html
112
+ - man/man1/md2man-rake.1.html
116
113
  - man/man1/md2man-html.1.html
114
+ - man/man5/md2man.5.html
115
+ - man/man0/VERSION.html
116
+ - man/man0/README.html
117
117
  - man/style.css
118
118
  homepage: http://github.com/sunaku/md2man
119
119
  licenses:
@@ -139,7 +139,4 @@ rubygems_version: 2.0.3
139
139
  signing_key:
140
140
  specification_version: 4
141
141
  summary: markdown to manpage
142
- test_files:
143
- - test/md2man/html_test.rb
144
- - test/md2man/roff_test.rb
145
- - test/test_helper.rb
142
+ test_files: []