Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gkxAM-0004gX-Ey for pgsql-hackers@arkaria.postgresql.org; Sat, 19 Jan 2019 20:24:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gkxAL-0007yU-4r for pgsql-hackers@arkaria.postgresql.org; Sat, 19 Jan 2019 20:24:29 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gkxAK-0007yN-Fg for pgsql-hackers@lists.postgresql.org; Sat, 19 Jan 2019 20:24:28 +0000 Received: from bay.acenet.us ([173.230.252.50]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gkxAH-0004F6-Fe for pgsql-hackers@postgresql.org; Sat, 19 Jan 2019 20:24:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=anastigmatix.net; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=cEo0n++C9DEwzxrFGy8QXZ3X+AqiQtnOoDgPG5GcAF8=; b=AuQesUmMqntnQ7mCrjHaHsvaOS 71X+/ykcAWHM0+NIcbU6PW3ti5SMrZ1AbntSop7dplGqfrNemW/02Vgea/e4nd3AQwOuKhb/qnbek NKoxI37Qq39+1d0rtgPiAcwR51SBCyKyr2CH7yGhif83P5Z/S8mBa9i1torehHaHzAUEYUgNePK7Q ctmvEGZMefEFP4aOkN+T+z89Ypx5RblH38qcymQkLJOQjBIHxbvlT1Rx5J/T1t3kMzprUM+cp1sbe 4LhC9V+yRcovLAhSu0A8c+uisPWc9U25VrIPxWaLR9rmfnIhDP3vvx7kcmiGGLOYr6ny/GmvLDHV9 XjkCc/EA==; Received: from [192.182.57.242] (port=49636) by bay.acenet.us with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gkxAE-0078hx-PR; Sat, 19 Jan 2019 15:24:23 -0500 Subject: Re: House style for DocBook documentation? To: Alvaro Herrera References: <201901191335.kbjzsoefmkoa@alvherre.pgsql> Cc: Pavel Stehule , Markus Winand , Tom Lane , PostgreSQL Hackers From: Chapman Flack X-Enigmail-Draft-Status: N1110 Message-ID: <5C438776.9080103@anastigmatix.net> Date: Sat, 19 Jan 2019 15:24:22 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <201901191335.kbjzsoefmkoa@alvherre.pgsql> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-95.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bay.acenet.us X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - anastigmatix.net X-Get-Message-Sender-Via: bay.acenet.us: authenticated_id: chap@anastigmatix.net X-Authenticated-Sender: bay.acenet.us: chap@anastigmatix.net X-Source: X-Source-Args: X-Source-Dir: X-From-Rewrite: unmodified, already matched List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 01/19/19 08:35, Alvaro Herrera wrote: >> Is there, somewhere, a written-up "house style" for what DocBook 4.2 >> elements to use for which types of content in the manual? >> ... > I don't think we do. I'd suggest to come up with something and then see > if it makes sense to patch the docs to apply it regularly. I think my ambition at the moment is just to complete a particular addition to func.sgml and do so as consistently as I can manage with what's there now. I have noticed a couple of things: - 'SQL' is often marked up as SQL, but far from always. - no such markup is applied to 'JSON' or 'XML' at all, at least not in func.sgml. - there is a README.links with this guideline: o Do not use text with so the URL appears in printed output but a grep -r in doc/src/sgml turns up 112 uses that observe the guideline, and 147 that supply link text. (thinks to self half-seriously about an XSL transform for generating printed output that could preserve link-texted links, add raised numbers, and produce a numbered URLs section at the back) -Chap