Make builtin reduce functions definition referenceable.

Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/47ff8636
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/47ff8636
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/47ff8636

Branch: refs/heads/1781-reorganize-and-improve-docs
Commit: 47ff8636fd57cfd85b2ebe9f2f902cc99db0c4c7
Parents: 6f007f8
Author: Alexander Shorin <[email protected]>
Authored: Sun Sep 8 22:17:58 2013 +0400
Committer: Alexander Shorin <[email protected]>
Committed: Fri Sep 27 22:01:49 2013 +0400

----------------------------------------------------------------------
 share/doc/src/couchapp/ddocs.rst | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/47ff8636/share/doc/src/couchapp/ddocs.rst
----------------------------------------------------------------------
diff --git a/share/doc/src/couchapp/ddocs.rst b/share/doc/src/couchapp/ddocs.rst
index 01d3d69..1920a42 100644
--- a/share/doc/src/couchapp/ddocs.rst
+++ b/share/doc/src/couchapp/ddocs.rst
@@ -112,8 +112,14 @@ that main task of reduce functions is to *reduce* mapped 
result, not to make it
 even bigger. Generally, your reduce function should converge rapidly to a 
single
 value - which could be an array or similar object.
 
-Also CouchDB has three built-in reduce functions. These are implemented in
-Erlang and run right inside CouchDB, so they are much faster than the 
equivalent
+
+.. _reducefun/builtin:
+
+Builtin reduce functions
+^^^^^^^^^^^^^^^^^^^^^^^^
+
+Additionally, CouchDB has three built-in reduce functions. These are 
implemented
+in Erlang and runs inside CouchDB, so they are much faster than the equivalent
 JavaScript functions: ``_sum``, ``_count`` and ``_stats``. Their equivalents in
 JavaScript below:
 

Reply via email to