public inbox for [email protected]  
help / color / mirror / Atom feed
From: Neil Conway <[email protected]>
To: [email protected]
Subject: adding GUC variable xrefs
Date: Sat, 06 Mar 2004 11:51:58 -0500
Message-ID: <[email protected]> (raw)

I'm planning to replace most of the <varname> tags enclosing GUC 
variables in the docs with <xref> tags that allow the user to directly 
jump to the documentation for that particular configuration variable 
(that also requires adding "id" and "xreflabel" attributes to the GUC 
var documentation). The "xreflabel" of a GUC var is just it's name, so 
the actual text that is generated should be the same (the presentation 
will be a little different though).

This is part of a general project to add more cross-references to our 
documentation, so that we take better advantage of the hypertext 
nature of HTML (and PDF, although I'm not sure if the PDF versions of 
our docs support links -- in theory they could...)

Unless anyone objects, I'll start making the necessary changes soon. 
An example of the kind of change I'm planning is attached as a patch.

-Neil


Attachments:

  [text/x-patch] guc_xref_example-1.patch (1.7K, 2-guc_xref_example-1.patch)
  download | inline diff:
Index: doc/src/sgml/perform.sgml
===================================================================
RCS file: /var/lib/cvs/pgsql-server/doc/src/sgml/perform.sgml,v
retrieving revision 1.41
diff -c -r1.41 perform.sgml
*** a/doc/src/sgml/perform.sgml	3 Feb 2004 17:34:02 -0000	1.41
--- b/doc/src/sgml/perform.sgml	5 Mar 2004 21:04:44 -0000
***************
*** 548,556 ****
    </para>
  
    <para>
!    To force the planner to follow the <literal>JOIN</> order for inner joins,
!    set the <varname>join_collapse_limit</> run-time parameter to 1.
!    (Other possible values are discussed below.)
    </para>
  
    <para>
--- 548,556 ----
    </para>
  
    <para>
!    To force the planner to follow the <literal>JOIN</> order for inner
!    joins, set the <xref linkend="guc-join-collapse-limit"> run-time
!    parameter to 1.  (Other possible values are discussed below.)
    </para>
  
    <para>
Index: doc/src/sgml/runtime.sgml
===================================================================
RCS file: /var/lib/cvs/pgsql-server/doc/src/sgml/runtime.sgml,v
retrieving revision 1.243
diff -c -r1.243 runtime.sgml
*** a/doc/src/sgml/runtime.sgml	1 Mar 2004 17:58:39 -0000	1.243
--- b/doc/src/sgml/runtime.sgml	5 Mar 2004 21:04:19 -0000
***************
*** 1586,1592 ****
        </listitem>
       </varlistentry>
  
!      <varlistentry>
        <term><varname>join_collapse_limit</varname> (<type>integer</type>)</term>
        <listitem>
         <para>
--- 1586,1592 ----
        </listitem>
       </varlistentry>
  
!      <varlistentry id="guc-join-collapse-limit" xreflabel="join_collapse_limit">
        <term><varname>join_collapse_limit</varname> (<type>integer</type>)</term>
        <listitem>
         <para>


view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: adding GUC variable xrefs
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox