From: Peter Eisentraut Date: Fri, 21 Feb 2014 02:41:24 +0000 (-0500) Subject: doc: Clarify documentation page header customization code X-Git-Tag: REL9_4_BETA1~438 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8c059dffd83384fa0c2fe6050429d601355bc3af;p=thirdparty%2Fpostgresql.git doc: Clarify documentation page header customization code The customization overrode the fast-forward code with its custom Up link. So this is no longer really the fast-forward feature, so we might as well turn that off and override the non-ff template instead, thus removing one mental indirection. Fix the wrong column span declaration. Clarify and update the documentation. --- diff --git a/doc/src/sgml/stylesheet.dsl b/doc/src/sgml/stylesheet.dsl index 29e885d1c8c..b4c8f1fd5af 100644 --- a/doc/src/sgml/stylesheet.dsl +++ b/doc/src/sgml/stylesheet.dsl @@ -193,7 +193,6 @@ (define %use-id-as-filename% #t) (define %stylesheet% (if website-stylesheet "http://www.postgresql.org/media/css/docs.css" "stylesheet.css")) (define %graphic-default-extension% "gif") -(define %gentext-nav-use-ff% #t) (define %body-attr% '()) (define ($generate-book-lot-list$) '()) (define use-output-dir #t) @@ -283,14 +282,17 @@ (empty-sosofo)))) -;; Customization of header, add title attributes (overrides -;; dbcommon.dsl) -(define (default-header-nav-tbl-ff elemnode prev next prevsib nextsib) +;; Customization of header +;; - make title a link to the home page +;; - add tool tips to Prev/Next links +;; - add Up link +;; (overrides dbnavig.dsl) +(define (default-header-nav-tbl-noff elemnode prev next prevsib nextsib) (let* ((r1? (nav-banner? elemnode)) (r1-sosofo (make element gi: "TR" (make element gi: "TH" attributes: (list - (list "COLSPAN" "5") + (list "COLSPAN" "4") (list "ALIGN" "center") (list "VALIGN" "bottom")) (make element gi: "A"