From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org> |
Subject: | Re: Adding xreflable |
Date: | 2020-05-15 16:47:47 |
Message-ID: | 20200515164747.GH3894@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
On Fri, May 15, 2020 at 11:30:34AM -0400, Bruce Momjian wrote:
> On Fri, May 15, 2020 at 11:06:58AM -0400, Tom Lane wrote:
> > Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > > Well, I would like both the SQL command references and the application
> > > man pages to have xreflabel text.
> >
> > I guess my point is that in the other several thousand pages of the docs,
> > we just use <xref linkend="sql-whatever"/> or <xref
> > linkend="app-whatever"/>, and it looks fine and works fine. Why are you
> > insisting on doing it differently in the release notes?
> >
> > (I also have a vague memory that we used to use special xref labels for
> > SQL commands, and got rid of it. So this seems like undoing history
> > with no solid reasoning. That was with the previous doc toolchain of
> > course, but it's still the case that we don't seem to need this.)
>
> I think I see it now. Our README.links says:
>
> <xref>
> use to get chapter/section number from the title of the target
> --> link, or xreflabel if defined at the target, or refentrytitle if target
> --> is a refentry; has no close tag
> http://www.oasis-open.org/docbook/documentation/reference/html/xref.html
>
> I was not aware that refentry can pull from refentrytitle. I just
> tested it for pg_upgrade, and it worked fine. I will adjust the release
> notes now to use them. Thanks.
Done. Thanks for the tips.
--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EnterpriseDB https://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2020-05-15 17:26:19 | Re: Add A Glossary |
Previous Message | Bruce Momjian | 2020-05-15 15:30:34 | Re: Adding xreflable |