This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 1d27fb3  docs: fixup code blocks rendering (#4594)
1d27fb3 is described below

commit 1d27fb30ff16eb36b276e64a8b635f62b8a6452b
Author: Riccardo Magliocchetti <riccardo.magliocche...@gmail.com>
AuthorDate: Sun Mar 11 19:34:58 2018 +0100

    docs: fixup code blocks rendering (#4594)
---
 docs/faq.rst           | 8 ++++----
 docs/installation.rst  | 4 ++--
 docs/visualization.rst | 2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/docs/faq.rst b/docs/faq.rst
index 9869d46..4e7d4d6 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -106,7 +106,7 @@ edit the ``JSON Metadata`` field, more specifically the
 never be affected by any dashboard level filtering.
 
 
-..code:: json
+.. code-block:: json
 
     {
         "filter_immune_slices": [324, 65, 92],
@@ -141,7 +141,7 @@ to be refreshed - especially if some data is slow moving, 
or run heavy queries.
 slices from the timed refresh process, add the ``timed_refresh_immune_slices`` 
key to the dashboard
 ``JSON Metadata`` field:
 
-..code:: json
+.. code-block:: json
 
     {
        "filter_immune_slices": [],
@@ -157,7 +157,7 @@ Slice refresh will also be staggered over the specified 
period. You can turn off
 by setting the ``stagger_refresh`` to ``false`` and modify the stagger period 
by setting
 ``stagger_time`` to a value in milliseconds in the ``JSON Metadata`` field:
 
-..code:: json
+.. code-block:: json
 
     {
         "stagger_refresh": false,
@@ -236,7 +236,7 @@ It is possible on a per-dashboard basis by providing a 
mapping of
 labels to colors in the ``JSON Metadata`` attribute using the
 ``label_colors`` key.
 
-..code:: json
+.. code-block:: json
 
     {
         "label_colors": {
diff --git a/docs/installation.rst b/docs/installation.rst
index a2d3a64..1e6e27d 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -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')
diff --git a/docs/visualization.rst b/docs/visualization.rst
index 28744ca..45cd76c 100644
--- a/docs/visualization.rst
+++ b/docs/visualization.rst
@@ -1735,7 +1735,7 @@ To add a new country in country map tools, we need follow 
next steps :
 7. Add your country in component 'select_country'
    Example :
 
-.. code:: python
+.. code-block:: javascript
 
     select_country: {
         type: 'SelectControl',

-- 
To stop receiving notification emails like this one, please contact
maximebeauche...@apache.org.

Reply via email to