ronn-ng 0.10.1.pre1 → 0.10.1.pre2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHORS +11 -7
  3. data/CHANGES +7 -1
  4. data/INSTALLING.md +29 -27
  5. data/LICENSE.txt +1 -1
  6. data/README.md +15 -9
  7. data/Rakefile +1 -1
  8. data/bin/ronn +1 -1
  9. data/lib/ronn/document.rb +4 -1
  10. data/lib/ronn/roff.rb +4 -0
  11. data/lib/ronn/template/default.html +1 -1
  12. data/lib/ronn.rb +4 -6
  13. data/man/index.html +14 -14
  14. data/man/index.txt +9 -9
  15. data/man/ronn-format.7 +2 -2
  16. data/man/ronn.1 +7 -7
  17. data/man/ronn.1.ronn +7 -6
  18. data/ronn-ng.gemspec +6 -69
  19. metadata +19 -80
  20. data/Gemfile +0 -2
  21. data/Gemfile.lock +0 -70
  22. data/test/angle_bracket_syntax.html +0 -27
  23. data/test/angle_bracket_syntax.roff +0 -24
  24. data/test/angle_bracket_syntax.ronn +0 -22
  25. data/test/backticks.html +0 -14
  26. data/test/backticks.ronn +0 -10
  27. data/test/basic_document.html +0 -8
  28. data/test/basic_document.ronn +0 -4
  29. data/test/circumflexes.ronn +0 -1
  30. data/test/code_blocks.html +0 -38
  31. data/test/code_blocks.roff +0 -38
  32. data/test/code_blocks.ronn +0 -41
  33. data/test/code_blocks_regression +0 -19
  34. data/test/code_blocks_regression.html +0 -38
  35. data/test/code_blocks_regression.ronn +0 -40
  36. data/test/contest.rb +0 -70
  37. data/test/custom_title_document.html +0 -6
  38. data/test/custom_title_document.ronn +0 -5
  39. data/test/definition_list_syntax.html +0 -25
  40. data/test/definition_list_syntax.roff +0 -19
  41. data/test/definition_list_syntax.ronn +0 -18
  42. data/test/dots_at_line_start_test.roff +0 -19
  43. data/test/dots_at_line_start_test.ronn +0 -12
  44. data/test/ellipses.roff +0 -7
  45. data/test/ellipses.ronn +0 -7
  46. data/test/entity_encoding_test.html +0 -42
  47. data/test/entity_encoding_test.roff +0 -51
  48. data/test/entity_encoding_test.ronn +0 -34
  49. data/test/index.txt +0 -8
  50. data/test/markdown_syntax.html +0 -954
  51. data/test/markdown_syntax.roff +0 -907
  52. data/test/markdown_syntax.ronn +0 -881
  53. data/test/middle_paragraph.html +0 -14
  54. data/test/middle_paragraph.roff +0 -9
  55. data/test/middle_paragraph.ronn +0 -10
  56. data/test/missing_spaces.roff +0 -7
  57. data/test/missing_spaces.ronn +0 -2
  58. data/test/nested_list.ronn +0 -19
  59. data/test/nested_list_with_code.html +0 -14
  60. data/test/nested_list_with_code.roff +0 -11
  61. data/test/nested_list_with_code.ronn +0 -6
  62. data/test/ordered_list.html +0 -28
  63. data/test/ordered_list.roff +0 -25
  64. data/test/ordered_list.ronn +0 -21
  65. data/test/page.with.periods.in.name.5.ronn +0 -4
  66. data/test/pre_block_with_quotes.roff +0 -8
  67. data/test/pre_block_with_quotes.ronn +0 -6
  68. data/test/section_reference_links.html +0 -16
  69. data/test/section_reference_links.roff +0 -7
  70. data/test/section_reference_links.ronn +0 -12
  71. data/test/single_quotes.html +0 -11
  72. data/test/single_quotes.roff +0 -5
  73. data/test/single_quotes.ronn +0 -9
  74. data/test/tables.ronn +0 -24
  75. data/test/test_ronn.rb +0 -124
  76. data/test/test_ronn_document.rb +0 -186
  77. data/test/test_ronn_index.rb +0 -73
  78. data/test/titleless_document.html +0 -9
  79. data/test/titleless_document.ronn +0 -3
  80. data/test/underline_spacing_test.roff +0 -13
  81. data/test/underline_spacing_test.ronn +0 -11
