Skip to content

Commit

Permalink
rebuild manual
Browse files Browse the repository at this point in the history
  • Loading branch information
rtomayko committed Jun 17, 2010
1 parent b67d494 commit 51b60d1
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 19 deletions.
6 changes: 5 additions & 1 deletion .gitignore
@@ -1,3 +1,7 @@
/man/*.html
/pkg
/test/*.wrong
/test/*.wrong
/man/*.1
/man/*.5
/man/*.7
/man/*.markdown
6 changes: 3 additions & 3 deletions Rakefile
Expand Up @@ -45,9 +45,9 @@ end
desc 'Build the manual'
task :man => :environment do
require 'ronn'
ENV['RONN_MANUAL'] = "Ronn #{Ronn::VERSION}"
ENV['RONN_ORGANIZATION'] = Ronn::REV
sh "ronn -w -s toc man/*.ronn"
ENV['RONN_MANUAL'] = "Ronn #{Ronn::version}"
ENV['RONN_ORGANIZATION'] = Ronn::revision
sh "ronn -w -s toc -r5 --markdown man/*.ronn"
end

desc 'Publish to github pages'
Expand Down
4 changes: 2 additions & 2 deletions bin/ronn
Expand Up @@ -191,9 +191,9 @@ ARGV.each do |file|
path = doc.path_for(format)
case format
when 'html'
warn "%5s: %-48s%15s" % [format, path, '+' + doc.styles.join(',')]
warn "%9s: %-43s%15s" % [format, path, '+' + doc.styles.join(',')]
when 'roff', 'html_fragment', 'markdown'
warn "%5s: %-48s" % [format, path]
warn "%9s: %-43s" % [format, path]
end

output = doc.convert(format)
Expand Down
2 changes: 1 addition & 1 deletion lib/ronn.rb
Expand Up @@ -45,6 +45,6 @@ def self.revision
end

# value generated by: rake rev
REV = '0.6.6-2-g13c7ff4'
REV = '0.6.6-36-gb67d494'
VERSION = version
end
14 changes: 9 additions & 5 deletions man/ronn.1
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.6.6
.\" http://github.com/rtomayko/ronn/
.\" generated with Ronn/v0.6.42
.\" http://github.com/rtomayko/ronn/tree/0.6.6-36-gb67d494
.
.TH "RONN" "1" "June 2010" "0.6-6-gd7645f2" "Ronn 0.6.6"
.TH "RONN" "1" "June 2010" "0.6.6-36-gb67d494" "Ronn 0.6.42"
.
.SH "NAME"
\fBronn\fR \- convert markdown files to manpages
Expand Down Expand Up @@ -117,6 +117,10 @@ Show troff warnings on standard error when performing roff conversion\. Warnings
\fB\-W\fR
Disable troff warnings\. Warnings are disabled by default\. This option can be used to revert the effect of a previous \fB\-w\fR argument\.
.
.TP
\fB\-v\fR, \fB\-\-version\fR
Show ronn version and exit\.
.
.SH "STYLES"
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\.
.
Expand Down Expand Up @@ -287,7 +291,7 @@ Used instead of \fBMANPAGER\fR when \fBMANPAGER\fR is not defined\.
\fBRonn\fR is written in Ruby and depends on hpricot and rdiscount, extension libraries that are non\-trivial to install on some systems\. A more portable version of this program would be welcome\.
.
.SH "COPYRIGHT"
Ronn is Copyright (C) 2009 Ryan Tomayko <tomayko\.com/about>
Ronn is Copyright (C) 2009 Ryan Tomayko \fIhttp://tomayko\.com/about\fR
.
.SH "SEE ALSO"
ronn(5), (7), manpages(5), man(1), roff(7), groff(1), markdown(7)
ronn(5), manpages(5), man(1), roff(7), groff(1), markdown(7)
6 changes: 3 additions & 3 deletions man/ronn.5
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.6.6
.\" http://github.com/rtomayko/ronn/
.\" generated with Ronn/v0.6.42
.\" http://github.com/rtomayko/ronn/tree/0.6.6-36-gb67d494
.
.TH "RONN" "5" "June 2010" "0.6-6-gd7645f2" "Ronn 0.6.6"
.TH "RONN" "5" "June 2010" "0.6.6-36-gb67d494" "Ronn 0.6.42"
.
.SH "NAME"
\fBronn\fR \- markdown\-based text format for authoring manpages
Expand Down
8 changes: 4 additions & 4 deletions man/ronn.7
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.6.6
.\" http://github.com/rtomayko/ronn/
.\" generated with Ronn/v0.6.42
.\" http://github.com/rtomayko/ronn/tree/0.6.6-36-gb67d494
.
.TH "RONN" "7" "June 2010" "0.6-6-gd7645f2" "Ronn 0.6.6"
.TH "RONN" "7" "June 2010" "0.6.6-36-gb67d494" "Ronn 0.6.42"
.
.SH "NAME"
\fBronn\fR \- the opposite of roff
Expand Down Expand Up @@ -165,4 +165,4 @@ Ronn is Copyright (C) 2009 Ryan Tomayko \fIhttp://tomayko\.com/about\fR
See the file COPYING for information of licensing and distribution\.
.
.SH "SEE ALSO"
ronn(1) \fIhttp://rtomayko\.github\.com/ronn/ronn\.1\fR, ronn(5) \fIhttp://rtomayko\.github\.com/ronn/ronn\.5\fR, markdown(5)
ronn(1) \fIhttp://rtomayko\.github\.com/ronn/ronn\.1\fR, ronn(5) \fIhttp://rtomayko\.github\.com/ronn/ronn\.5\fR, markdown(7)

0 comments on commit 51b60d1

Please sign in to comment.