wazuh / wazuh-api

Wazuh - RESTful API
https://wazuh.com
GNU General Public License v2.0
69 stars 57 forks source link

Add code-block to example responses in generate_rst.py #478

Closed vicferpoy closed 4 years ago

vicferpoy commented 4 years ago

Hi team.

Since the web-team added a new block to make outputs more appealing (https://github.com/wazuh/wazuh-documentation/pull/2084), we needed to update our generate_rst.py script in order to implement these new blocks.

Every Example response has this structure now:

**Example Response:**
.. code-block:: json
    :class: output
    {
       "error": 0,

Regards.