From e7ff0ecde34884b80461e2780806d4f2749852c8 Mon Sep 17 00:00:00 2001 From: Terry Chia Date: Sun, 13 Jul 2014 11:15:34 +0800 Subject: [PATCH] Removed use of autodocs for nacl.encoding module. --- docs/encoding.rst | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/docs/encoding.rst b/docs/encoding.rst index fbf1f2a24..8487bf737 100644 --- a/docs/encoding.rst +++ b/docs/encoding.rst @@ -1,6 +1,8 @@ Encoders ======== +.. currentmodule:: nacl.encoding + PyNaCl supports a simple method of encoding and decoding messages in different formats. Encoders are simple classes with staticmethods that encode/decode and are typically passed as a keyword argument `encoder` to various methods. @@ -21,23 +23,17 @@ Then you can later decode it from hex: Built in Encoders ----------------- -.. autoclass:: nacl.encoding.RawEncoder - :members: +.. class:: RawEncoder -.. autoclass:: nacl.encoding.HexEncoder - :members: +.. class:: HexEncoder -.. autoclass:: nacl.encoding.Base16Encoder - :members: +.. class:: Base16Encoder -.. autoclass:: nacl.encoding.Base32Encoder - :members: +.. class:: Base32Encoder -.. autoclass:: nacl.encoding.Base64Encoder - :members: +.. class:: Base64Encoder -.. autoclass:: nacl.encoding.URLSafeBase64Encoder - :members: +.. class:: URLSafeBase64Encoder Defining your own Encoder