ronn-ng 0.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. checksums.yaml +7 -0
  2. data/AUTHORS +8 -0
  3. data/CHANGES +184 -0
  4. data/INSTALLING +20 -0
  5. data/LICENSE.txt +11 -0
  6. data/README.md +113 -0
  7. data/Rakefile +163 -0
  8. data/bin/ronn +223 -0
  9. data/config.ru +15 -0
  10. data/lib/ronn.rb +50 -0
  11. data/lib/ronn/document.rb +495 -0
  12. data/lib/ronn/index.rb +183 -0
  13. data/lib/ronn/roff.rb +302 -0
  14. data/lib/ronn/server.rb +70 -0
  15. data/lib/ronn/template.rb +171 -0
  16. data/lib/ronn/template/80c.css +6 -0
  17. data/lib/ronn/template/dark.css +18 -0
  18. data/lib/ronn/template/darktoc.css +17 -0
  19. data/lib/ronn/template/default.html +41 -0
  20. data/lib/ronn/template/man.css +100 -0
  21. data/lib/ronn/template/print.css +5 -0
  22. data/lib/ronn/template/screen.css +105 -0
  23. data/lib/ronn/template/toc.css +27 -0
  24. data/lib/ronn/utils.rb +55 -0
  25. data/man/index.html +78 -0
  26. data/man/index.txt +15 -0
  27. data/man/ronn-format.7 +201 -0
  28. data/man/ronn-format.7.ronn +157 -0
  29. data/man/ronn.1 +325 -0
  30. data/man/ronn.1.ronn +306 -0
  31. data/ronn-ng.gemspec +97 -0
  32. data/test/angle_bracket_syntax.html +18 -0
  33. data/test/angle_bracket_syntax.ronn +12 -0
  34. data/test/basic_document.html +9 -0
  35. data/test/basic_document.ronn +4 -0
  36. data/test/contest.rb +68 -0
  37. data/test/custom_title_document.html +6 -0
  38. data/test/custom_title_document.ronn +5 -0
  39. data/test/definition_list_syntax.html +21 -0
  40. data/test/definition_list_syntax.roff +26 -0
  41. data/test/definition_list_syntax.ronn +18 -0
  42. data/test/dots_at_line_start_test.roff +10 -0
  43. data/test/dots_at_line_start_test.ronn +4 -0
  44. data/test/entity_encoding_test.html +35 -0
  45. data/test/entity_encoding_test.roff +61 -0
  46. data/test/entity_encoding_test.ronn +25 -0
  47. data/test/index.txt +8 -0
  48. data/test/markdown_syntax.html +957 -0
  49. data/test/markdown_syntax.roff +1467 -0
  50. data/test/markdown_syntax.ronn +881 -0
  51. data/test/middle_paragraph.html +15 -0
  52. data/test/middle_paragraph.roff +13 -0
  53. data/test/middle_paragraph.ronn +10 -0
  54. data/test/missing_spaces.roff +9 -0
  55. data/test/missing_spaces.ronn +2 -0
  56. data/test/pre_block_with_quotes.roff +13 -0
  57. data/test/pre_block_with_quotes.ronn +6 -0
  58. data/test/section_reference_links.html +17 -0
  59. data/test/section_reference_links.roff +10 -0
  60. data/test/section_reference_links.ronn +12 -0
  61. data/test/test_ronn.rb +110 -0
  62. data/test/test_ronn_document.rb +186 -0
  63. data/test/test_ronn_index.rb +73 -0
  64. data/test/titleless_document.html +10 -0
  65. data/test/titleless_document.ronn +3 -0
  66. data/test/underline_spacing_test.roff +21 -0
  67. data/test/underline_spacing_test.ronn +11 -0
  68. metadata +176 -0
