Re: Please provide stable target anchors - Mailing list pgsql-docs

From Peter Eisentraut
Subject Re: Please provide stable target anchors
Date
Msg-id 1279740765.10881.13.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: Please provide stable target anchors  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Responses Re: Please provide stable target anchors  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Re: Please provide stable target anchors  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
List pgsql-docs
On ons, 2010-07-21 at 03:16 +0100, Daniele Varrazzo wrote:
> Attached there is a patch adding an id to the indexterms currently
> referred by psycopg documentation, to be applied to the current head.
> However I've tried to render the html docs with the head itself and I
> see anchors are not generated anymore, while they are generated by the
> makefile shipped in 8.4.4. Is this a decision or it just happened? In
> the former case there is no point in applying the patch then.

Hmm, never noticed that, but it appears to come from the changes we made
in the build process to not build the index twice and thus speed up the
build.

> I've also played with good results with a script to inject ids in all
> the indexterm, but if the decision is to not provide anchors in the
> middle of the page I think you wouldn't be interested in it.

I think it's a bit weird to link to indexentry elements.  I can't quite
wrap my head around it.  I think you could just as well link to the
varlistentry elements or some other element close by.  Check out how we
link to the configuration parameters in config.sgml.

Btw., try to use some kind of hierarchical scheme for the id's.  If
something is in the libpq chapter, use something like
id="libpq-pqtransactionstatus".


pgsql-docs by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: error in oracle to plpgsql documentation ?
Next
From: Satoshi Nagayasu
Date:
Subject: Re: ECPG Documentation Improvement