diff --git a/openedx/core/djangoapps/discussions/docs/decisions/0006-discussions-api-fetch-inactive-providers.rst b/openedx/core/djangoapps/discussions/docs/decisions/0006-discussions-api-fetch-inactive-providers.rst index 2a4e2f4160..2770ca98f7 100644 --- a/openedx/core/djangoapps/discussions/docs/decisions/0006-discussions-api-fetch-inactive-providers.rst +++ b/openedx/core/djangoapps/discussions/docs/decisions/0006-discussions-api-fetch-inactive-providers.rst @@ -88,7 +88,7 @@ return the following pieces of information: **Sample response:** -.. code-block:: json +.. code-block:: { "active": "legacy", @@ -137,7 +137,7 @@ Changing settings for an inactive provider is out of scope here. **Sample response:** -.. code-block:: json +.. code-block:: { "enabled": true, diff --git a/openedx/core/djangoapps/discussions/docs/decisions/0008-reported-content-email-notifications.rst b/openedx/core/djangoapps/discussions/docs/decisions/0008-reported-content-email-notifications.rst index f68d0bb378..19890ff58b 100644 --- a/openedx/core/djangoapps/discussions/docs/decisions/0008-reported-content-email-notifications.rst +++ b/openedx/core/djangoapps/discussions/docs/decisions/0008-reported-content-email-notifications.rst @@ -63,7 +63,7 @@ Emails will be sent out from edx@news.edx.org Changes to CourseDiscussionSettings Model ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.. code-block:: json +.. code-block:: class CourseDiscussionSettings(models.Model): ... @@ -74,7 +74,7 @@ Endpoint to toggle the notifications settings ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ POST ``api/discussions/v0/course/{course_id}/settings`` -.. code-block:: json +.. code-block:: { context_key: "{course_id}",