This is an automated email from the ASF dual-hosted git repository. wohali pushed a commit to branch correct-rewrites-as-function-version in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git
commit a5476fb04d141b05ec9d60b54472aa636c37e752 Author: Joan Touzet <[email protected]> AuthorDate: Thu Aug 9 22:14:57 2018 -0400 Use versionadded macro --- src/api/ddoc/rewrites.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/api/ddoc/rewrites.rst b/src/api/ddoc/rewrites.rst index f92eb02..6ff8bad 100644 --- a/src/api/ddoc/rewrites.rst +++ b/src/api/ddoc/rewrites.rst @@ -28,8 +28,9 @@ Using a stringified function for ``rewrites`` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - *The 'Rewrite using JS' feature was introduced in CouchDB 2.x*. When the - ``rewrites`` field is a stringified function, the query server is used +.. versionadded:: 2.0 + + When the ``rewrites`` field is a stringified function, the query server is used to pre-process and route requests. The function takes a :ref:`request2_object`.
