Commit 79e0691e by Peter Desjardins Committed by GitHub

Merge pull request #13331 from edx/pdesjardins/DOC-3278

Fix platform API documentation build
parents fe4eed0f 35521a38
...@@ -157,6 +157,11 @@ MOCK_MODULES = [ ...@@ -157,6 +157,11 @@ MOCK_MODULES = [
'celery.signals', 'celery.signals',
'edx_rest_framework_extensions', 'edx_rest_framework_extensions',
'edx_rest_framework_extensions.authentication', 'edx_rest_framework_extensions.authentication',
'django_extensions',
'django_extensions.db',
'django_extensions.db.models',
'jsonfield',
'jsonfield.fields',
] ]
for mod_name in MOCK_MODULES: for mod_name in MOCK_MODULES:
......
...@@ -20,7 +20,7 @@ Get the User's Enrollment Status in a Course ...@@ -20,7 +20,7 @@ Get the User's Enrollment Status in a Course
**Example response showing the user's enrollment status in a course** **Example response showing the user's enrollment status in a course**
.. code-block:: json .. code-block:: none
HTTP 200 OK HTTP 200 OK
Content-Type: application/json Content-Type: application/json
...@@ -61,7 +61,7 @@ Get the User's Enrollment Information for a Course ...@@ -61,7 +61,7 @@ Get the User's Enrollment Information for a Course
**Example response showing a user's course enrollment information** **Example response showing a user's course enrollment information**
.. code-block:: json .. code-block:: none
HTTP 200 OK HTTP 200 OK
Content-Type: application/json Content-Type: application/json
...@@ -98,7 +98,7 @@ View a User's Enrollments or Enroll a User in a Course ...@@ -98,7 +98,7 @@ View a User's Enrollments or Enroll a User in a Course
**Example response showing a user who is enrolled in two courses** **Example response showing a user who is enrolled in two courses**
.. code-block:: json .. code-block:: none
HTTP 200 OK HTTP 200 OK
Content-Type: application/json Content-Type: application/json
......
...@@ -21,7 +21,7 @@ Get and Update a User's Account Information ...@@ -21,7 +21,7 @@ Get and Update a User's Account Information
**Example response showing a user's account information** **Example response showing a user's account information**
.. code-block:: json .. code-block:: none
HTTP 200 OK HTTP 200 OK
Content-Type: application/json Content-Type: application/json
......
...@@ -21,7 +21,7 @@ Get and Update the User's Preferences Information ...@@ -21,7 +21,7 @@ Get and Update the User's Preferences Information
**Example response showing the user's preference information** **Example response showing the user's preference information**
.. code-block:: json .. code-block:: none
HTTP 200 OK HTTP 200 OK
Content-Type: application/json Content-Type: application/json
...@@ -43,7 +43,7 @@ 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** **Example response to a request for the user's account_privacy setting**
.. code-block:: json .. code-block:: none
HTTP 200 OK HTTP 200 OK
Content-Type: application/json Content-Type: application/json
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment