Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fixup code blocks rendering #4594

Merged
merged 1 commit into from
Mar 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down Expand Up @@ -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": [],
Expand All @@ -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,
Expand Down Expand Up @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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__,
Expand All @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion docs/visualization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down