Skip to content

Commit

Permalink
clean up dev manual formatting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
fiver-watson committed Apr 27, 2016
1 parent 6782dee commit 9a820ce
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions dev-manual/api/api-intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ the string ``<user_email>:<password>``.

**Example request:**

.. code-block:: json
.. code-block:: none
GET /api/informationobjects HTTP/1.1
Host: www.example.com
Authorization: Basic ZGVtb0BleGFtcGxlLmNvbTpkZW1v
**Example response header:**

.. code-block:: json
.. code-block:: none
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Expand Down
4 changes: 2 additions & 2 deletions dev-manual/api/endpoints/browse-io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ records in the response.
Example request
===============

.. code-block:: json
.. code-block:: none
GET /api/informationobjects HTTP/1.1
Host: www.example.com
Expand All @@ -70,7 +70,7 @@ Example request
Example response
================

.. code-block:: json
.. code-block:: none
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Expand Down
4 changes: 2 additions & 2 deletions dev-manual/api/endpoints/browse-taxonomies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ Taxonomy name ID
Example request
===============

.. code-block:: json
.. code-block:: none
GET /api/taxonomies/34 HTTP/1.1
Host: www.example.com
Example response
================

.. code-block:: json
.. code-block:: none
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Expand Down
4 changes: 2 additions & 2 deletions dev-manual/api/endpoints/read-io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ you could use it to determine the slug of a particular description if needed.
Example request
===============

.. code-block:: json
.. code-block:: none
GET /api/informationobjects/test-description HTTP/1.1
Host: www.example.com
Expand All @@ -39,7 +39,7 @@ Example request
Example response
================

.. code-block:: json
.. code-block:: none
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Expand Down
4 changes: 3 additions & 1 deletion index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ Developer's manual
Guidelines for developers interested in customizing AtoM, developing new
modules, and working with the application's API.

.. _dev-api-home:
.. _dev-env-home:

Environments
------------
Expand All @@ -268,6 +268,8 @@ We provide two developer-friendly environments for AtoM.
* :ref:`dev-env-vagrant`
* :ref:`dev-env-compose`

.. _dev-api-home:

API
---

Expand Down

0 comments on commit 9a820ce

Please sign in to comment.