pgsql: Add Up/Home link to the top of the HTML doc output.
pgsql: Add Up/Home link to the top of the HTML doc output.
От:
Bruce Momjian <bruce@momjian.us>
Дата:
Add Up/Home link to the top of the HTML doc output. Backpatch to 9.0.X and 9.1.X. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/b8691d838be0d9a85fa9ede6a931c4f194895c36 Modified Files -------------- doc/src/sgml/stylesheet.dsl | 32 +++++--------------------------- 1 files changed, 5 insertions(+), 27 deletions(-)
Re: pgsql: Add Up/Home link to the top of the HTML doc output.
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Bruce Momjian writes: > Add Up/Home link to the top of the HTML doc output. This patch has broken the docs build, both on my Fedora 14 machine and at developer.postgresql.org: http://developer.postgresql.org/pgdocs/postgres/buildlog.html regards, tom lane
Re: pgsql: Add Up/Home link to the top of the HTML doc output.
От:
Bruce Momjian <bruce@momjian.us>
Дата:
Tom Lane wrote:
> Bruce Momjian writes:
> > Add Up/Home link to the top of the HTML doc output.
>
> This patch has broken the docs build, both on my Fedora 14 machine and
> at developer.postgresql.org:
> http://developer.postgresql.org/pgdocs/postgres/buildlog.html
OK, odd I didn't even see a warning from my build. Anyway, I think the
problem is that I modified the parameters of the header, which was
unnecessary and obviously throws an error on some SGML versions.
Patch attached and applied to relevant versions.
--
Bruce Momjian http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
diff --git a/doc/src/sgml/stylesheet.dsl b/doc/src/sgml/stylesheet.dsl
new file mode 100644
index 2c18dab..232fa58
*** a/doc/src/sgml/stylesheet.dsl
--- b/doc/src/sgml/stylesheet.dsl
***************
*** 284,290 ****
;; Customization of header, add title attributes (overrides
;; dbcommon.dsl)
! (define (default-header-nav-tbl-ff elemnode prev next)
(let* ((r1? (nav-banner? elemnode))
(r1-sosofo (make element gi: "TR"
(make element gi: "TH"
--- 284,290 ----
;; Customization of header, add title attributes (overrides
;; dbcommon.dsl)
! (define (default-header-nav-tbl-ff elemnode prev next prevsib nextsib)
(let* ((r1? (nav-banner? elemnode))
(r1-sosofo (make element gi: "TR"
(make element gi: "TH"