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

Commit 0603a30

Browse files
Use double back-ticks in src/api/server/authn.rst (#669)
* Use double backticks in src/api/server/authn.rst * Review update: Add double backticks for config/code only
1 parent c5bbad0 commit 0603a30

File tree

21 files changed

+100
-100
lines changed

21 files changed

+100
-100
lines changed

src/api/database/changes.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
- :mimetype:`text/event-stream`
3737
- :mimetype:`text/plain`
3838
:<header Last-Event-ID: ID of the last events received by the server on a
39-
previous connection. Overrides `since` query parameter.
39+
previous connection. Overrides ``since`` query parameter.
4040
:query array doc_ids: List of document IDs to filter the changes feed as
4141
valid JSON array. Used with :ref:`_doc_ids <changes/filter/doc_ids>`
4242
filter. Since `length of URL is limited`_, it is better to use
@@ -75,11 +75,11 @@
7575
Default is ``false``.
7676
:query boolean attachments: Include the Base64-encoded content of
7777
:ref:`attachments <api/doc/attachments>` in the documents that
78-
are included if `include_docs` is ``true``. Ignored if `include_docs`
78+
are included if ``include_docs`` is ``true``. Ignored if ``include_docs``
7979
isn't ``true``. Default is ``false``.
8080
:query boolean att_encoding_info: Include encoding information in attachment
81-
stubs if `include_docs` is ``true`` and the particular attachment is
82-
compressed. Ignored if `include_docs` isn't ``true``.
81+
stubs if ``include_docs`` is ``true`` and the particular attachment is
82+
compressed. Ignored if ``include_docs`` isn't ``true``.
8383
Default is ``false``.
8484
:query number last-event-id: Alias of `Last-Event-ID` header.
8585
:query number limit: Limit number of result rows to the specified value
@@ -206,7 +206,7 @@
206206
unavailable, alternative replicas are selected, and the last known
207207
checkpoint between them is used. If this happens, you might see changes
208208
again that you have previously seen. Therefore, an application making use
209-
of the `_changes` feed should be ‘idempotent’, that is, able to receive the
209+
of the ``_changes`` feed should be ‘idempotent’, that is, able to receive the
210210
same data multiple times, safely.
211211

212212
.. note::

src/api/database/find.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ The list of combination operators:
488488
}
489489
490490
The ``$and`` operator matches if all the selectors in the array match. Below is
491-
an example using the primary index (```_all_docs```):
491+
an example using the primary index (``_all_docs``):
492492

493493
.. code-block:: javascript
494494
@@ -648,7 +648,7 @@ Condition Operators
648648
-------------------
649649

650650
Condition operators are specific to a field, and are used to evaluate the value
651-
stored in that field. For instance, the basic `$eq` operator matches when the
651+
stored in that field. For instance, the basic ``$eq`` operator matches when the
652652
specified field contains a value that is equal to the supplied argument.
653653

654654
.. note::
@@ -890,7 +890,7 @@ Example of selective retrieval of fields from matching documents:
890890
Pagination
891891
==========
892892

893-
Mango queries support pagination via the bookmark field. Every `_find`
893+
Mango queries support pagination via the bookmark field. Every ``_find``
894894
response contains a bookmark - a token that CouchDB uses to determine
895895
where to resume from when subsequent queries are made. To get the next
896896
set of query results, add the bookmark that was received in the previous
@@ -988,7 +988,7 @@ built using MapReduce Views.
988988
:>header Transfer-Encoding: ``chunked``
989989

990990
:>json string result: Flag to show whether the index was created or one
991-
already exists. Can be `"created"` or `"exists"`.
991+
already exists. Can be ``"created"`` or ``"exists"``.
992992
:>json string id: Id of the design document the index was created in.
993993
:>json string name: Name of the index created.
994994

