]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: Add section about code blocks to styleguide.rst
authorAndrea Bolognani <abologna@redhat.com>
Thu, 16 Apr 2020 16:36:48 +0000 (18:36 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 16 Apr 2020 16:58:07 +0000 (18:58 +0200)
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
docs/styleguide.rst

index 2998e90963da941fec4cf14136e69000f2473830..3162868fb7535a459c7d71495d9c0e0ee6211e24 100644 (file)
@@ -24,6 +24,18 @@ Whitespace
 
 Blocks should be indented with 3 spaces, and no tabs
 
+Code blocks
+===========
+
+Code blocks should be created using
+
+::
+
+   This is regular text.
+
+   ::
+
+      This is a code block.
 
 Headings
 ========