From e01f0401b79a3de5a0bb29e98918ee72cef249c7 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Wed, 15 Jan 2020 22:25:12 +0100 Subject: devbook-guide: Update "Internal Coding Style" section. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Describe only the tags that are actually used in DevBook XML. Signed-off-by: Ulrich Müller --- appendices/devbook-guide/text.xml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'appendices') diff --git a/appendices/devbook-guide/text.xml b/appendices/devbook-guide/text.xml index 35ecace..b14a2a7 100644 --- a/appendices/devbook-guide/text.xml +++ b/appendices/devbook-guide/text.xml @@ -546,11 +546,11 @@ Both sections are described next.

Newlines must be placed immediately after every DevBook XML tag (both opening as closing), except for: -<version>, <date>, <title>, -<th>, <ti>, -<li>, <i>, <e>, -<uri>, <path>, <b>, <c>, -<mail>. +<title>, +<th>, <ti>, <li>, +<dt>, <dd>, +<b>, <c>, <e>, <d/>, +<uri>.

@@ -564,11 +564,12 @@ Both sections are described next.

Word-wrapping must be applied at 80 characters except inside -<pre>. You may only deviate from this rule when there is no other -choice (for instance when a URL exceeds the maximum amount of characters). The -editor must then wrap whenever the first whitespace occurs. You should try to -keep the rendered content of <pre> elements within 80 -columns to help console users. +<pre> and <codesample>. You may only deviate from +this rule when there is no other choice (for instance when a URL exceeds the +maximum amount of characters). The editor must then wrap whenever the first +whitespace occurs. You should try to keep the rendered content of +<pre> and <codesample> elements within 80 columns +to help console users.

-- cgit v1.2.3-65-gdbad