From nobody Tue Apr 30 06:06:03 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1587055127; cv=none; d=zohomail.com; s=zohoarc; b=YLy1976oORTjjkJXQ2mW2FlG5lqZdLPqaRIfMFgHQPHxwuBVd7q61M+e/NPd+UbK+YKEsgNDwn8hnLp5CkrI4VEFy7cDMlz07VSgL2Epa0ttqo5/sdh+U7HFZLxFG0uPfms3ankFJyz7RuPj8P/Mn66qt4mdYKTuWF8C2pCwVe8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1587055127; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=RldVK2uYOUxQYc3GB4d11Z7UXLETGOmZvXl1TjbBGCE=; b=KIBaqKQqz0fkyK7xmgHq1nh9JnDhAqSrKQbs4+RdP0GLnheVRzN1zNKk7WQ+hB8ouEX9rXG7bWIUj4Xk9lhDcTlm8JmbgpNS1/aDp68ObalhnWrKCvtEtQcEJQvQRTbDUFUD+mht6U9FnE+i2YL1HAoEsvmBdqCGU9iOknXpNXc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 158705512713083.57663011083855; Thu, 16 Apr 2020 09:38:47 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-411-bsXC7hGIMoOEC5_6yXr62w-1; Thu, 16 Apr 2020 12:38:42 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 960D8DB65; Thu, 16 Apr 2020 16:38:36 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C4F7819C70; Thu, 16 Apr 2020 16:38:35 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 3CCA793393; Thu, 16 Apr 2020 16:38:34 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 03GGcWwE014094 for ; Thu, 16 Apr 2020 12:38:32 -0400 Received: by smtp.corp.redhat.com (Postfix) id 5F25A1036D12; Thu, 16 Apr 2020 16:38:32 +0000 (UTC) Received: from kinshicho.usersys.redhat.com (unknown [10.40.195.83]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C4C501036D03 for ; Thu, 16 Apr 2020 16:38:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587055126; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=RldVK2uYOUxQYc3GB4d11Z7UXLETGOmZvXl1TjbBGCE=; b=S9n+fG+sHPKEnSEj9W4DswryLlEda1HLtcH1ymNBNhjgjP0cgVhxDJdIOmXUtbnSHG0t1i q4M0MgAK6YW4nTiNP63sCjlwqtxxi+ffZKwqEU49YG6ayC8MpFH3D8gSyfMHmHAlbNVji0 b2TsJyYcJzK3IVIQmO44HdTnpKpMAg8= X-MC-Unique: bsXC7hGIMoOEC5_6yXr62w-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH] docs: Add section about code blocks to styleguide.rst Date: Thu, 16 Apr 2020 18:38:25 +0200 Message-Id: <20200416163825.94894-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Andrea Bolognani Reviewed-by: Daniel P. Berrang=C3=A9 --- docs/styleguide.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/styleguide.rst b/docs/styleguide.rst index 2998e90963..3162868fb7 100644 --- a/docs/styleguide.rst +++ b/docs/styleguide.rst @@ -24,6 +24,18 @@ Whitespace =20 Blocks should be indented with 3 spaces, and no tabs =20 +Code blocks +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +Code blocks should be created using + +:: + + This is regular text. + + :: + + This is a code block. =20 Headings =3D=3D=3D=3D=3D=3D=3D=3D --=20 2.25.2