ronn-ng 0.10.1.pre2 → 0.10.1.pre3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ronn.rb +1 -1
- data/man/index.html +4 -3
- data/man/index.txt +1 -0
- data/man/ronn-format.7 +2 -2
- data/man/ronn.1 +20 -15
- data/man/ronn.1.ronn +2 -2
- data/ronn-ng.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4431d2e6f481e845cf8d537861b4727d1be790186d81e8a574bda9d8b98ac662
|
4
|
+
data.tar.gz: 5490717221cd544bc676c69b3776824a127d7251cd0a11f6df5f9916932e0206
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d02713bcb099fcd2d0ba855f54930b9b7fc268f106d3394c746033c2568813185e86cc0338d047d8d7859263b18271d88f82ae26185eaf8f3d0e3848b34fc2a1
|
7
|
+
data.tar.gz: 2abd13e002ffa4390a35e444daedfa99d00a3d373389b243423606461be763fab8c1dfeaed30e7034f36b9b2262a4560b171a794d056af3bf747c32353ac372d
|
data/lib/ronn.rb
CHANGED
data/man/index.html
CHANGED
@@ -66,13 +66,14 @@
|
|
66
66
|
<p class='also'>
|
67
67
|
<a class='man-ref' href="https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man5/manpages.5.html">manpages(5)</a>,
|
68
68
|
<a class='man-ref' href="https://daringfireball.net/projects/markdown/syntax">markdown(7)</a>,
|
69
|
-
<a class='man-ref' href="https://
|
69
|
+
<a class='man-ref' href="https://man7.org/linux/man-pages/man1/man.1.html">man(1)</a>,
|
70
70
|
<a class='man-ref' href="https://man7.org/linux/man-pages/man7/roff.7.html">roff(7)</a>,
|
71
71
|
<a class='man-ref' href="https://man7.org/linux/man-pages/man1/groff.1.html">groff(1)</a>,
|
72
|
-
<a class='man-ref' href="https://mustache.github.io/mustache.5.html">mustache(5)</a
|
72
|
+
<a class='man-ref' href="https://mustache.github.io/mustache.5.html">mustache(5)</a>,
|
73
|
+
<a class='man-ref' href="https://linux.die.net/man/1/pandoc">pandoc(1)</a>
|
73
74
|
</p>
|
74
75
|
|
75
|
-
<p class='copy'>Copyright © 2010 Ryan Tomayko, © 2018, 2019, 2020, 2022 Andrew Janke, © 2022 Takuya Noguchi</p>
|
76
|
+
<p class='copy'>Copyright © 2010 Ryan Tomayko, © 2018, 2019, 2020, 2022, 2023 Andrew Janke, © 2022 Takuya Noguchi</p>
|
76
77
|
</div>
|
77
78
|
</body>
|
78
79
|
</html>
|
data/man/index.txt
CHANGED
@@ -13,3 +13,4 @@ fork(2) https://man7.org/linux/man-pages/man2/fork.2.html
|
|
13
13
|
man(1) https://man7.org/linux/man-pages/man1/man.1.html
|
14
14
|
markdown(7) https://daringfireball.net/projects/markdown/syntax
|
15
15
|
manpages(5) https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man5/manpages.5.html
|
16
|
+
pandoc(1) https://linux.die.net/man/1/pandoc
|
data/man/ronn-format.7
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
|
-
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1.
|
3
|
-
.TH "RONN\-FORMAT" "7" "December 2022" "Ronn-NG 0.10.1.
|
2
|
+
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1.pre3
|
3
|
+
.TH "RONN\-FORMAT" "7" "December 2022" "Ronn-NG 0.10.1.pre3" "Ronn Manual"
|
4
4
|
.SH "NAME"
|
5
5
|
\fBronn\-format\fR \- manual authoring format based on Markdown
|
6
6
|
.SH "SYNOPSIS"
|
data/man/ronn.1
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
|
-
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1.
|
3
|
-
.TH "RONN" "1" "January 2023" "Ronn-NG 0.10.1.
|
2
|
+
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1.pre3
|
3
|
+
.TH "RONN" "1" "January 2023" "Ronn-NG 0.10.1.pre3" "Ronn Manual"
|
4
4
|
.SH "NAME"
|
5
5
|
\fBronn\fR \- convert markdown files to manpages
|
6
6
|
.SH "SYNOPSIS"
|
@@ -31,23 +31,28 @@ Source files must be in UTF\-8 encoding, or the encoding specified by the \fB\-E
|
|
31
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
32
|
.SH "OPTIONS"
|
33
33
|
These options control whether output is written to file(s), standard output, or directly to a man pager\.
|
34
|
-
.
|
35
|
-
\fB\-m\fR, \fB\-\-man\fR
|
36
|
-
|
37
|
-
|
34
|
+
.TP
|
35
|
+
\fB\-m\fR, \fB\-\-man\fR
|
36
|
+
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\.
|
37
|
+
.TP
|
38
|
+
\fB\-S\fR, \fB\-\-server\fR
|
39
|
+
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
40
|
.IP
|
39
41
|
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
42
|
.IP
|
41
43
|
\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
|
-
.
|
43
|
-
\fB\-\-port\fR=\fIport\fR
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
.
|
49
|
-
\fB\-
|
50
|
-
|
44
|
+
.TP
|
45
|
+
\fB\-\-port\fR=\fIport\fR
|
46
|
+
When used with \fB\-S\fR/\fB\-\-server\fR, runs the server at the specified port instead of the default port 1207\.
|
47
|
+
.TP
|
48
|
+
\fB\-\-pipe\fR
|
49
|
+
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\.
|
50
|
+
.TP
|
51
|
+
\fB\-o\fR=\fIdirectory\fR, \fB\-\-output\-dir\fR=\fIdirectory\fR
|
52
|
+
Write generated files to the specified directory instead of the default location\.
|
53
|
+
.TP
|
54
|
+
\fB\-E\fR=\fIencoding\fR, \fB\-\-encoding\fR=\fIencoding\fR
|
55
|
+
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\.
|
51
56
|
.P
|
52
57
|
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
58
|
.TP
|
data/man/ronn.1.ronn
CHANGED
@@ -70,7 +70,7 @@ directly to a man pager.
|
|
70
70
|
and styling manuals. It is in no way recommended as a general purpose web
|
71
71
|
server.*
|
72
72
|
|
73
|
-
* `--port`=<port
|
73
|
+
* `--port`=<port>:
|
74
74
|
When used with `-S`/`--server`, runs the server at the specified port instead
|
75
75
|
of the default port 1207.
|
76
76
|
|
@@ -83,7 +83,7 @@ directly to a man pager.
|
|
83
83
|
Write generated files to the specified directory instead of the default
|
84
84
|
location.
|
85
85
|
|
86
|
-
* `-E`=<encoding>, `--encoding`=<encoding
|
86
|
+
* `-E`=<encoding>, `--encoding`=<encoding>:
|
87
87
|
Specify the encoding that input files are in. Default is UTF-8, regardless
|
88
88
|
of user's locale settings. Input sent to STDIN is always treated as UTF-8,
|
89
89
|
regardless of whether `-E` is passed.
|
data/ronn-ng.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ronn-ng
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.1.
|
4
|
+
version: 0.10.1.pre3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Janke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kramdown
|