Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8c059df

Browse files
committed
doc: Clarify documentation page header customization code
The customization overrode the fast-forward code with its custom Uplink. So this is no longer really the fast-forward feature, so we mightas well turn that off and override the non-ff template instead, thusremoving one mental indirection.Fix the wrong column span declaration.Clarify and update the documentation.
1 parent8f09ca4 commit8c059df

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

‎doc/src/sgml/stylesheet.dsl

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@
193193
(define %use-id-as-filename% #t)
194194
(define %stylesheet% (if website-stylesheet"http://www.postgresql.org/media/css/docs.css""stylesheet.css"))
195195
(define %graphic-default-extension%"gif")
196-
(define %gentext-nav-use-ff% #t)
197196
(define %body-attr% '())
198197
(define ($generate-book-lot-list$) '())
199198
(define use-output-dir #t)
@@ -283,14 +282,17 @@
283282
(empty-sosofo))))
284283

285284

286-
;; Customization of header, add title attributes (overrides
287-
;; dbcommon.dsl)
288-
(define (default-header-nav-tbl-ff elemnode prev next prevsib nextsib)
285+
;; Customization of header
286+
;; - make title a link to the home page
287+
;; - add tool tips to Prev/Next links
288+
;; - add Up link
289+
;; (overrides dbnavig.dsl)
290+
(define (default-header-nav-tbl-noff elemnode prev next prevsib nextsib)
289291
(let* ((r1? (nav-banner? elemnode))
290292
(r1-sosofo (make element gi:"TR"
291293
(make element gi:"TH"
292294
attributes: (list
293-
(list"COLSPAN""5")
295+
(list"COLSPAN""4")
294296
(list"ALIGN""center")
295297
(list"VALIGN""bottom"))
296298
(make element gi:"A"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp