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.
This commit is contained in:
committed by
Sarina Canelake
parent
35fab7bbb6
commit
fa64270df4
@@ -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,
|
||||
|
||||
@@ -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}",
|
||||
|
||||
Reference in New Issue
Block a user