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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user