src/api/database/misc.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ leaf revision `3-c50a32451890a3f1c3e423334cc92745` that will be purged.
100100
As a result of this purge operation, a document with
101101
`_id:c6114c65e295552ab1019e2b046b10e` will be completely removed from the
102102
database's document b+tree, and sequence b+tree. It will not be available
103-
through `_all_docs` or `_changes` endpoints, as though this document never
104-
existed. Also as a result of purge operation, the database's `purge_seq` and
105-
`update_seq` will be increased.
103+
through ``_all_docs`` or ``_changes`` endpoints, as though this document never
104+
existed. Also as a result of purge operation, the database's ``purge_seq`` and
105+
``update_seq`` will be increased.
106106

107107
Notice, how revision `3-b06fcd1c1c9e0ec7c480ee8aa467bf3b` was ignored. Revisions
108108
that have already been purged and non-leaf revisions are ignored in a purge
@@ -126,8 +126,8 @@ revision tree with only a single branch:
126126
Document Revision Tree 3
127127

128128
As a result of this purge operation, a new updated version of the document will
129-
be available in `_all_docs` and `_changes`, creating a new record in `_changes`.
130-
The database's `purge_seq` and `update_seq` will be increased.
129+
be available in ``_all_docs`` and ``_changes``, creating a new record in ``_changes``.
130+
The database's ``purge_seq`` and ``update_seq`` will be increased.
131131

132132
Internal Replication
133133
======================

