Fixed import failures that were preventing the platform API documentation from building. The problem is that the doc building environment doesn't need to install all the Python modules that the platform software does, but when Sphinx tries to import select modules so that it can use autoclass to publish docstrings it tries to import all the modules that are imported by those modules, recursively. I mocked the missing modules.

This commit is contained in:
Peter Desjardins
2016-08-26 13:00:59 -04:00
parent 2e2a23b9d3
commit 35521a38fb
4 changed files with 70 additions and 65 deletions

View File

@@ -21,7 +21,7 @@ Get and Update a User's Account Information
**Example response showing a user's account information**
.. code-block:: json
.. code-block:: none
HTTP 200 OK
Content-Type: application/json

View File

@@ -21,7 +21,7 @@ Get and Update the User's Preferences Information
**Example response showing the user's preference information**
.. code-block:: json
.. code-block:: none
HTTP 200 OK
Content-Type: application/json
@@ -29,9 +29,9 @@ Get and Update the User's Preferences Information
Allow: GET, HEAD, OPTIONS, PATCH
{
"pref-lang": "en",
"account_privacy": "private"
}
"pref-lang": "en",
"account_privacy": "private"
}
.. _Get Update or Delete a Specific Preference:
@@ -43,7 +43,7 @@ Get, Update, or Delete a Specific Preference
**Example response to a request for the user's account_privacy setting**
.. code-block:: json
.. code-block:: none
HTTP 200 OK
Content-Type: application/json