diff options
Diffstat (limited to 'data/doc/sisu/sisu_markup_samples')
-rw-r--r-- | data/doc/sisu/sisu_markup_samples/sisu_manual/Rantfile | 21 | ||||
-rw-r--r-- | data/doc/sisu/sisu_markup_samples/sisu_manual/_sisu/sisurc.yml | 12 |
2 files changed, 15 insertions, 18 deletions
diff --git a/data/doc/sisu/sisu_markup_samples/sisu_manual/Rantfile b/data/doc/sisu/sisu_markup_samples/sisu_manual/Rantfile index 2ca8ea19..bc3e2b5d 100644 --- a/data/doc/sisu/sisu_markup_samples/sisu_manual/Rantfile +++ b/data/doc/sisu/sisu_markup_samples/sisu_manual/Rantfile @@ -100,8 +100,6 @@ end @proj[:rant]="Rantfile for the darcs-buildpackage debianisation of #{@proj[:name]}" @dir[:proj]='sisu' @dir[:proj_eg]='sisu-examples' -@dir_sisu_description='/home/ralph/grotto/theatre/scribe/sisu/sisu-description/sisu' -@dir_sisu_document_samples='/home/ralph/grotto/theatre/scribe/sisu/sisu-document-samples/sisu' @dt=Date.today.to_s @t=Time.now day=if @t.day.to_s =~/^(\d)$/; "0#{$1}" @@ -158,7 +156,7 @@ def filelist_manpage files end def man_section(files_array,man_no='1') - path_man_sisu_output='../../../manuals_generated/sisu_manual/man' + path_man_sisu_output='../../../../../../sisu-doc/doc/manuals_generated/sisu_manual/man' path_man_sisu_package='../../../../../man' files_array.each do |x| y=x.gsub(/(\S+?)\.1$/,"\\1.#{man_no}") @@ -195,7 +193,7 @@ def files_manpage files end def manual - system("sisu -CC") + system('sisu -CC') files_array_docs.each do |x| puts "sisu -3sS #{x}" system("sisu -3sS #{x}") @@ -204,7 +202,7 @@ end def manual_rsync file_array=files_array_docs puts file_array.join(' ') - system("sisu -CC") + system('sisu -CC') file_array.each do |x| puts "sisu -3sS #{x}; sisu -R #{x} &" system("sisu -3sS #{x}; sisu -R #{x} & ") @@ -212,7 +210,7 @@ def manual_rsync end def manpages puts files_manpage - system("sisu -iv #{files_manpage}") + system("sisu -i #{files_manpage}") end def search_update file_array=filelist_search.scan(/\S+/) @@ -224,13 +222,12 @@ end def search_update_sisu file_array=filelist_search_sisu.scan(/\S+/) file_array.each do |x| - puts %{sisu -Dv --update #{x}} + puts "sisu -Dv --update #{x}" system("sisu -Dv --update #{x}") end end def clean system("rm *._sst footnote_conversion_errors.txt .*.swp") - #system("rm footnote_conversion_errors.txt .*.swp") end def zap(filelist) system("sisu -Z #{filelist}") @@ -278,6 +275,7 @@ end #% tasks desc 'generate and place all pages' task :gen => [:gen] +task :genlite => [:genlite] desc 'sisu manual' task :manual => [:manual] desc 'sisu man pages' @@ -303,6 +301,12 @@ task :gen do manpage_move clean end +task :genlite do + zap(files_all) + manual + manpages + clean +end task :manpages do manpages clean @@ -333,3 +337,4 @@ task :help do rant_help end __END__ +#path_man_sisu_output='../../../manuals_generated/sisu_manual/man' diff --git a/data/doc/sisu/sisu_markup_samples/sisu_manual/_sisu/sisurc.yml b/data/doc/sisu/sisu_markup_samples/sisu_manual/_sisu/sisurc.yml index 3b8a6b26..876c338a 100644 --- a/data/doc/sisu/sisu_markup_samples/sisu_manual/_sisu/sisurc.yml +++ b/data/doc/sisu/sisu_markup_samples/sisu_manual/_sisu/sisurc.yml @@ -24,10 +24,9 @@ #% presentation/web directory, main path and subdirectories (most subdirectories are created automatically based on markup directory name) webserv: url_root: 'http://sisudoc.org' #without dir stub, e.g. this dir would map to http://www.jus.uio.no/sisu - path: '/var/www' #either (i) / [full path from root] or (ii) ~/ [home] or (iii) ./ [pwd] or (iv) will be made from home + path: '../../../../../../sisu-doc/doc/manuals_generated' #url_root: 'http://www.jus.uio.no/sisu' #without dir stub, e.g. this dir would map to http://www.jus.uio.no/sisu - #path: '~/grotto/theatre/dbld/builds/sisu/sisu/data/doc/manuals_generated' # /var/www either (i) / [full path from root] or (ii) ~/ [home] or (iii) ./ [pwd] or (iv) will be made from home - ##path: '~/grotto/theatre/dbld/sisu-dev/sisu/data/doc/manuals_generated' # /var/www either (i) / [full path from root] or (ii) ~/ [home] or (iii) ./ [pwd] or (iv) will be made from home + #path: '/var/www' # [absolute or relative path] #images: 'sisu/image' #man: 'man' #php: 'php' @@ -65,13 +64,6 @@ flag: iii: '-NhwpoabxXyYv' # includes verbose; -m run by default iv: '-NhwpoabxXYDyv --import' # includes verbose; -m run by default v: '-NhwpoabxXYDyv --update' # includes verbose; -m run by default -#flag: -# color: false # colour off default -c is toggle, and will toggle colour on -# i: '-mhwpcyv' # adding colour and verbosity to defaults (note: another -c won't toggle off) -# ii: '-mhwpaocyv' # adding colour and verbosity to defaults (note: another -c won't toggle off) -# iii: '-mhwpaobxXcyv' # adding colour and verbosity to defaults (note: another -c won't toggle off) -# iv: '-mhwpaobxXDcyv --import' # adding colour and verbosity to defaults (note: another -c won't toggle off) -# v: '-mhwpaobxXDcyv --update' # adding colour and verbosity to defaults (note: another -c won't toggle off) #% papersize, (LaTeX/pdf) current values A4, US_letter, book_b5, book_a5, US_legal default: papersize: 'A4' |