From a3b76dd9ecd4f140dcaa8d3f85b6197bb25f4f3b Mon Sep 17 00:00:00 2001 From: Matteo Cypriani Date: Fri, 11 Jan 2013 16:21:38 -0500 Subject: [PATCH] [doc] Fix preproc-man & owlps.t2t --- doc/owlps.t2t | 11 +++++------ doc/preproc-man.sh | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/doc/owlps.t2t b/doc/owlps.t2t index b9e4465..3d30f17 100644 --- a/doc/owlps.t2t +++ b/doc/owlps.t2t @@ -7,15 +7,14 @@ OwlPS {{OWLPS_VERSION}} % Man title & section: %!postproc(man): "^(\.TH.*) 1 " ".TH owlps 7 " % Fix .TH, add NAME section and TABLE OF CONTENTS title: -%!postproc(man): "^(\.TH.*)$" "\1 OwlPS's\ User\ Manual\n.SH NAME\nowlps - Introduction to the Owl Positioning System\n\n.SH TABLE OF CONTENTS" +%!postproc(man): "^(\.TH.*)$" "\1 OwlPS\ User\ Manual\n.SH NAME\nowlps - Introduction to the Owl Positioning System\n\n.SH TABLE OF CONTENTS" % Add the table of contents: %!options(man): --toc % Man "links": %!preproc(man): "(owlps-architecture)\.t2t" "**\1**(7)" %!preproc(man): "(owlps-deployment)\.t2t" "**\1**(7)" -%!preproc(man): "(owlps-deployment)\.t2t" "**\1**(7)" %!preproc(man): "(owlps-[^ ]*)\.t2t" "**\1**(1)" -%!preproc(man): "(owlps-[^ ]*\.h)" "**\1**(3)" +%!preproc(man): "(owlps[^ ]*\.h)" "**\1**(3)" %%% @@ -108,9 +107,9 @@ revision number is not mandatory, but it is allowed. For example: ++ Commands' user manuals ++ - owlps-client.t2t -- owlps-listenerd.t2t -- owlps-aggregatord.t2t -- owlps-positionerd.t2t +- owlps-listener.t2t +- owlps-aggregator.t2t +- owlps-positioner.t2t ++ Developping with OwlPS libraries ++ diff --git a/doc/preproc-man.sh b/doc/preproc-man.sh index 4aee084..368f8f5 100755 --- a/doc/preproc-man.sh +++ b/doc/preproc-man.sh @@ -6,4 +6,4 @@ # Modifications done: # - Turns uppercase the first-level titles. -sed -r 's/^([+=])([^+=].*)/\1\U\2/' $@ | ./preproc.sh +sed -r 's/^([+=])([^+=].*)\1/\1\U\2\1/' $@ | ./preproc.sh