aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2015-04-23 15:08:22 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2015-04-23 15:08:22 +0300
commit353839b7a29a53aa754b98b02ede449c737a873a (patch)
tree77a151bf81a5185cce0112f5f8d2a2c5a2570e79
parent1d0aa74665d44e84bba8070a49a74ab7cd1f52d0 (diff)
downloadidest-353839b7a29a53aa754b98b02ede449c737a873a.tar.gz
idest-353839b7a29a53aa754b98b02ede449c737a873a.tar.bz2
Fix doc generation.
Default Config file applied to all output formats, which is wrong. Use a dedicated configuration file for html output formats, and defaults for the rest. * doc/Makefile.am (GENDOCS): Add html-specific configuration file. * doc/Config: Rename to doc/html.init.
-rw-r--r--doc/Makefile.am4
-rw-r--r--doc/html.init (renamed from doc/Config)9
2 files changed, 6 insertions, 7 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 6aa3dee..ecc3fb8 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -24,7 +24,7 @@ EXTRA_DIST = \
24clean-local: 24clean-local:
25 rm -rf manual 25 rm -rf manual
26 26
27GENDOCS=$(srcdir)/gendocs.sh 27GENDOCS=$(srcdir)/gendocs.sh --no-copy-images --html '--init-file=$(abs_srcdir)/html.init'
28 28
29TEXI2DVI=texi2dvi -t '@set $(RENDITION)' 29TEXI2DVI=texi2dvi -t '@set $(RENDITION)'
30 30
@@ -35,7 +35,7 @@ manual:
35 TEXINPUTS=$(srcdir):$(top_srcdir)/build-aux:$(TEXINPUTS) \ 35 TEXINPUTS=$(srcdir):$(top_srcdir)/build-aux:$(TEXINPUTS) \
36 MAKEINFO="$(MAKEINFO) $(MAKEINFOFLAGS)" \ 36 MAKEINFO="$(MAKEINFO) $(MAKEINFOFLAGS)" \
37 TEXI2DVI="$(TEXI2DVI) -t @finalout" \ 37 TEXI2DVI="$(TEXI2DVI) -t @finalout" \
38 $(GENDOCS) --no-copy-images $(PACKAGE) '$(PACKAGE_NAME) manual' 38 $(GENDOCS) $(PACKAGE) '$(PACKAGE_NAME) manual'
39 39
40manual.tar.bz2: manual 40manual.tar.bz2: manual
41 tar cfj manual.tar.bz2 manual 41 tar cfj manual.tar.bz2 manual
diff --git a/doc/Config b/doc/html.init
index f0da661..5157448 100644
--- a/doc/Config
+++ b/doc/html.init
@@ -77,12 +77,10 @@ set_from_init_file('PROGRAM_NAME_IN_FOOTER',1);
77set_from_init_file('DEFAULT_RULE', ''); 77set_from_init_file('DEFAULT_RULE', '');
78set_from_init_file('BIG_RULE', ''); 78set_from_init_file('BIG_RULE', '');
79 79
80# Turn off footer buttons in section split 80# Turn off navigation bars at the bottom of each section in chapter split mode,
81set_from_init_file('SECTION_FOOTER_BUTTONS', undef); 81# or subsection in section split mode.
82#set_from_init_file('SECTION_BUTTONS', undef);
83# Turn off navigation bars at the bottom of each section in chapter split mode
84set_from_init_file('HEADERS', undef) 82set_from_init_file('HEADERS', undef)
85 if (get_conf('SPLIT') and (get_conf('SPLIT') eq 'chapter')); 83 if ((get_conf('SPLIT') eq 'chapter') or (get_conf('SPLIT') eq 'section'));
86# Use navigation icons 84# Use navigation icons
87 85
88set_from_init_file('ICONS', 1); 86set_from_init_file('ICONS', 1);
@@ -154,6 +152,7 @@ my @gray_buttons = (\&gray_document_title, ' ',
154set_from_init_file('SECTION_BUTTONS', \@gray_buttons); 152set_from_init_file('SECTION_BUTTONS', \@gray_buttons);
155set_from_init_file('CHAPTER_BUTTONS', \@gray_buttons); 153set_from_init_file('CHAPTER_BUTTONS', \@gray_buttons);
156set_from_init_file('NODE_FOOTER_BUTTONS', \@gray_buttons); 154set_from_init_file('NODE_FOOTER_BUTTONS', \@gray_buttons);
155set_from_init_file('SECTION_FOOTER_BUTTONS', \@gray_buttons);
157set_from_init_file('MISC_BUTTONS', 156set_from_init_file('MISC_BUTTONS',
158 [\&gray_document_title, 157 [\&gray_document_title,
159 'Contents', 158 'Contents',

Return to:

Send suggestions and report system problems to the System administrator.