Re: pgsql: Add Up/Home link to the top of the HTML doc output. - Mailing list pgsql-committers

From Bruce Momjian
Subject Re: pgsql: Add Up/Home link to the top of the HTML doc output.
Date
Msg-id 201110121806.p9CI6Ki18325@momjian.us
Whole thread Raw
In response to Re: pgsql: Add Up/Home link to the top of the HTML doc output.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> 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  <bruce@momjian.us>        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"

pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: Modify up/home macro to match standard parameter list; fixes do
Next
From: Tom Lane
Date:
Subject: pgsql: Throw a useful error message if an extension script file is fed