[DRE-commits] [nanoc] 02/07: add a manpage for nanoc

Cédric Boutillier boutil at moszumanska.debian.org
Fri Feb 14 11:17:51 UTC 2014


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository nanoc.

commit 0a5f0f4e40d49c8439cbfa6f0d6befacc5a3ec70
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Feb 11 19:30:23 2014 +0100

    add a manpage for nanoc
---
 debian/nanoc.1.pod    | 123 ++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/nanoc.manpages |   1 +
 debian/rules          |   9 ++++
 3 files changed, 133 insertions(+)

diff --git a/debian/nanoc.1.pod b/debian/nanoc.1.pod
new file mode 100644
index 0000000..1c82cc2
--- /dev/null
+++ b/debian/nanoc.1.pod
@@ -0,0 +1,123 @@
+=encoding UTF-8
+
+=head1 NAME
+
+nanoc - nanoc, a static site compiler written in Ruby
+
+=head1 SYNOPSIS
+
+B<nanoc> I<command> [I<options>] [I<arguments>]
+
+=head1 DESCRIPTION
+
+B<nanoc> is a static site generator, fit for building anything from a small
+personal blog to a large corporate web site. It can transform content
+from one format (e.g. Haml or Markdown) into another (usually HTML) and
+lay out pages so that the site's look and feel is consistent across all
+pages.
+
+
+
+=head1 COMMANDS
+
+=over
+
+=item B<autocompile>
+
+start the autocompiler
+
+=item B<check>
+
+run issue checks
+
+=item B<compile>
+
+compile items of this site
+
+=item B<create-item>
+
+create an item
+
+=item B<create-layout>
+
+create a layout
+
+=item B<create-site>
+
+create a site
+
+=item B<deploy>
+
+deploy the compiled site
+
+=item B<help>
+
+show help
+
+=item B<prune>
+
+remove files not managed by nanoc from the output directory
+
+=item B<show-data>
+
+show data in this site
+
+=item B<show-plugins>
+
+show all available plugins
+
+=item B<show-rules>
+
+describe the rules for each item
+
+=item B<update>
+
+update the data stored by the data source to a newer version
+
+=item B<view>
+
+start the web server that serves static files
+
+=item B<watch>
+
+start the watcher
+
+=back
+
+=head1 OPTIONS
+
+=over
+
+=item B<-C>, B<--no-color>
+
+disable color
+
+=item B<-V>, B<--verbose>
+
+make nanoc output more detailed
+
+=item B<-d>, B<--debug>
+
+enable debugging
+
+=item B<-h>, B<--help>
+
+show the help message and quit
+
+=item B<-l>, B<--color>
+
+enable color
+
+=item B<-v>, B<--version>
+
+show version information and quit
+
+=item B<-w>, B<--warn>
+
+enable warningsa
+
+=back
+
+=head1 AUTHORS
+
+B<nanoc> has been developed by Denis Defreyne <denis.defreyne at stoneship.org>.
diff --git a/debian/nanoc.manpages b/debian/nanoc.manpages
new file mode 100644
index 0000000..e4ba9b7
--- /dev/null
+++ b/debian/nanoc.manpages
@@ -0,0 +1 @@
+man/nanoc.1
diff --git a/debian/rules b/debian/rules
index a5e7dc8..02ca142 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,12 @@
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_installman:
+	mkdir man/
+	pod2man --center "" --release "" --name NANOC --utf8 debian/nanoc.1.pod man/nanoc.1
+	dh_installman
+
+override_dh_clean:
+	dh_clean
+	rm -rf man/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/nanoc.git



More information about the Pkg-ruby-extras-commits mailing list