@@ -1,25 +0,0 @@
1
- <div class='mp'>
2
-
3
- <h2 id="NAME">NAME</h2>
4
- <p class="man-name">
5
- <code>definition_list_syntax</code> - <span class="man-whatis">hiya</span>
6
- </p>
7
- <p>Definition lists look like unordered lists:</p>
8
-
9
- <dl>
10
- <dt>term</dt>
11
- <dd>definition</dd>
12
- <dt>another one</dt>
13
- <dd>The definition may span
14
- multiple lines and even
15
-
16
- <p>start</p>
17
-
18
- <p>new paragraphs</p>
19
- </dd>
20
- <dt>
21
- <code>--somearg</code>=<var>VALUE</var>
22
- </dt>
23
- <dd>We can do that too.</dd>
24
- </dl>
25
- </div>
@@ -1,19 +0,0 @@
1
- .TH "DEFINITION_LIST_SYNTAX" "5" "January 1979" ""
2
- .SH "NAME"
3
- \fBdefinition_list_syntax\fR \- hiya
4
- .P
5
- Definition lists look like unordered lists:
6
- .TP
7
- term
8
- definition
9
- .TP
10
- another one
11
- The definition may span multiple lines and even
12
- .IP
13
- start
14
- .IP
15
- new paragraphs
16
- .TP
17
- \fB\-\-somearg\fR=\fIVALUE\fR
18
- We can do that too\.
19
-
@@ -1,18 +0,0 @@
1
- definition_list_syntax(5) -- hiya
2
- =================================
3
-
4
- Definition lists look like unordered lists:
5
-
6
- * term:
7
- definition
8
-
9
- * another one:
10
- The definition may span
11
- multiple lines and even
12
-
13
- start
14
-
15
- new paragraphs
16
-
17
- * `--somearg`=<VALUE>:
18
- We can do that too.
@@ -1,19 +0,0 @@
1
- .TH "DOTS_AT_LINE_START_TEST" "" "January 1979" ""
2
- .SH "NAME"
3
- \fBdots_at_line_start_test\fR
4
- .P
5
- There's a weird issue where dots at the beginning of a line generate troff warnings due to escaping\.
6
- .P
7
- \&\.\. let's see what happens\.
8
- .IP "" 4
9
- .nf
10
- \&\. A dot on an indented line
11
-
12
- \&\. Another dot on an indented line
13
-
14
- some text
15
- some more text
16
- \&\. A dot on an indented line as part of a paragraph
17
- .fi
18
- .IP "" 0
19
-
@@ -1,12 +0,0 @@
1
- There's a weird issue where dots at the beginning of a line
2
- generate troff warnings due to escaping.
3
-
4
- .. let's see what happens.
5
-
6
- . A dot on an indented line
7
-
8
- . Another dot on an indented line
9
-
10
- some text
11
- some more text
12
- . A dot on an indented line as part of a paragraph
data/test/ellipses.roff DELETED
@@ -1,7 +0,0 @@
1
- .TH "ELLIPSES" "7" "January 1979" ""
2
- .SH "NAME"
3
- \fBellipses\fR \- testing ellipses
4
- .P
5
- Ellipses should be replaced\|\.\|\.\|\.
6
- .P
7
- \|\.\|\.\|\.also, they shouldn't interfere with regular dots at the beginning of a line\.
data/test/ellipses.ronn DELETED
@@ -1,7 +0,0 @@
1
- ellipses(7) -- testing ellipses
2
- ===============================
3
-
4
- Ellipses should be replaced...
5
-
6
- ...also, they shouldn't interfere with regular dots at the beginning
7
- of a line.
@@ -1,42 +0,0 @@
1
- <div class='mp'>
2
-
3
- <h2 id="NAME">NAME</h2>
4
- <p class="man-name">
5
- <code>hello</code> - <span class="man-whatis">hello world</span>
6
- </p>
7
- <p>Your output &lt;i&gt;might&lt;/i&gt; look like this:</p>
8
-
9
- <pre><code>* Chris
10
- *
11
- * &amp;lt;b&amp;gt;GitHub&amp;lt;/b&amp;gt;
12
- * &lt;b&gt;GitHub&lt;/b&gt;
13
- </code></pre>
14
-
15
- <p>Here's some special entities:</p>
16
-
17
- <ul>
18
- <li>&amp;bull; •</li>
19
- <li>&amp;nbsp;  </li>
20
- <li>&amp;copy; ©</li>
21
- <li>&amp;rdquo; ”</li>
22
- <li>&amp;mdash; —</li>
23
- <li>&amp;reg; ®</li>
24
- <li>&amp;sect; §</li>
25
- <li>&amp;ge; ≥</li>
26
- <li>&amp;le; ≤</li>
27
- <li>&amp;ne; ≠</li>
28
- <li>&amp;equiv; ≡</li>
29
- </ul>
30
-
31
- <p>Here's a line that uses non-breaking spaces to force the
32
- last few words to wrap together.</p>
33
-
34
- <p>And stuff like this:</p>
35
-
36
- <p>git bulk [-g] ([-a]|[-w <ws-name>]) <git command> </git></ws-name><br>
37
- git bulk --addworkspace <ws-name> <ws-root-directory> (--from <url or file>) </url></ws-root-directory></ws-name><br>
38
- git bulk --removeworkspace &lt;ws-name&gt; <br></p>
39
-
40
- <p>Should have the <code>&amp;lt;</code>/<code>&amp;gt;</code> entities stay as <code>&amp;lt;</code>/<code>&amp;gt;</code> in HTML, but be
41
- turned into literal brackets in the ROFF.</p>
42
- </div>
@@ -1,51 +0,0 @@
1
- .TH "HELLO" "1" "January 1979" ""
2
- .SH "NAME"
3
- \fBhello\fR \- hello world
4
- .P
5
- Your output <i>might</i> look like this:
6
- .IP "" 4
7
- .nf
8
- * Chris
9
- *
10
- * &lt;b&gt;GitHub&lt;/b&gt;
11
- * <b>GitHub</b>
12
- .fi
13
- .IP "" 0
14
- .P
15
- Here's some special entities:
16
- .IP "\(bu" 4
17
- &bull; \(bu
18
- .IP "\(bu" 4
19
- &nbsp; \~
20
- .IP "\(bu" 4
21
- &copy; \(co
22
- .IP "\(bu" 4
23
- &rdquo; \(rs
24
- .IP "\(bu" 4
25
- &mdash; \(em
26
- .IP "\(bu" 4
27
- &reg; \(rg
28
- .IP "\(bu" 4
29
- &sect; \(sc
30
- .IP "\(bu" 4
31
- &ge; \(>=
32
- .IP "\(bu" 4
33
- &le; \(<=
34
- .IP "\(bu" 4
35
- &ne; \(!=
36
- .IP "\(bu" 4
37
- &equiv; \(==
38
- .IP "" 0
39
- .P
40
- Here's a line that uses non\-breaking spaces to force the last\~few\~words\~to\~wrap\~together\.
41
- .P
42
- And stuff like this:
43
- .P
44
- git bulk [\-g] ([\-a]|[\-w
45
- .br
46
- git bulk \-\-addworkspace
47
- .br
48
- git bulk \-\-removeworkspace <ws\-name>
49
- .br
50
- .P
51
- Should have the \fB&lt;\fR/\fB&gt;\fR entities stay as \fB&lt;\fR/\fB&gt;\fR in HTML, but be turned into literal brackets in the ROFF\.
@@ -1,34 +0,0 @@
1
- # hello(1) -- hello world
2
-
3
- Your output &lt;i&gt;might&lt;/i&gt; look like this:
4
-
5
- * Chris
6
- *
7
- * &lt;b&gt;GitHub&lt;/b&gt;
8
- * <b>GitHub</b>
9
-
10
- Here's some special entities:
11
-
12
- * &amp;bull; &bull;
13
- * &amp;nbsp; &nbsp;
14
- * &amp;copy; &copy;
15
- * &amp;rdquo; &rdquo;
16
- * &amp;mdash; &mdash;
17
- * &amp;reg; &reg;
18
- * &amp;sect; &sect;
19
- * &amp;ge; &ge;
20
- * &amp;le; &le;
21
- * &amp;ne; &ne;
22
- * &amp;equiv; &equiv;
23
-
24
- Here's a line that uses non-breaking spaces to force the
25
- last&nbsp;few&nbsp;words&nbsp;to&nbsp;wrap&nbsp;together.
26
-
27
- And stuff like this:
28
-
29
- git bulk [-g] ([-a]|[-w &lt;ws-name&gt;]) &lt;git command&gt; <br/>
30
- git bulk --addworkspace &lt;ws-name&gt; &lt;ws-root-directory&gt; (--from &lt;URL or file&gt;) <br/>
31
- git bulk --removeworkspace &lt;ws-name&gt; <br/>
32
-
33
- Should have the `&lt;`/`&gt;` entities stay as `&lt;`/`&gt;` in HTML, but be
34
- turned into literal brackets in the ROFF.
data/test/index.txt DELETED
@@ -1,8 +0,0 @@
1
- # test ronn index
2
-
3
- # local manuals
4
- basic_document(7) basic_document.ronn
5
- definition_list_syntax(5) definition_list_syntax.ronn
6
-
7
- # see also
8
- grep(1) http://man.cx/grep(1)