src/api/ddoc/common.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<vdufun>` function source
5959
* **views** (*object*): :ref:`View functions <viewfun>` definition.
6060
* **autoupdate** (*boolean*): Indicates whether to automatically build
61-
indexes defined in this design document. Default is `true`.
61+
indexes defined in this design document. Default is ``true``.
6262

6363
Note, that for ``filters``, ``lists``, ``shows`` and ``updates`` fields
6464
objects are mapping of function name to string function source code. For

src/api/ddoc/render.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
.. http:post:: /{db}/_design/{ddoc}/_show/{func}
2727
:synopsis: Same as GET method for the related endpoint
2828

29-
Applies :ref:`show function <showfun>` for `null` document.
29+
Applies :ref:`show function <showfun>` for ``null`` document.
3030

3131
The request and response parameters are depended upon function
3232
implementation.

src/api/ddoc/views.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,29 +29,29 @@
2929
- :mimetype:`text/plain`
3030

3131
:query boolean conflicts: Include `conflicts` information in response.
32-
Ignored if `include_docs` isn't ``true``. Default is ``false``.
32+
Ignored if ``include_docs`` isn't ``true``. Default is ``false``.
3333
:query boolean descending: Return the documents in descending order by key.
3434
Default is ``false``.
3535
:query json endkey: Stop returning records when the specified key is
3636
reached.
37-
:query json end_key: Alias for `endkey` param
37+
:query json end_key: Alias for ``endkey`` param
3838
:query string endkey_docid: Stop returning records when the specified
39-
document ID is reached. Ignored if `endkey` is not set.
40-
:query string end_key_doc_id: Alias for `endkey_docid`.
39+
document ID is reached. Ignored if ``endkey`` is not set.
40+
:query string end_key_doc_id: Alias for ``endkey_docid``.
4141
:query boolean group: Group the results using the reduce function to a
42-
group or single row. Implies `reduce` is ``true`` and the maximum
43-
`group_level`. Default is ``false``.
42+
group or single row. Implies ``reduce`` is ``true`` and the maximum
43+
``group_level``. Default is ``false``.
4444
:query number group_level: Specify the group level to be used. Implies
45-
`group` is ``true``.
45+
``group`` is ``true``.
4646
:query boolean include_docs: Include the associated document with each row.
4747
Default is ``false``.
4848
:query boolean attachments: Include the Base64-encoded content of
4949
:ref:`attachments <api/doc/attachments>` in the documents that are
50-
included if `include_docs` is ``true``. Ignored if `include_docs` isn't
50+
included if ``include_docs`` is ``true``. Ignored if ``include_docs`` isn't
5151
``true``. Default is ``false``.
5252
:query boolean att_encoding_info: Include encoding information in
53-
attachment stubs if `include_docs` is ``true`` and the particular
54-
attachment is compressed. Ignored if `include_docs` isn't ``true``.
53+
attachment stubs if ``include_docs`` is ``true`` and the particular
54+
attachment is compressed. Ignored if ``include_docs`` isn't ``true``.
5555
Default is ``false``.
5656
:query boolean inclusive_end: Specifies whether the specified end key
5757
should be included in the result. Default is ``true``.
@@ -66,7 +66,7 @@
6666
the results. Default is ``0``.
6767
:query boolean sorted: Sort returned rows (see :ref:`Sorting Returned Rows
6868
<api/ddoc/view/sorting>`). Setting this to ``false`` offers a performance
69-
boost. The `total_rows` and `offset` fields are not available when this
69+
boost. The ``total_rows`` and ``offset`` fields are not available when this
7070
is set to ``false``. Default is ``true``.
7171
:query boolean stable: Whether or not the view results should be returned
7272
from a stable set of shards. Default is ``false``.
@@ -78,15 +78,15 @@
7878
Note that this parameter is deprecated. Use ``stable`` and ``update`` instead.
7979
See :ref:`views/generation` for more details.
8080
:query json startkey: Return records starting with the specified key.
81-
:query json start_key: Alias for `startkey`.
81+
:query json start_key: Alias for ``startkey``.
8282
:query string startkey_docid: Return records starting with the specified
8383
document ID. Ignored if ``startkey`` is not set.
84-
:query string start_key_doc_id: Alias for `startkey_docid` param
84+
:query string start_key_doc_id: Alias for ``startkey_docid`` param
8585
:query string update: Whether or not the view in question should be updated
8686
prior to responding to the user. Supported values: ``true``, ``false``,
8787
``lazy``. Default is ``true``.
8888
:query boolean update_seq: Whether to include in the response an
89-
`update_seq` value indicating the sequence id of the database the view
89+
``update_seq`` value indicating the sequence id of the database the view
9090
reflects. Default is ``false``.
9191

9292
:>header Content-Type: - :mimetype:`application/json`

src/api/document/attachments.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
:param docid: Document ID
3030
:param attname: Attachment name
3131

32-
:<header If-Match: Document's revision. Alternative to `rev` query
32+
:<header If-Match: Document's revision. Alternative to ``rev`` query
3333
parameter
3434
:<header If-None-Match: Attachment's base64 encoded MD5 binary digest.
3535
*Optional*
@@ -84,7 +84,7 @@
8484
:param docid: Document ID
8585
:param attname: Attachment name
8686

87-
:<header If-Match: Document's revision. Alternative to `rev` query
87+
:<header If-Match: Document's revision. Alternative to ``rev`` query
8888
parameter
8989
:<header If-None-Match: Attachment's base64 encoded MD5 binary digest.
9090
*Optional*
@@ -132,7 +132,7 @@
132132
:param attname: Attachment name
133133

134134
:<header Content-Type: Attachment MIME type. Default: :mimetype:`application/octet-stream` *Optional*
135-
:<header If-Match: Document revision. Alternative to `rev` query parameter
135+
:<header If-Match: Document revision. Alternative to ``rev`` query parameter
136136

137137
:query string rev: Document revision. *Optional*
138138

@@ -199,7 +199,7 @@
199199
:param docid: Document ID
200200
:<header Accept: - :mimetype:`application/json`
201201
- :mimetype:`text/plain`
202-
:<header If-Match: Document revision. Alternative to `rev` query parameter
202+
:<header If-Match: Document revision. Alternative to ``rev`` query parameter
203203

204204
:query string rev: Document revision. *Required*
205205
:query string batch: Store changes in :ref:`batch mode

src/api/document/common.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@
9393
what `rev` was requested. Default is ``false``
9494
:query boolean local_seq: Includes last update sequence for the
9595
document. Default is ``false``
96-
:query boolean meta: Acts same as specifying all `conflicts`,
97-
`deleted_conflicts` and `revs_info` query parameters. Default is
96+
:query boolean meta: Acts same as specifying all ``conflicts``,
97+
``deleted_conflicts`` and ``revs_info`` query parameters. Default is
9898
``false``
9999
:query array open_revs: Retrieves documents of specified leaf revisions.
100100
Additionally, it accepts value as ``all`` to return all leaf revisions.
@@ -177,8 +177,8 @@
177177
specify the document ID in the request URL.
178178

