From 69a5e391cf68004601fbf449bf47a3b7a3a20523 Mon Sep 17 00:00:00 2001 From: Florian Mounier Date: Thu, 2 Jul 2015 14:34:27 +0200 Subject: [PATCH] Add lang to code-blocks --- docs/basic_customizations.rst | 6 +++--- docs/other_customizations.rst | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/basic_customizations.rst b/docs/basic_customizations.rst index 8c9c806..c076b69 100644 --- a/docs/basic_customizations.rst +++ b/docs/basic_customizations.rst @@ -34,7 +34,7 @@ By instanciating it Just import the `Config` class and instanciate it: -.. code-block:: +.. code-block:: python from pygal import Config @@ -52,7 +52,7 @@ By inheriting it Import the `Config` class and override it: -.. code-block:: +.. code-block:: python from pygal import Config @@ -72,7 +72,7 @@ Using keyword args As a shorthand for a one shot config, you can specify all config arguments as keyword args: -.. code-block:: +.. code-block:: python chart = pygal.XY(show_legend=False, human_readable=True, fill=True, x_scale=.25, y_scale=.25) ... diff --git a/docs/other_customizations.rst b/docs/other_customizations.rst index 9eac182..7244c9d 100644 --- a/docs/other_customizations.rst +++ b/docs/other_customizations.rst @@ -38,7 +38,7 @@ These lists contain absolute filenames and/or external URI. (Relative filenames Default: -.. code-block:: +.. code-block:: python css = ['style.css', 'graph.css'] js = [