Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fphIj-0007p2-H1 for pgsql-docs@arkaria.postgresql.org; Tue, 14 Aug 2018 21:56:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fphIg-0004CA-8d for pgsql-docs@arkaria.postgresql.org; Tue, 14 Aug 2018 21:56:26 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fphIf-0004C2-JE for pgsql-docs@lists.postgresql.org; Tue, 14 Aug 2018 21:56:25 +0000 Received: from mail-oi0-x235.google.com ([2607:f8b0:4003:c06::235]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fphIc-00053D-5v for pgsql-docs@lists.postgresql.org; Tue, 14 Aug 2018 21:56:23 +0000 Received: by mail-oi0-x235.google.com with SMTP id b16-v6so36419607oic.9 for ; Tue, 14 Aug 2018 14:56:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salesforce.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=zwZorWpJEV9xueBovA1rWmg7RrgWr2bzH95DO17Gnuc=; b=Z6mj5hyLde6Kso8pa5xap7c3F6qbFVNJIY5OD3kml/uRMnaAzTOU/rGo/s7AR/FnEO bB4qrmun7nBn+4FNQu8ELlQhAWu5OXv9ukkvDw/PhsTEK8ohNQAzvd3p3vEvG9Yh7sPj 8y5DV6EYBD0j2BprN+pcaB58H6xz11eu7lKkA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=zwZorWpJEV9xueBovA1rWmg7RrgWr2bzH95DO17Gnuc=; b=Gyk8APWyyNv7BVBPNsX/BSXhhtpUfuPUr+D1lEFJRvJpcIczijbg2Tlt3utC+cidGK 2PGH1tmWFCQku2YUhZFBwYfx8oxbg5AiKSevC04aaq/kNfs/UWNkdSGFUhvYnr4apLxb A3ZrPJJCMJUVXVqZ06Vt52lWqD14yblVXfZ4hIcxbs2kKNYOnJ7lrFygf5MRkGOZZhq7 18pPZtGvqQF8AXVhGJuEE+twthlkz1UOpSWNc8UwUcIAnD8qrwL7MeTynVVS5jgPDMUt AqpDGN1Mq30mwGX+MJf4hE03UdFmJnOsiJwYh2N8WnYs5L7DiE4v9aB1eZLOFiQvar7/ Dazg== X-Gm-Message-State: AOUpUlFFWkoFHQJgfwBMu5YFfIcNHaiZJ4cPZYTb+Mcn53tL8ncxcqkZ KfLzANJrKiYx7bRnRiNwi7w1jxJYg9N38LAmg1ee7eqhu+4= X-Google-Smtp-Source: AA+uWPziWIoO7VL2aBeE/lvrCf6ut46dBOc4dt/rTak/L9LlGXyZsNItX/VE2fUAnjuatFucrLJ3L6xJiKqf8VVBwv8= X-Received: by 2002:aca:d509:: with SMTP id m9-v6mr26249384oig.82.1534283780764; Tue, 14 Aug 2018 14:56:20 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:4c13:0:0:0:0:0 with HTTP; Tue, 14 Aug 2018 14:56:20 -0700 (PDT) In-Reply-To: References: From: Richard Swagerman Date: Tue, 14 Aug 2018 17:56:20 -0400 Message-ID: Subject: Re: how to modify the navfooter To: pgsql-docs@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000bd22b905736c479f" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000bd22b905736c479f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you Tom and Jonathan for your responses. I am now looking at the stylesheet.xsl from after 9.6, and I do see these lines in the file:
The generated html files clearly have a div tag and a table tag that match this. So I can understand what generates the header. What baffles me is that the generated html files also include these tags at the bottom of each file:

I do not see anything in stylesheet.xsl that looks anything like this. Does anyone know where the "magic incantations" are that generate this navfooter? ...Rick Swagerman On Tue, Aug 7, 2018 at 6:45 PM, Jonathan S. Katz wrote: > > On Aug 7, 2018, at 6:21 PM, Richard Swagerman > wrote: > > Where is the content of the navfooter established? > I would like to make some modifications to this footer, but I am unable t= o > figure out where the source that generates it. > > I am building the documentation following the instructions from "Building > The Documentation" in Appendix J, currently on 9.6. > > I am using the command: > make STYLE=3Dwebsite html > > I can see the generated navfooter div section in the output html. I must > be missing something, because I cannot find a file in the git branch that > includes the class named "navfooter" or or any other words like "Navigati= on > footer", "Next", or "Prev". > > I have limited understanding of stylesheets (whether dsl or xsl), but I a= m > hoping that I can make the small modifications needed for our use. > > > I=E2=80=99m not as familiar with the doc builds but it looks like this is > available > in the =E2=80=9Cstylesheet.xsl=E2=80=9D file. > > I am also curious about the docFooter div section that appears in the > publicly published PostgreSQL documentation pages. It does not appear whe= n > I build the docs. > Is there a reason that the copyright does not appear on each page when I > do the doc build? > Is there some way to get it included when I do the doc build? > What file is used that contains the format (style?) info for that > generated html div section? > > > That is in the pgweb[1] project, i.e. this file[2]. My understanding > is that probably will not be included in the doc build, as there is > content in it that is specific to the website :-) > > [1] https://git.postgresql.org/gitweb/?p=3Dpgweb.git;a=3Dsummary > [2] https://git.postgresql.org/gitweb/?p=3Dpgweb.git;a=3D > blob;f=3Dtemplates/docs/docspage.html; > > --000000000000bd22b905736c479f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you Tom and Jonathan for your res= ponses.=C2=A0

