From fa507b4a0c4b36cccae1b00631304ca0a53edea6 Mon Sep 17 00:00:00 2001
From: Donald Stufft <donald@stufft.io>
Date: Sun, 27 Oct 2013 22:57:05 -0400
Subject: [PATCH] Use code-block

---
 docs/encoding.rst | 6 +++---
 docs/public.rst   | 2 +-
 docs/secret.rst   | 2 +-
 docs/signing.rst  | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/docs/encoding.rst b/docs/encoding.rst
index d698cd3e..270e157f 100644
--- a/docs/encoding.rst
+++ b/docs/encoding.rst
@@ -7,13 +7,13 @@ are typically passed as a keyword argument `encoder` to various methods.
 
 For example you can generate a signing key and encode it in hex with:
 
-.. code:: python
+.. code-block:: python
 
     hex_key = nacl.signing.SigningKey.generate().encode(encoder=nacl.encoding.HexEncoder)
 
 Then you can later decode it from hex:
 
-.. code:: python
+.. code-block:: python
 
     signing_key = nacl.signing.SigningKey(hex_key, encoder=nacl.encoding.HexEncoder)
 
@@ -43,7 +43,7 @@ Defining your own Encoder
 Defining your own encoder is easy. Each encoder is simply a class with 2 static
 methods. For example here is the hex encoder:
 
-.. code:: python
+.. code-block:: python
 
     import binascii
 
diff --git a/docs/public.rst b/docs/public.rst
index 3090566b..7b165cea 100644
--- a/docs/public.rst
+++ b/docs/public.rst
@@ -37,7 +37,7 @@ generated from both pairing of keys, so given two keypairs belonging to alice
 (pkalice, skalice) and bob(pkbob, skbob), the key derived from (pkalice, skbob)
 with equal that from (pkbob, skalice).  This is how the system works:
 
-.. code:: python
+.. code-block:: python
 
     import nacl.utils
     from nacl.public import PrivateKey, Box
diff --git a/docs/secret.rst b/docs/secret.rst
index 93c6e452..82387973 100644
--- a/docs/secret.rst
+++ b/docs/secret.rst
@@ -13,7 +13,7 @@ other than the length.
 Example
 -------
 
-.. code:: python
+.. code-block:: python
 
     import nacl.secret
     import nacl.utils
diff --git a/docs/signing.rst b/docs/signing.rst
index 076939ad..ea0d7a0e 100644
--- a/docs/signing.rst
+++ b/docs/signing.rst
@@ -17,7 +17,7 @@ Example
 
 Signer's perspective (:class:`~nacl.signing.SigningKey`)
 
-.. code:: python
+.. code-block:: python
 
     import nacl.encoding
     import nacl.signing
@@ -36,7 +36,7 @@ Signer's perspective (:class:`~nacl.signing.SigningKey`)
 
 Verifier's perspective (:class:`~nacl.signing.VerifyKey`)
 
-.. code:: python
+.. code-block:: python
 
     import nacl.signing
 
-- 
GitLab