Skip to content
This repository was archived by the owner on Oct 17, 2022. It is now read-only.

Commit feb33ff

Browse files
Shaun Keysrnewson
authored andcommitted
Clarify how design documents are created
1 parent a35ea11 commit feb33ff

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/ddocs/ddocs.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,19 @@ them extensively within each function:
3232
- :ref:`Database Security object <security_object>`
3333
- :ref:`Guide to JavaScript Query Server <query-server/js>`
3434

35+
Creation
36+
========
37+
38+
Design documents are denoted by an id field with the format ``_design/{name}``.
39+
40+
**Example**:
41+
42+
.. code-block:: json
43+
44+
{
45+
"id": "_design/example",
46+
}
47+
3548
.. _viewfun:
3649

3750
View Functions

0 commit comments

Comments
 (0)