mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
docs: fixup code blocks rendering (#4594)
This commit is contained in:
committed by
Maxime Beauchemin
parent
f9881101ee
commit
1d27fb30ff
@@ -588,7 +588,7 @@ at the ``/simple_page`` url. This can allow you to run other things such
|
||||
as custom data visualization applications alongside Superset, on the
|
||||
same server.
|
||||
|
||||
..code ::
|
||||
.. code-block:: python
|
||||
|
||||
from flask import Blueprint
|
||||
simple_page = Blueprint('simple_page', __name__,
|
||||
@@ -609,7 +609,7 @@ are logged as well as key events like query start and end in SQL Lab.
|
||||
To setup StatsD logging, it's a matter of configuring the logger in your
|
||||
``superset_config.py``.
|
||||
|
||||
..code ::
|
||||
.. code-block:: python
|
||||
|
||||
from superset.stats_logger import StatsdStatsLogger
|
||||
STATS_LOGGER = StatsdStatsLogger(host='localhost', port=8125, prefix='superset')
|
||||
|
||||
Reference in New Issue
Block a user