nronn 0.10.1.pre2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +7 -0
  2. data/AUTHORS +8 -0
  3. data/CHANGES +230 -0
  4. data/Gemfile +2 -0
  5. data/Gemfile.lock +72 -0
  6. data/INSTALLING.md +92 -0
  7. data/LICENSE.txt +12 -0
  8. data/README.md +131 -0
  9. data/Rakefile +153 -0
  10. data/bin/ronn +253 -0
  11. data/completion/bash/ronn +32 -0
  12. data/completion/zsh/_ronn +24 -0
  13. data/config.ru +15 -0
  14. data/lib/ronn/document.rb +530 -0
  15. data/lib/ronn/index.rb +180 -0
  16. data/lib/ronn/roff.rb +393 -0
  17. data/lib/ronn/server.rb +67 -0
  18. data/lib/ronn/template/80c.css +6 -0
  19. data/lib/ronn/template/dark.css +18 -0
  20. data/lib/ronn/template/darktoc.css +17 -0
  21. data/lib/ronn/template/default.html +41 -0
  22. data/lib/ronn/template/man.css +100 -0
  23. data/lib/ronn/template/print.css +5 -0
  24. data/lib/ronn/template/screen.css +105 -0
  25. data/lib/ronn/template/toc.css +27 -0
  26. data/lib/ronn/template.rb +173 -0
  27. data/lib/ronn/utils.rb +57 -0
  28. data/lib/ronn.rb +47 -0
  29. data/man/index.html +78 -0
  30. data/man/index.txt +15 -0
  31. data/man/ronn-format.7 +145 -0
  32. data/man/ronn-format.7.ronn +157 -0
  33. data/man/ronn.1 +227 -0
  34. data/man/ronn.1.ronn +316 -0
  35. data/nronn.gemspec +136 -0
  36. data/test/angle_bracket_syntax.html +27 -0
  37. data/test/angle_bracket_syntax.roff +24 -0
  38. data/test/angle_bracket_syntax.ronn +22 -0
  39. data/test/backticks.html +14 -0
  40. data/test/backticks.ronn +10 -0
  41. data/test/basic_document.html +8 -0
  42. data/test/basic_document.ronn +4 -0
  43. data/test/circumflexes.ronn +1 -0
  44. data/test/code_blocks.html +38 -0
  45. data/test/code_blocks.roff +38 -0
  46. data/test/code_blocks.ronn +41 -0
  47. data/test/code_blocks_regression +19 -0
  48. data/test/code_blocks_regression.html +38 -0
  49. data/test/code_blocks_regression.ronn +40 -0
  50. data/test/contest.rb +70 -0
  51. data/test/custom_title_document.html +6 -0
  52. data/test/custom_title_document.ronn +5 -0
  53. data/test/definition_list_syntax.html +25 -0
  54. data/test/definition_list_syntax.roff +19 -0
  55. data/test/definition_list_syntax.ronn +18 -0
  56. data/test/dots_at_line_start_test.roff +19 -0
  57. data/test/dots_at_line_start_test.ronn +12 -0
  58. data/test/ellipses.roff +7 -0
  59. data/test/ellipses.ronn +7 -0
  60. data/test/entity_encoding_test.html +42 -0
  61. data/test/entity_encoding_test.roff +51 -0
  62. data/test/entity_encoding_test.ronn +34 -0
  63. data/test/index.txt +8 -0
  64. data/test/markdown_syntax.html +954 -0
  65. data/test/markdown_syntax.roff +907 -0
  66. data/test/markdown_syntax.ronn +881 -0
  67. data/test/middle_paragraph.html +14 -0
  68. data/test/middle_paragraph.roff +9 -0
  69. data/test/middle_paragraph.ronn +10 -0
  70. data/test/missing_spaces.roff +7 -0
  71. data/test/missing_spaces.ronn +2 -0
  72. data/test/nested_list.ronn +19 -0
  73. data/test/nested_list_with_code.html +14 -0
  74. data/test/nested_list_with_code.roff +11 -0
  75. data/test/nested_list_with_code.ronn +6 -0
  76. data/test/ordered_list.html +28 -0
  77. data/test/ordered_list.roff +25 -0
  78. data/test/ordered_list.ronn +21 -0
  79. data/test/page.with.periods.in.name.5.ronn +4 -0
  80. data/test/pre_block_with_quotes.roff +8 -0
  81. data/test/pre_block_with_quotes.ronn +6 -0
  82. data/test/section_reference_links.html +16 -0
  83. data/test/section_reference_links.roff +7 -0
  84. data/test/section_reference_links.ronn +12 -0
  85. data/test/single_quotes.html +11 -0
  86. data/test/single_quotes.roff +5 -0
  87. data/test/single_quotes.ronn +9 -0
  88. data/test/tables.ronn +24 -0
  89. data/test/test_ronn.rb +124 -0
  90. data/test/test_ronn_document.rb +186 -0
  91. data/test/test_ronn_index.rb +73 -0
  92. data/test/titleless_document.html +9 -0
  93. data/test/titleless_document.ronn +3 -0
  94. data/test/underline_spacing_test.roff +13 -0
  95. data/test/underline_spacing_test.ronn +11 -0
  96. metadata +309 -0
