From fa64270df4d3abf887e2101746f60ae41f9b5f3e Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Mon, 12 Jan 2026 11:11:48 -0500 Subject: [PATCH] docs: Remove some code block annotations that were failing. Sphinx was complaining about these code-block annotations so don't claim a language since the code doesn't fully match that language and the parsing fails. --- .../0006-discussions-api-fetch-inactive-providers.rst | 4 ++-- .../decisions/0008-reported-content-email-notifications.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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}",