diff --git a/demo/moulinrouge/__init__.py b/demo/moulinrouge/__init__.py
index b3b3b0d..298d2eb 100644
--- a/demo/moulinrouge/__init__.py
+++ b/demo/moulinrouge/__init__.py
@@ -300,7 +300,7 @@ def create_app():
def raw_svgs():
svgs = []
for color in styles['neon'].colors:
- chart = pygal.Pie(style=parametric_styles['RotateStyle'](color),
+ chart = pygal.Pie(style=parametric_styles['rotate'](color),
width=400, height=300)
chart.title = color
chart.disable_xml_declaration = True
diff --git a/docs/api/pygal.graph.verticalpyramid.rst b/docs/api/pygal.graph.verticalpyramid.rst
deleted file mode 100644
index 64a648d..0000000
--- a/docs/api/pygal.graph.verticalpyramid.rst
+++ /dev/null
@@ -1,7 +0,0 @@
-pygal.graph.verticalpyramid module
-==================================
-
-.. automodule:: pygal.graph.verticalpyramid
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/api/pygal.test.test_donut.rst b/docs/api/pygal.test.test_donut.rst
deleted file mode 100644
index b7b2498..0000000
--- a/docs/api/pygal.test.test_donut.rst
+++ /dev/null
@@ -1,7 +0,0 @@
-pygal.test.test_donut module
-============================
-
-.. automodule:: pygal.test.test_donut
- :members:
- :undoc-members:
- :show-inheritance:
diff --git a/docs/changelog.rst b/docs/changelog.rst
index 2d73d54..125e425 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -30,6 +30,7 @@ Changelog
* Fix timezones in DateTimeLine
* Rename in Style foreground_light as foreground_strong
* Rename in Style foreground_dark as foreground_subtle
+* Add a ``render_data_uri`` method
1.7.0
=====
diff --git a/docs/documentation/configuration/rendering.rst b/docs/documentation/configuration/rendering.rst
index 14163b8..3c95a82 100644
--- a/docs/documentation/configuration/rendering.rst
+++ b/docs/documentation/configuration/rendering.rst
@@ -128,6 +128,7 @@ Default:
Css can also specified inline by prepending `inline:` to the css:
.. code-block:: python
+
css = ['inline:.rect { fill: blue; }']
@@ -141,3 +142,13 @@ js
]
See `pygal.js `_
+
+
+force_uri_protocol
+------------------
+
+In case of rendering the svg as a data uri, it is mandatory to specify a protocol.
+
+It can be set to http or https and will be used for '//domain/' like uri.
+
+It is used along with ``render_data_uri``.
diff --git a/docs/documentation/output.rst b/docs/documentation/output.rst
index bd359cc..a6f7907 100644
--- a/docs/documentation/output.rst
+++ b/docs/documentation/output.rst
@@ -67,6 +67,19 @@ It is possible to get the xml etree root element of the chart (or lxml etree nod
chart.render_tree() # Return the svg root etree node
+Base 64 data URI
+----------------
+
+You can directly output a base 64 encoded data uri for