From eae9bb93fdd2e677c8882bcc96d42b804ac2bafe Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 18 Nov 2012 21:50:04 -0500 Subject: v4: documentation; markup samples & help --- lib/sisu/v4/manpage.rb | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) (limited to 'lib/sisu/v4/manpage.rb') diff --git a/lib/sisu/v4/manpage.rb b/lib/sisu/v4/manpage.rb index 4d293d92..34df23cd 100644 --- a/lib/sisu/v4/manpage.rb +++ b/lib/sisu/v4/manpage.rb @@ -174,21 +174,26 @@ GSUB @manpage[:tail] <<< +.SH HOMEPAGE + More information about SiSU can be found at or .TP -at: <#{vz.url_site}> +.SH SOURCE + .TP -#{sc} -.TP -* #{generator} -.TP -* #{rubyv} -.TP -* #{lastdone} -.TP -* SiSU #{vz.url_sisu} +.SH AUTHOR + SiSU is written by Ralph Amissah WOK end def manpage_structure(dob='',hname='') #% Used to extract the structure of a document @@ -254,10 +259,10 @@ WOK @data_mod,@endnotes,@level,@cont,@copen,@manpage_contents_close=Array.new(6){[]} (0..6).each { |x| @cont[x]=@level[x]=false } (4..6).each { |x| @manpage_contents_close[x]='' } - manpage_tail #($1,$2) + #manpage_tail #stop call table_message='[table omitted, see other document formats]' fix=[] - manpage_metadata + #manpage_metadata data.each do |dob| if dob.is==:comment \ || dob.is==:heading_insert -- cgit v1.2.3