Skip site navigation (1) Skip section navigation (2)

Re: Odd formatting in on-line docs

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-www(at)postgresql(dot)org, pgsql-docs(at)postgresql(dot)org
Subject: Re: Odd formatting in on-line docs
Date: 2004-04-20 01:03:55
Message-ID: 200404200103.i3K13tr15208@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-docspgsql-www
Tom Lane wrote:
> The online copies of the documentation misformat <programlisting>
> constructs, indenting lines after the first.  For example at
> 
> http://www.postgresql.org/docs/7.4/static/sql-syntax.html#SQL-SYNTAX-LEXICAL
> 
> the three example SQL statements should all be indented the same.  Older
> versions look the same, as do the "interactive" versions.  But the
> developer version of the docs is fine:
> 
> http://developer.postgresql.org/docs/postgres/sql-syntax.html#SQL-SYNTAX-LEXICAL
> 
> I think this must be some weird interaction between the docs themselves
> and the HTML wrapper that's put around them to make the online pages.
> Can anyone diagnose this and fix it?

Someone must have fixed it:

SELECT * FROM MY_TABLE;
UPDATE MY_TABLE SET A = 5;
INSERT INTO MY_TABLE VALUES (3, 'hi there');

It isn't indented like the developer docs, but it isn't misaligned.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-docs by date

Next:From: Dave PageDate: 2004-04-20 07:06:37
Subject: Re: Odd formatting in on-line docs
Previous:From: Bruce MomjianDate: 2004-04-19 23:37:16
Subject: Re: Docs on PREPARE sql command should probably point to DEALLOCATE

pgsql-www by date

Next:From: Alexey BorzovDate: 2004-04-20 05:52:57
Subject: Re: On site design issues
Previous:From: Bruce MomjianDate: 2004-04-20 00:33:32
Subject: Re: Techdocs link errata

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group