Skip to content

Commit 4a93b39

Browse files
committed
[docs] Fixed code samples inadvertently commented out
[ci]
1 parent 6fc5ddb commit 4a93b39

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

docs/user/settings.rst

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -315,23 +315,21 @@ in the **General Traffic** chart in the admin dashboard.
315315

316316
This setting should be defined in the following format:
317317

318-
..
319-
code-block::python
318+
.. code-block:: python
320319
321320
OPENWISP_MONITORING_DASHBOARD_TRAFFIC_CHART = {
322-
'<organization-uuid>': ['<list-of-interfaces>']
321+
"<organization-uuid>": ["<list-of-interfaces>"]
323322
}
324323
325324
E.g., if you want the **General Traffic** chart to show data from two
326325
interfaces for an organization, you need to configure this setting as
327326
follows:
328327

329-
..
330-
code-block::python
328+
.. code-block:: python
331329
332330
OPENWISP_MONITORING_DASHBOARD_TRAFFIC_CHART = {
333331
# organization uuid
334-
'f9601bbd-b6d5-4704-85e3-5851894437bf': ['eth1', 'eth2']
332+
"f9601bbd-b6d5-4704-85e3-5851894437bf": ["eth1", "eth2"]
335333
}
336334
337335
.. note::
@@ -344,7 +342,7 @@ follows:
344342

345343
If a user can manage more than one organization (e.g. superusers),
346344
then the **General Traffic** chart will always show data from
347-
interfaces of ``__all__`` configuration.
345+
interfaces defined in the ``__all__`` dictionary key.
348346

349347
.. _openwisp_monitoring_metrics:
350348

0 commit comments

Comments
 (0)