@@ -0,0 +1,10 @@
1
+ <div class='mp'>
2
+ <h2 id="NAME">NAME</h2>
3
+ <p class="man-name">
4
+ <code>titleless_document</code>
5
+ </p>
6
+ <p>This is a document without a level 1 heading. It generates
7
+ a <code>NAME</code> section from the filename but does not include an
8
+ <code>&lt;h1&gt;</code> element.</p>
9
+
10
+ </div>
@@ -0,0 +1,3 @@
1
+ This is a document without a level 1 heading. It generates
2
+ a `NAME` section from the filename but does not include an
3
+ `<h1>` element.
@@ -0,0 +1,21 @@
1
+ .TH "UNDERLINE_SPACING_TEST" "" "January 1979" "" ""
2
+ .
3
+ .SH "NAME"
4
+ \fBunderline_spacing_test\fR
5
+ .
6
+ .P
7
+ This input
8
+ .
9
+ .TP
10
+ \fB\-S\fR \fItext\fR, \fBsearch\fR \fItext\fR
11
+ Performs a substring search of formula names for \fItext\fR\.
12
+ .
13
+ .TP
14
+ \fB\-O\fR \fItext\fR, \fBother\fR \fItext\fR
15
+ Does something else\.
16
+ .
17
+ .P
18
+ Should space text properly\.
19
+ .
20
+ .P
21
+ \fI!\-\- this is a comment \-\-\fR
@@ -0,0 +1,11 @@
1
+ This input
2
+
3
+ * `-S` _text_, `search` _text_:
4
+ Performs a substring search of formula names for _text_.
5
+
6
+ * `-O` <text>, `other` <text>:
7
+ Does something else.
8
+
9
+ Should space text properly.
10
+
11
+ <!-- this is a comment -->
metadata ADDED
@@ -0,0 +1,176 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ronn-ng
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.7.4
5
+ platform: ruby
6
+ authors:
7
+ - Andrew Janke
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-12-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: hpricot
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.8'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 0.8.2
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '0.8'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 0.8.2
33
+ - !ruby/object:Gem::Dependency
34
+ name: rdiscount
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.5'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 1.5.8
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '1.5'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 1.5.8
53
+ - !ruby/object:Gem::Dependency
54
+ name: mustache
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '0.7'
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 0.7.0
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '0.7'
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 0.7.0
73
+ description: Ronn-NG builds manuals in HTML and Unix man page format from Markdown.
74
+ email: floss@apjanke.net
75
+ executables:
76
+ - ronn
77
+ extensions: []
78
+ extra_rdoc_files:
79
+ - LICENSE.txt
80
+ - AUTHORS
81
+ files:
82
+ - AUTHORS
83
+ - CHANGES
84
+ - INSTALLING
85
+ - LICENSE.txt
86
+ - README.md
87
+ - Rakefile
88
+ - bin/ronn
89
+ - config.ru
90
+ - lib/ronn.rb
91
+ - lib/ronn/document.rb
92
+ - lib/ronn/index.rb
93
+ - lib/ronn/roff.rb
94
+ - lib/ronn/server.rb
95
+ - lib/ronn/template.rb
96
+ - lib/ronn/template/80c.css
97
+ - lib/ronn/template/dark.css
98
+ - lib/ronn/template/darktoc.css
99
+ - lib/ronn/template/default.html
100
+ - lib/ronn/template/man.css
101
+ - lib/ronn/template/print.css
102
+ - lib/ronn/template/screen.css
103
+ - lib/ronn/template/toc.css
104
+ - lib/ronn/utils.rb
105
+ - man/index.html
106
+ - man/index.txt
107
+ - man/ronn-format.7
108
+ - man/ronn-format.7.ronn
109
+ - man/ronn.1
110
+ - man/ronn.1.ronn
111
+ - ronn-ng.gemspec
112
+ - test/angle_bracket_syntax.html
113
+ - test/angle_bracket_syntax.ronn
114
+ - test/basic_document.html
115
+ - test/basic_document.ronn
116
+ - test/contest.rb
117
+ - test/custom_title_document.html
118
+ - test/custom_title_document.ronn
119
+ - test/definition_list_syntax.html
120
+ - test/definition_list_syntax.roff
121
+ - test/definition_list_syntax.ronn
122
+ - test/dots_at_line_start_test.roff
123
+ - test/dots_at_line_start_test.ronn
124
+ - test/entity_encoding_test.html
125
+ - test/entity_encoding_test.roff
126
+ - test/entity_encoding_test.ronn
127
+ - test/index.txt
128
+ - test/markdown_syntax.html
129
+ - test/markdown_syntax.roff
130
+ - test/markdown_syntax.ronn
131
+ - test/middle_paragraph.html
132
+ - test/middle_paragraph.roff
133
+ - test/middle_paragraph.ronn
134
+ - test/missing_spaces.roff
135
+ - test/missing_spaces.ronn
136
+ - test/pre_block_with_quotes.roff
137
+ - test/pre_block_with_quotes.ronn
138
+ - test/section_reference_links.html
139
+ - test/section_reference_links.roff
140
+ - test/section_reference_links.ronn
141
+ - test/test_ronn.rb
142
+ - test/test_ronn_document.rb
143
+ - test/test_ronn_index.rb
144
+ - test/titleless_document.html
145
+ - test/titleless_document.ronn
146
+ - test/underline_spacing_test.roff
147
+ - test/underline_spacing_test.ronn
148
+ homepage: https://github.com/apjanke/ronn-ng
149
+ licenses:
150
+ - MIT
151
+ metadata: {}
152
+ post_install_message:
153
+ rdoc_options:
154
+ - "--line-numbers"
155
+ - "--inline-source"
156
+ - "--title"
157
+ - Ronn
158
+ require_paths:
159
+ - lib
160
+ required_ruby_version: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - ">="
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
165
+ required_rubygems_version: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ version: '0'
170
+ requirements: []
171
+ rubyforge_project:
172
+ rubygems_version: 2.7.7
173
+ signing_key:
174
+ specification_version: 4
175
+ summary: Builds manuals
176
+ test_files: []