@@ -0,0 +1,157 @@
1
+ ronn-format(7) -- manual authoring format based on Markdown
2
+ ===========================================================
3
+
4
+ ## SYNOPSIS
5
+
6
+ name(1) -- short, single-sentence description
7
+ =============================================
8
+
9
+ ## SYNOPSIS
10
+
11
+ `name` [<optional>...] <flags>
12
+
13
+ ## DESCRIPTION
14
+
15
+ A normal paragraph. This can span multiple lines and is terminated with two
16
+ or more line endings -- just like Markdown.
17
+
18
+ Inline markup for `code`, `user input`, and **strong** are displayed
19
+ boldface; <variable>, _emphasis_, *emphasis*, are displayed in italics
20
+ (HTML) or underline (roff).
21
+
22
+ Manual references like sh(1), markdown(7), roff(7), etc. are hyperlinked in
23
+ HTML output.
24
+
25
+ Link to sections like [STANDARDS][], [SEE ALSO][], or [WITH A DIFFERENT LINK
26
+ TEXT][#SEE-ALSO].
27
+
28
+ Definition lists:
29
+
30
+ * `-a`, `--argument`=[<value>]:
31
+ One or more paragraphs describing the argument.
32
+
33
+ * You can put whatever you *want* here, really:
34
+ Nesting and paragraph spacing are respected.
35
+
36
+ Frequently used sections:
37
+
38
+ ## OPTIONS
39
+ ## SYNTAX
40
+ ## ENVIRONMENT
41
+ ## RETURN VALUES
42
+ ## STANDARDS
43
+ ## SECURITY CONSIDERATIONS
44
+ ## BUGS
45
+ ## HISTORY
46
+ ## AUTHOR
47
+ ## COPYRIGHT
48
+ ## SEE ALSO
49
+
50
+ ## DESCRIPTION
51
+
52
+ The ronn(1) command converts text in a simple markup to Unix manual pages. The
53
+ syntax includes all Markdown formatting features, plus conventions for
54
+ expressing the structure and various notations present in standard Unix
55
+ manpages.
56
+
57
+ Not all roff(7) typesetting features can be expressed using ronn syntax.
58
+
59
+ ## MANPAGE TITLE
60
+
61
+ Manpages have a <name>, <section>, and a one-line <description>. Files must
62
+ start with a level one heading defining these attributes:
63
+
64
+ ls(1) -- list directory contents
65
+ ================================
66
+
67
+ Indicates that the manpage is named `ls` in manual section `1` ("user
68
+ commands").
69
+
70
+ ## SECTION HEADINGS
71
+
72
+ Man section headings are expressed with markdown level two headings. There
73
+ are two syntaxes for level two headings.
74
+
75
+ Hash prefix syntax:
76
+
77
+ ## HEADING TEXT
78
+
79
+ Dash underline syntax:
80
+
81
+ HEADING TEXT
82
+ ------------
83
+
84
+ Section headings should be all uppercase and may not contain inline markup.
85
+
86
+ ## INLINE MARKUP
87
+
88
+ Manpages have a limited set of text formatting capabilities. There's basically
89
+ <b>boldface</b> and <i>italics</i> (often displayed using <u>underline</u>).
90
+ Ronn uses the following bits of markdown(7) to accomplish this:
91
+
92
+ * <code>\`backticks\`</code> (markdown compatible):
93
+ Code, flags, commands, and noun-like things; typically displayed in in
94
+ <b>boldface</b>. All text included within `backticks` is displayed
95
+ literally; other inline markup is not processed. HTML output:
96
+ `<code>`.
97
+
98
+ * `**double-stars**` (markdown compatible):
99
+ Also displayed in boldface. Unlike backticks, inline markup is processed.
100
+ HTML output: `<strong>`.
101
+
102
+ * `<anglequotes>` (non-compatible markdown extension):
103
+ User-specified arguments, variables, or user input. Typically displayed with
104
+ <u>underline</u> in roff output. HTML output: `<var/>`.
105
+
106
+ * `_`_underbars_`_` (markdown compatible):
107
+ Emphasis. May be used for literal option values. Typically displayed with
108
+ <u>underline</u> in roff output. HTML output: `<em>`.
109
+
110
+ Here is grep(1)'s DESCRIPTION section represented in `ronn`:
111
+
112
+ `Grep` searches the named input <FILE> (or standard input if
113
+ no files are named, or the file name `-` is given) for lines
114
+ containing a match to the given <PATTERN>. By default, `grep`
115
+ prints the matching lines.
116
+
117
+ ## DEFINITION LISTS
118
+
119
+ The definition list syntax is compatible with markdown's unordered list syntax
120
+ but requires that the first line of each list item be terminated with a colon
121
+ "`:`" character. The contents of the first line is the <term>; subsequent lines
122
+ may be comprised of multiple paragraphs, code blocks, standard lists, and nested
123
+ definition lists.
124
+
125
+ An example definition list, taken from BSD test(1)'s *DESCRIPTION* section:
126
+
127
+ The following primaries are used to construct expressions:
128
+
129
+ * `-b` <file>:
130
+ True if <file> exists and is a block special file.
131
+
132
+ * `-c` <file>:
133
+ True if _file_ exists and is a character special file.
134
+
135
+ * `-d` <file>:
136
+ True if file exists and is a directory.
137
+
138
+ ## LINKS
139
+
140
+ All markdown(7) linking features are supported.
141
+
142
+ Markdown reference-style links can be used to link to specific sections by name:
143
+
144
+ ## SECTION 1
145
+
146
+ See the following section.
147
+
148
+ ## SECTION 2
149
+
150
+ See [SECTION 1][] or [to put it another way][SECTION 1].
151
+
152
+ The anchor name would be `#SECTION-1` and `#SECTION-2`. All non-word characters
153
+ are removed and spaces are replaced by dashes.
154
+
155
+ ## SEE ALSO
156
+
157
+ ronn(1), markdown(7), roff(7)
data/man/ronn.1 ADDED
@@ -0,0 +1,227 @@
1
+ .\" generated with Ronn-NG/v0.10.1
2
+ .\" http://github.com/apjanke/ronn-ng/tree/0.10.1.pre1
3
+ .TH "RONN" "1" "January 2020" "Ronn-NG 0.10.1.pre1" "Ronn Manual"
4
+ .SH "NAME"
5
+ \fBronn\fR \- convert markdown files to manpages
6
+ .SH "SYNOPSIS"
7
+ \fBronn\fR [\fIformat\fR\|\.\|\.\|\.] \fIfile\fR\|\.\|\.\|\.
8
+ .br
9
+ \fBronn\fR \fB\-m\fR|\fB\-\-man\fR \fIfile\fR\|\.\|\.\|\.
10
+ .br
11
+ \fBronn\fR \fB\-S\fR|\fB\-\-server\fR \fIfile\fR\|\.\|\.\|\.
12
+ .br
13
+ \fBronn\fR \fB\-\-pipe\fR \fIfile\fR
14
+ .br
15
+ \fBronn\fR < \fIfile\fR
16
+ .br
17
+ \fBronn\fR \fB\-E\fR|\fB\-\-encoding\fR \fIencoding\fR \|\.\|\.\|\.
18
+ .SH "DESCRIPTION"
19
+ \fBRonn\fR converts textfiles to standard roff\-formatted Unix manpages or HTML\. ronn\-format(7) is based on markdown(7) but includes additional rules and syntax geared toward authoring manuals\.
20
+ .P
21
+ In its default mode, \fBronn\fR converts one or more input \fIfile\fRs to HTML or roff output files\. The \fB\-\-roff\fR, \fB\-\-html\fR, and \fB\-\-fragment\fR options dictate which output files are generated\. Multiple format arguments may be specified to generate multiple output files\. Output files are named after and written to the same directory as input \fIfile\fRs\.
22
+ .P
23
+ The \fB\-\-server\fR and \fB\-\-man\fR options change the output behavior from file generation to serving dynamically generated HTML manpages or viewing \fIfile\fR as with man(1)\.
24
+ .P
25
+ With no \fIfile\fR arguments, \fBronn\fR acts as simple filter\. Ronn source text is read from standard input and roff output is written to standard output\. Use the \fB\-\-html\fR, \fB\-\-roff\fR, and/or \fB\-\-fragment\fR options to select the output format\.
26
+ .SH "FILES"
27
+ The \fBronn\fR command expects input to be valid ronn\-format(7) text\. Source files are typically named \fIname\fR\.\fIsection\fR\.ronn (e\.g\., \fBexample\.1\.ronn\fR)\. The \fIname\fR and \fIsection\fR should match the name and section defined in the \fIfile\fR's heading\.
28
+ .P
29
+ Source files must be in UTF\-8 encoding, or the encoding specified by the \fB\-E\fR/\fB\-\-encoding\fR option, regardless of the locale that \fBronn\fR is running under\.
30
+ .P
31
+ When building roff or HTML output files, destination filenames are determined by taking the basename of the input \fIfile\fR and adding the appropriate file extension (or removing the file extension in the case of roff output)\. For example, executing \fBronn example\.1\.ronn\fR generates \fBexample\.1\fR with roff output and \fBexample\.1\.html\fR with HTML output\.
32
+ .SH "OPTIONS"
33
+ These options control whether output is written to file(s), standard output, or directly to a man pager\.
34
+ .IP "\(bu" 4
35
+ \fB\-m\fR, \fB\-\-man\fR: Don't generate files, display \fIfile\fRs as if man(1) were invoked on the roff output file\. This simulates default man behavior by piping the roff output through groff(1) and the paging program specified by the \fBMANPAGER\fR environment variable\.
36
+ .IP "\(bu" 4
37
+ \fB\-S\fR, \fB\-\-server\fR: Don't generate files, start an HTTP server at \fIhttp://localhost:1207/\fR and serve dynamically generated HTML for the set of input \fIfile\fRs\. A file named \fIexample\.2\.ronn\fR is served as \fI/example\.2\.html\fR\. There's also an index page at the root with links to each \fIfile\fR\.
38
+ .IP
39
+ The server respects the \fB\-\-style\fR and document attribute options (\fB\-\-manual\fR, \fB\-\-date\fR, etc\.)\. These same options can be varied at request time by giving them as query parameters: \fB?manual=FOO&style=dark,toc\fR
40
+ .IP
41
+ \fINOTE: The builtin server is designed to assist in the process of writing and styling manuals\. It is in no way recommended as a general purpose web server\.\fR
42
+ .IP "\(bu" 4
43
+ \fB\-\-port\fR=\fIport\fR When used with \fB\-S\fR/\fB\-\-server\fR, runs the server at the specified port instead of the default port 1207\.
44
+ .IP "\(bu" 4
45
+ \fB\-\-pipe\fR: Don't generate files, write generated output to standard output\. This is the default behavior when ronn source text is piped in on standard input and no \fIfile\fR arguments are provided\.
46
+ .IP "\(bu" 4
47
+ \fB\-o\fR=\fIdirectory\fR, \fB\-\-output\-dir\fR=\fIdirectory\fR: Write generated files to the specified directory instead of the default location\.
48
+ .IP "\(bu" 4
49
+ \fB\-E\fR=\fIencoding\fR, \fB\-\-encoding\fR=<encoding: Specify the encoding that input files are in\. Default is UTF\-8, regardless of user's locale settings\. Input sent to STDIN is always treated as UTF\-8, regardless of whether \fB\-E\fR is passed\.
50
+ .IP "" 0
51
+ .P
52
+ Format options control the files \fBronn\fR generates, or the output format when the \fB\-\-pipe\fR argument is specified\. When no format options are given, both \fB\-\-roff\fR and \fB\-\-html\fR are assumed\.
53
+ .TP
54
+ \fB\-r\fR, \fB\-\-roff\fR
55
+ Generate roff output\. This is the default behavior when no \fIfile\fRs are given and ronn source text is read from standard input\.
56
+ .TP
57
+ \fB\-5\fR, \fB\-\-html\fR
58
+ Generate output in HTML format\.
59
+ .TP
60
+ \fB\-f\fR, \fB\-\-fragment\fR
61
+ Generate output in HTML format but only the document fragment, not the header, title, or footer\.
62
+ .P
63
+ Document attributes displayed in the header and footer areas of generated content are specified with these options\. (These values may also be set via the \fIENVIRONMENT\fR\.)
64
+ .TP
65
+ \fB\-\-manual\fR=\fImanual\fR
66
+ The name of the manual this man page belongs to; \fImanual\fR is prominently displayed top\-center in the header area\.
67
+ .TP
68
+ \fB\-\-organization\fR=\fIname\fR
69
+ The name of the group, organization, or individual responsible for publishing the document; \fIname\fR is displayed in the bottom\-left footer area\.
70
+ .TP
71
+ \fB\-\-date\fR=\fIdate\fR
72
+ The document's published date; \fIdate\fR must be formatted \fBYYYY\-MM\-DD\fR and is displayed in the bottom\-center footer area\. The \fIfile\fR mtime is used when no \fIdate\fR is given, or the current time when no \fIfile\fR is available\.
73
+ .P
74
+ HTML output can be customized through the use of CSS stylesheets:
75
+ .TP
76
+ \fB\-\-style\fR=\fImodule\fR[,\fImodule\fR]\|\.\|\.\|\.
77
+ The list of CSS stylesheets to apply to the document\. Multiple \fImodule\fR arguments may be specified, but must be separated by commas or spaces\.
78
+ .IP
79
+ When \fImodule\fR is a simple word, search for files named \fImodule\fR\fB\.css\fR in all directories listed in the \fI\fBRONN_STYLE\fR\fR environment variable, and then search internal styles\.
80
+ .IP
81
+ When \fImodule\fR includes a \fI/\fR character, use it as the full path to a stylesheet file\.
82
+ .IP
83
+ Internal styles are \fIman\fR (included by default), \fItoc\fR, and \fI80c\fR\. See \fISTYLES\fR for descriptions of features added by each module\.
84
+ .P
85
+ Miscellaneous options:
86
+ .TP
87
+ \fB\-w\fR, \fB\-\-warnings\fR
88
+ Show troff warnings on standard error when performing roff conversion\. Warnings are most often the result of a bug in ronn's HTML to roff conversion logic\.
89
+ .TP
90
+ \fB\-W\fR
91
+ Disable troff warnings\. Warnings are disabled by default\. This option can be used to revert the effect of a previous \fB\-w\fR argument\.
92
+ .TP
93
+ \fB\-v\fR, \fB\-\-version\fR
94
+ Show ronn version and exit\.
95
+ .SH "LINK INDEXES"
96
+ When generating HTML output, \fBronn\fR hyperlinks manual references (like \fBgrep(1)\fR, \fBls(1)\fR, \fBmarkdown(7)\fR) in source text based on reference name to URL mappings defined in an \fBindex\.txt\fR file\. Each line of the index file describes a single reference link, with whitespace separating the reference's \fIid\fR from its \fIlocation\fR\. Blank lines are allowed; lines beginning with a \fB#\fR character are ignored:
97
+ .IP "" 4
98
+ .nf
99
+ # manuals included in this project:
100
+ whisky(1) whisky\.1\.ronn
101
+ tango(5) tango\.5\.ronn
102
+
103
+ # external manuals
104
+ grep(1) http://man\.cx/grep(1)
105
+ ls(1) http://man\.cx/ls(1)
106
+
107
+ # other URLs for use with markdown reference links
108
+ src http://github\.com/
109
+ .fi
110
+ .IP "" 0
111
+ .P
112
+ The \fIlocation\fR is an absolute or relative URL that usually points at an HTML version of manpage\. It's possible to define references for things that aren't manpages\.
113
+ .P
114
+ All manuals in an individual directory share the references defined in that directory's \fBindex\.txt\fR file\. Index references may be used explicitly in Markdown reference style links using the syntax: \fB[\fR\fItext\fR\fB][\fR\fIid\fR\fB]\fR, where \fItext\fR is the link text and \fIid\fR is a reference name defined in the index\.
115
+ .SH "STYLES"
116
+ The \fB\-\-style\fR option selects a list of CSS stylesheets to include in the generated HTML\. Styles are applied in the order defined, so each can use the cascade to override previously defined styles\.
117
+ .SS "Builtin Stylesheets"
118
+ These styles are included with the distribution:
119
+ .TP
120
+ \fBman\fR
121
+ Basic manpage styles: typography, definition lists, indentation\. This is always included regardless of \fB\-\-style\fR argument\. It is however possible to replace the default \fBman\fR module with a custom one by placing a \fBman\.css\fR file on the \fBRONN_STYLE\fR path\.
122
+ .TP
123
+ \fBprint\fR
124
+ Basic print stylesheet\. The generated \fB<style>\fR tag includes a \fBmedia=print\fR attribute\.
125
+ .TP
126
+ \fBtoc\fR
127
+ Enables the Table of Contents navigation\. The TOC markup is included in generated HTML by default but hidden with an inline \fBdisplay:none\fR style rule; the \fBtoc\fR module turns it on and applies basic TOC styles\.
128
+ .TP
129
+ \fBdark\fR
130
+ Light text on a dark background\.
131
+ .TP
132
+ \fB80c\fR
133
+ Changes the display width to mimic the display of a classic 80 character terminal\. The default display width causes lines to wrap at a gratuitous 100 characters\.
134
+ .SS "Custom Stylesheets"
135
+ Writing custom stylesheets is straight\-forward\. The following core selectors allow targeting all generated elements:
136
+ .TP
137
+ \fB\.mp\fR
138
+ The manual page container element\. Present on full documents and document fragments\.
139
+ .TP
140
+ \fBbody#manpage\fR
141
+ Signifies that the page was fully\-generated by Ronn and contains a single manual page (\fB\.mp\fR element)\.
142
+ .TP
143
+ \fB\.man\-decor\fR
144
+ The three\-item heading and footing elements both have this class\.
145
+ .TP
146
+ \fB\.man\-head\fR, \fB\.man\-foot\fR
147
+ The heading and footing, respectively\.
148
+ .TP
149
+ \fB\.man\-title\fR
150
+ The main \fB<h1>\fR element\. Hidden by default unless the manual has no \fIname\fR or \fIsection\fR attributes\.
151
+ .P
152
+ See the builtin style sources \fIhttp://github\.com/apjanke/ronn\-ng/tree/master/lib/ronn/template\fR for examples\.
153
+ .SH "EXAMPLES"
154
+ Build roff and HTML output files and view the roff manpage using man(1):
155
+ .IP "" 4
156
+ .nf
157
+ $ ronn some\-great\-program\.1\.ronn
158
+ roff: some\-great\-program\.1
159
+ html: some\-great\-program\.1\.html
160
+ $ man \./some\-great\-program\.1
161
+ .fi
162
+ .IP "" 0
163
+ .P
164
+ Build only the roff manpage for all \fB\.ronn\fR files in the current directory:
165
+ .IP "" 4
166
+ .nf
167
+ $ ronn \-\-roff *\.ronn
168
+ roff: mv\.1
169
+ roff: ls\.1
170
+ roff: cd\.1
171
+ roff: sh\.1
172
+ .fi
173
+ .IP "" 0
174
+ .P
175
+ Build only the HTML manpage for a few files and apply the \fBdark\fR and \fBtoc\fR stylesheets:
176
+ .IP "" 4
177
+ .nf
178
+ $ ronn \-\-html \-\-style=dark,toc mv\.1\.ronn ls\.1\.ronn
179
+ html: mv\.1\.html
180
+ html: ls\.1\.html
181
+ .fi
182
+ .IP "" 0
183
+ .P
184
+ Generate roff output on standard output and write to file:
185
+ .IP "" 4
186
+ .nf
187
+ $ ronn <hello\.1\.ronn >hello\.1
188
+ .fi
189
+ .IP "" 0
190
+ .P
191
+ View a ronn file in the same way as man(1) without building a roff file:
192
+ .IP "" 4
193
+ .nf
194
+ $ ronn \-\-man hello\.1\.ronn
195
+ .fi
196
+ .IP "" 0
197
+ .P
198
+ Serve HTML manpages at \fIhttp://localhost:1207/\fR for all \fB*\.ronn\fR files under a \fBman/\fR directory:
199
+ .IP "" 4
200
+ .nf
201
+ $ ronn \-\-server man/*\.ronn
202
+ $ open http://localhost:1207/
203
+ .fi
204
+ .IP "" 0
205
+ .SH "ENVIRONMENT"
206
+ .TP
207
+ \fBRONN_MANUAL\fR
208
+ A default manual name to be displayed in the top\-center header area\. The \fB\-\-manual\fR option takes precedence over this value\.
209
+ .TP
210
+ \fBRONN_ORGANIZATION\fR
211
+ The default manual publishing group, organization, or individual to be displayed in the bottom\-left footer area\. The \fB\-\-organization\fR option takes precedence over this value\.
212
+ .TP
213
+ \fBRONN_DATE\fR
214
+ The default manual date in \fBYYYY\-MM\-DD\fR format\. Displayed in the bottom\-center footer area\. The \fB\-\-date\fR option takes precedence over this value\.
215
+ .TP
216
+ \fBRONN_STYLE\fR
217
+ A \fBPATH\fR\-style list of directories to check for stylesheets given to the \fB\-\-style\fR option\. Directories are separated by a \fI:\fR; blank entries are ignored\. Use \fI\.\fR to include the current working directory\.
218
+ .TP
219
+ \fBMANPAGER\fR
220
+ The paging program used for man pages\. This is typically set to something like 'less \-is'\.
221
+ .TP
222
+ \fBPAGER\fR
223
+ Used instead of \fBMANPAGER\fR when \fBMANPAGER\fR is not defined\.
224
+ .SH "COPYRIGHT"
225
+ Ronn\-NG is Copyright (C) 2009 Ryan Tomayko \fIhttp://tomayko\.com/about\fR and (C) 2018 Andrew Janke \fIhttps://apjanke\.net\fR
226
+ .SH "SEE ALSO"
227
+ groff(1), man(1), pandoc(1), manpages(5), markdown(7), roff(7), ronn\-format(7)