Skip to content
Snippets Groups Projects
Commit 8c059dff authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

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.
parent 8f09ca43
No related branches found
No related tags found
No related merge requests found
...@@ -193,7 +193,6 @@ ...@@ -193,7 +193,6 @@
(define %use-id-as-filename% #t) (define %use-id-as-filename% #t)
(define %stylesheet% (if website-stylesheet "http://www.postgresql.org/media/css/docs.css" "stylesheet.css")) (define %stylesheet% (if website-stylesheet "http://www.postgresql.org/media/css/docs.css" "stylesheet.css"))
(define %graphic-default-extension% "gif") (define %graphic-default-extension% "gif")
(define %gentext-nav-use-ff% #t)
(define %body-attr% '()) (define %body-attr% '())
(define ($generate-book-lot-list$) '()) (define ($generate-book-lot-list$) '())
(define use-output-dir #t) (define use-output-dir #t)
...@@ -283,14 +282,17 @@ ...@@ -283,14 +282,17 @@
(empty-sosofo)))) (empty-sosofo))))
;; Customization of header, add title attributes (overrides ;; Customization of header
;; dbcommon.dsl) ;; - make title a link to the home page
(define (default-header-nav-tbl-ff elemnode prev next prevsib nextsib) ;; - 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)) (let* ((r1? (nav-banner? elemnode))
(r1-sosofo (make element gi: "TR" (r1-sosofo (make element gi: "TR"
(make element gi: "TH" (make element gi: "TH"
attributes: (list attributes: (list
(list "COLSPAN" "5") (list "COLSPAN" "4")
(list "ALIGN" "center") (list "ALIGN" "center")
(list "VALIGN" "bottom")) (list "VALIGN" "bottom"))
(make element gi: "A" (make element gi: "A"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment