aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-06-06 22:47:59 -0400
committerRalph Amissah <ralph@amissah.com>2012-06-06 22:48:12 -0400
commit1e089ff9864237be31ca6cff015d2a2bf8736555 (patch)
treef85e150ed03b2b753fd5e365ff9bc85c99dbfc62
parentv3: screen reporting, ansi colors, cosmetic (diff)
v3: html, excludes (options) --exc-html-top-band, touch
* html (toc & scroll), (html_segments, concordance,) exclude top band sisu --exc-top-band --html --concordance filename.sst
-rw-r--r--data/doc/sisu/CHANGELOG_v33
-rw-r--r--lib/sisu/v3/html.rb8
2 files changed, 9 insertions, 2 deletions
diff --git a/data/doc/sisu/CHANGELOG_v3 b/data/doc/sisu/CHANGELOG_v3
index d3ed60d4..2a395864 100644
--- a/data/doc/sisu/CHANGELOG_v3
+++ b/data/doc/sisu/CHANGELOG_v3
@@ -25,6 +25,9 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_3.2.12.orig.tar.xz
* v3: shared_images, fix
+* v3: excludes --exc-html-
+ * html (toc & scroll), (html_segments, concordance,) exclude top band, touch
+ sisu --exc-top-band --html --concordance filename.sst
v3: screen reporting, ansi colors, cosmetic
* Rake, Rant installer sisu installer require ruby >= 1.9.3
diff --git a/lib/sisu/v3/html.rb b/lib/sisu/v3/html.rb
index a5c1edb1..100916ff 100644
--- a/lib/sisu/v3/html.rb
+++ b/lib/sisu/v3/html.rb
@@ -530,7 +530,9 @@ WOK
@segtoc << format_head_toc.head << ads.div.major
toc_shared << format_head_toc.toc_head_escript if SiSU_HTML_Format::HeadToc.method_defined? :toc_head_escript
@segtoc << format_head_toc.toc_head_escript if SiSU_HTML_Format::HeadToc.method_defined? :toc_head_escript
- toc_shared << format_head_toc.scroll_head_navigation_band
+ if @make.build.html_top_band?
+ toc_shared << format_head_toc.scroll_head_navigation_band
+ end
if defined? @md.rights.all
rights=format_head_toc.rights.all
rights=SiSU_HTML_Tune::CleanHTML.new(rights).clean
@@ -539,7 +541,9 @@ WOK
prefix_b=format_head_toc.notes.prefix_b
prefix_b=SiSU_HTML_Tune::CleanHTML.new(prefix_b).clean
end
- @segtoc << format_head_toc.seg_head_navigation_band
+ if @make.build.html_top_band?
+ @segtoc << format_head_toc.seg_head_navigation_band
+ end
toc_shared << format_head_toc.scroll_head_title_banner_open
@segtoc << format_head_toc.seg_head_title_banner_open
tmp_head=nil