I am now= looking at the stylesheet.xsl from after 9.6, and I do see these lines in = the file:
<div=C2=A0class= =3D"navheader">
=C2=A0=C2=A0<xsl= :if=C2=A0test=3D"$row1=C2=A0or=C2=A0$row2">
<table=C2=A0= width=3D"100%"=C2=A0summary=3D"Navigation=C2=A0header"&= gt;
The generated html files clearly have a div ta= g and a table tag that match this. So I can understand what generates the h= eader.=C2=A0

What baff= les me is that the generated html files also include these tags at the bott= om of each file:
<div class=3D"navfooter">= <hr />
=C2=A0<table width=3D"100%&quo= t; summary=3D"Navigation footer">
I do not se= e anything in stylesheet.xsl that looks anything like this.=C2=A0
Does anyone know where the "magic incantations" are that = generate this navfooter?
...Rick Swagerman

On Tue,= Aug 7, 2018 at 6:45 PM, Jonathan S. Katz <jkatz@postgresql.org>= wrote:

On Aug 7= , 2018, at 6:21 PM, Richard Swagerman <rswagerman@salesforce.com> wrote:
Where is the content of the navfooter est= ablished?
I would like to make some mo= difications to this footer, but I am unable to figure out where the source = that generates it.

I am building the documentation following the instructions from "Buildi= ng The Documentation" in Appendix J, currently on 9.6.

<= /font>
I am using the command:
= make STYLE=3Dwebsite html

I can see the generated navfooter div section in the ou= tput html. I must be missing something, because I cannot find a file in the= git branch that includes the class named "navfooter" or or any o= ther words like "Navigation footer", "Next", or "P= rev".

I have limited understanding of stylesh= eets (whether dsl or xsl), but I am hoping that I can make the small modifi= cations needed for our use.

<= /div>
I=E2=80=99m not as familiar with the doc builds but it loo= ks like this is available=C2=A0
in the =E2=80=9Cstylesheet.xsl=E2= =80=9D file.

I am also curious about the docFooter div sectio= n that appears in the publicly published PostgreSQL documentation pages. It= does not appear when I build the docs.=C2=A0
Is there a reason t= hat the copyright does not appear on each page when I do the doc build?=C2= =A0
Is there some way to get it included when I do the doc build?= =C2=A0
What file is used that contains the format (style?) info f= or that generated html div section?

That is in the pgweb[1] project, i.e. this file[2]. My unders= tanding
is that probably will not be included in the doc build, a= s there is
--000000000000bd22b905736c479f--