davemds pushed a commit to branch master.
commit 7c6afeb25f5e8a434e5e37cbdd823d38277547bf
Author: davemds <[email protected]>
Date: Thu Apr 4 13:23:25 2013 +0200
Python-EFL: add a preview image to the map docs
---
doc/conf.py | 2 +-
doc/images/map-preview.png | Bin 0 -> 309524 bytes
efl/elementary/map.pyx | 3 +++
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/doc/conf.py b/doc/conf.py
index 148603d..f0213eb 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -149,7 +149,7 @@ html_short_title = "Python Bindings for EFL"
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = ['_static']
+html_static_path = ['images']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
diff --git a/doc/images/map-preview.png b/doc/images/map-preview.png
new file mode 100644
index 0000000..c5045d8
Binary files /dev/null and b/doc/images/map-preview.png differ
diff --git a/efl/elementary/map.pyx b/efl/elementary/map.pyx
index a81f30f..fddc7ec 100644
--- a/efl/elementary/map.pyx
+++ b/efl/elementary/map.pyx
@@ -20,6 +20,9 @@
.. rubric:: Widget description
+.. image:: /images/map-preview.png
+ :width: 100%
+
The *Map* is a widget specifically for displaying a geographic map.
It uses `OpenStreetMap <http://www.openstreetmap.org/>`_ as map tile provider,
`YOURS <http://www.yournavigation.org/>`_ for routing calculation and
--
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html