Browse Source

Add lang to code-blocks

pull/242/head
Florian Mounier 10 years ago
parent
commit
69a5e391cf
  1. 6
      docs/basic_customizations.rst
  2. 2
      docs/other_customizations.rst

6
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)
...

2
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 = [

Loading…
Cancel
Save