179179
When updating an existing document, the current document revision must be
180-
included in the document (i.e. the request body), as the `rev` query
181-
parameter, or in the `If-Match` request header.
180+
included in the document (i.e. the request body), as the ``rev`` query
181+
parameter, or in the ``If-Match`` request header.
182182

183183
:param db: Database name
184184
:param docid: Document ID
@@ -191,7 +191,7 @@
191191
parameter or document key. *Optional*
192192

193193
:query string rev: Document's revision if updating an existing document.
194-
Alternative to `If-Match` header or document key. *Optional*
194+
Alternative to ``If-Match`` header or document key. *Optional*
195195
:query string batch: Stores document in :ref:`batch mode
196196
<api/doc/batch-writes>`. Possible values: ``ok``. *Optional*
197197
:query boolean new_edits: Prevents insertion of a :ref:`conflicting
@@ -356,7 +356,7 @@
356356
document ID, and optionally the target document revision, if copying to
357357
an existing document. See :ref:`Copying to an Existing Document
358358
<copy_to_existing_document>`.
359-
:<header If-Match: Source document's revision. Alternative to `rev` query
359+
:<header If-Match: Source document's revision. Alternative to ``rev`` query
360360
parameter
361361
:query string rev: Revision to copy from. *Optional*
362362
:query string batch: Stores document in :ref:`batch mode

src/api/local.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,15 @@ A list of the available methods and URL paths are provided below:
7171
:<header Accept: - :mimetype:`application/json`
7272
- :mimetype:`text/plain`
7373
:query boolean conflicts: Includes `conflicts` information in response.
74-
Ignored if `include_docs` isn't ``true``. Default is ``false``.
74+
Ignored if ``include_docs`` isn't ``true``. Default is ``false``.
7575
:query boolean descending: Return the local documents in descending by
7676
key order. Default is ``false``.
7777
:query string endkey: Stop returning records when the specified key is
7878
reached. *Optional*.
79-
:query string end_key: Alias for `endkey` param.
79+
:query string end_key: Alias for ``endkey`` param.
8080
:query string endkey_docid: Stop returning records when the specified
8181
local document ID is reached. *Optional*.
82-
:query string end_key_doc_id: Alias for `endkey_docid` param.
82+
:query string end_key_doc_id: Alias for ``endkey_docid`` param.
8383
:query boolean include_docs: Include the full content of the local
8484
documents in the return. Default is ``false``.
8585
:query boolean inclusive_end: Specifies whether the specified end key
@@ -94,10 +94,10 @@ A list of the available methods and URL paths are provided below:
9494
the results. Default is ``0``.
9595
:query string startkey: Return records starting with the specified key.
9696
*Optional*.
97-
:query string start_key: Alias for `startkey` param.
97+
:query string start_key: Alias for ``startkey`` param.
9898
:query string startkey_docid: Return records starting with the specified
9999
local document ID. *Optional*.
100-
:query string start_key_doc_id: Alias for `startkey_docid` param.
100+
:query string start_key_doc_id: Alias for ``startkey_docid`` param.
101101
:query boolean update_seq: Response includes an ``update_seq`` value
102102
indicating which sequence id of the underlying database the view
103103
reflects. Default is ``false``.

src/api/server/authn.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ default, cookies are valid for 10 minutes, but it's :config:option:`adjustable
7878
:config:option:`persistent <chttpd_auth/allow_persistent_cookies>`.
7979

8080
To obtain the first token and thus authenticate a user for the first time, the
81-
`username` and `password` must be sent to the :ref:`_session API
81+
``username`` and ``password`` must be sent to the :ref:`_session API
8282
<api/auth/session>`.
8383

8484
.. _api/auth/session:

0 commit comments

Comments
 (0)