Skip to content

Commit

Permalink
fix up docs and highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Jul 2, 2013
1 parent 24105ec commit 3411c41
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion master/docs/developer/cls-resultspec.rst
Expand Up @@ -3,7 +3,7 @@ ResultSpecs

.. py:module:: buildbot.data.resultspec
Result specifications are used by the :ref:`Data-API` to describe the desired results of a :py:meth:`~buildbot.data.connector.DataConnector.get` call.
Result specifications are used by the :ref:`Data_API` to describe the desired results of a :py:meth:`~buildbot.data.connector.DataConnector.get` call.
They can be used to filter, sort and paginate the contents of collections, and to limit the fields returned for each item.

Python calls to :py:meth:`~buildbot.data.connector.DataConnector.get` call can pass a :py:class:`ResultSpec` instance directly.
Expand Down
4 changes: 3 additions & 1 deletion master/docs/developer/www.rst
Expand Up @@ -185,7 +185,9 @@ The following parts of the protocol are not supported:
Requests are sent as an HTTP POST, containing the request JSON in the body.
The content-type header is ignored; for compatibility with simple CORS requests (avoiding preflight checks), use ``text/plain``.

A simple example::
A simple example:

.. code-block:: none
POST http://build.my.org/api/v2/scheduler/4
--> {"jsonrpc": "2.0", "method": "force", "params": {"revision": "abcd", "branch": "dev"}, "id": 843}
Expand Down
3 changes: 1 addition & 2 deletions master/docs/manual/cfg-global.rst
Expand Up @@ -678,8 +678,7 @@ This server is configured with the :bb:cfg:`www` configuration key, which specif
For example ::

c['www'] = {
# ...
plugins={'waterfall': {'num_builds': 50}}
'plugins': {'waterfall': {'num_builds': 50}}
}

``debug``
Expand Down

0 comments on commit 3411c41

Please sign in to comment.