From 2edfc805afefbbabdeccdb9b4e9fd6ab89335008 Mon Sep 17 00:00:00 2001
From: Wheerd <admin@wheerd.de>
Date: Wed, 30 Nov 2016 18:01:00 +0100
Subject: [PATCH] Added "versionadded" for doctest_encoding ini option to docs.

---
 doc/en/doctest.rst | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/doc/en/doctest.rst b/doc/en/doctest.rst
index 5967ba047..a82e3ed9b 100644
--- a/doc/en/doctest.rst
+++ b/doc/en/doctest.rst
@@ -11,16 +11,18 @@ can change the pattern by issuing::
 on the command line. Since version ``2.9``, ``--doctest-glob``
 can be given multiple times in the command-line.
 
-You can specify the encoding that will be used for those doctest files
-using the ``doctest_encoding`` ini option:
+.. versionadded:: 3.1
 
-.. code-block:: ini
+    You can specify the encoding that will be used for those doctest files
+    using the ``doctest_encoding`` ini option:
 
-    # content of pytest.ini
-    [pytest]
-    doctest_encoding = latin1
+    .. code-block:: ini
 
-The default encoding is UTF-8.
+        # content of pytest.ini
+        [pytest]
+        doctest_encoding = latin1
+
+    The default encoding is UTF-8.
 
 You can also trigger running of doctests
 from docstrings in all python modules (including regular