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/help.rb | 308 +++++++++++++++++++++---------------------------- lib/sisu/v4/manpage.rb | 33 +++--- 2 files changed, 153 insertions(+), 188 deletions(-) (limited to 'lib') diff --git a/lib/sisu/v4/help.rb b/lib/sisu/v4/help.rb index 0ab87fdd..391e722d 100644 --- a/lib/sisu/v4/help.rb +++ b/lib/sisu/v4/help.rb @@ -158,7 +158,7 @@ module SiSU_Help end end def summary - print < old form end def example help_markup end def example_v1 - print < <#{@cX.blue}http://www.gnu.org/licenses/gpl.html#{@cX.off}> - <#{@cX.blue}http://www.jus.uio.no/sisu/gpl.fsf#{@cX.off}> * SiSU uses: * Standard SiSU markup syntax, @@ -1806,20 +1765,21 @@ WOK * Standard SiSU object citation numbering and system * Hompages: - <#{@cX.blue}http://www.jus.uio.no/sisu#{@cX.off}> <#{@cX.blue}http://www.sisudoc.org#{@cX.off}> + <#{@cX.blue}http://www.jus.uio.no/sisu#{@cX.off}> * Download: - <#{@cX.blue}http://www.jus.uio.no/sisu/SiSU/download.html#{@cX.off}> + <#{@cX.blue}http://sources.sisudoc.org#{@cX.off}> + <#{@cX.blue}http://www.jus.uio.no/sisu/en/html/SiSU/download.html#{@cX.off}> Ralph Amissah <#{@cX.blue}ralph@amissah.com#{@cX.off}> <#{@cX.blue}ralph.amissah@gmail.com#{@cX.off}> -WOK + WOK end def standards - print < More information to be provided later. @@ -1839,10 +1799,10 @@ More information to be provided later. * Ralph Amissah ralph@amissah.com Ralph Amissah ralph.amissah@gmail.com -WOK + WOK end def conversion - print < +.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