<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Same is coming for the Python API docstrings:
<a class="moz-txt-link-freetext" href="https://github.com/qgis/QGIS/pull/9615">https://github.com/qgis/QGIS/pull/9615</a></p>
<p>Cheers<br>
</p>
<pre class="moz-signature" cols="72">Arnaud Morvan
Ingénieur logiciel
Tél: +33 (0)4 58 48 20 32
Camptocamp France SAS
18 rue du Lac Saint André
Savoie Technolac - Bâtiment Le Dauphin
F-73370 Le Bourget du Lac
<a class="moz-txt-link-freetext" href="http://www.camptocamp.com">http://www.camptocamp.com</a></pre>
<div class="moz-cite-prefix">Le 24/03/2019 à 22:44, Tim Sutton a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:66856422-8C8C-427B-904D-5DF1E5C2F85A@kartoza.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Yeah this is a really great step forward - thanks Arnaud!
<div class=""><br class="">
</div>
<div class="">Regards</div>
<div class=""><br class="">
</div>
<div class="">Tim<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 24 Mar 2019, at 20:52, Luigi Pirelli <<a
href="mailto:luipir@gmail.com" class=""
moz-do-not-send="true">luipir@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">impressive... tnx Arnoud
<div class=""><br class="" clear="all">
<div class="">
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">Luigi Pirelli<br
class="">
<br class="">
**************************************************************************************************<br
class="">
* LinkedIn: <a
href="https://www.linkedin.com/in/luigipirelli"
target="_blank" class="" moz-do-not-send="true">https://www.linkedin.com/in/luigipirelli</a><br
class="">
* Stackexchange: <a
href="http://gis.stackexchange.com/users/19667/luigi-pirelli"
target="_blank" class="" moz-do-not-send="true">http://gis.stackexchange.com/users/19667/luigi-pirelli</a><br
class="">
* GitHub: <a href="https://github.com/luipir"
target="_blank" class="" moz-do-not-send="true">https://github.com/luipir</a><br
class="">
* Mastering QGIS 2nd Edition:<br class="">
* <a
href="https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition"
target="_blank" class="" moz-do-not-send="true">https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition</a><br
class="">
* Hire me: <a href="http://goo.gl/BYRQKg"
target="_blank" class="" moz-do-not-send="true">http://goo.gl/BYRQKg</a><br
class="">
**************************************************************************************************</div>
</div>
<br class="">
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, 16 Mar 2019 at
14:02, Richard Duivenvoorde <<a
href="mailto:rdmailings@duif.net" class=""
moz-do-not-send="true">rdmailings@duif.net</a>>
wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">See also:<br
class="">
<a
href="https://docs.qgis.org/testing/en/docs/documentation_guidelines/cookbook_guidelines.html"
rel="noreferrer" target="_blank" class=""
moz-do-not-send="true">https://docs.qgis.org/testing/en/docs/documentation_guidelines/cookbook_guidelines.html</a><br
class="">
<br class="">
R<br class="">
<br class="">
On 16/03/2019 11.05, Richard Duivenvoorde wrote:<br
class="">
> Hi,<br class="">
> <br class="">
> For those not aware of Arnaud's work during the
Hackfest:<br class="">
> <br class="">
> His work makes it relatively easy to test the
python snippets in the<br class="">
> pyqgisbook. In this way keeping the python
snippets up to date with<br class="">
> code/api changes of QGIS itself is much easier.<br
class="">
> <br class="">
> We use a Sphinx extension:<br class="">
> <a
href="https://www.sphinx-doc.org/en/master/usage/extensions/doctest.html"
rel="noreferrer" target="_blank" class=""
moz-do-not-send="true">https://www.sphinx-doc.org/en/master/usage/extensions/doctest.html</a><br
class="">
> <br class="">
> In short:<br class="">
> - you run the snippets from within the cookbook
rst using QGIS(libs)<br class="">
> either from your build/install dir, OR from
within a QGIS-Desktop docker<br class="">
> instance (same as is being used for automatic
tests)<br class="">
> - so we (have to!) adapt the code in the
pycookbook a little to make it<br class="">
> testable (adding testsetup:: and testcode::
directives)<br class="">
> - he slightly changed the way you can build the
documentation (on Linux)<br class="">
> using one or two extra make (.mk) files.<br
class="">
> <br class="">
> See:<br class="">
> <a
href="https://github.com/qgis/qgis-documentation#testing-python-snippets"
rel="noreferrer" target="_blank" class=""
moz-do-not-send="true">https://github.com/qgis/qgis-documentation#testing-python-snippets</a><br
class="">
> <br class="">
> I've just tested and this 1 test :-) works
flawlessly if you create a<br class="">
> '<a href="http://user.mk/" rel="noreferrer"
target="_blank" class="" moz-do-not-send="true">user.mk</a>'
pointing to your QGIS_PREFIX_PATH<br class="">
> <br class="">
> So: now we can make all code snippets testable!<br
class="">
> If I am correct he was also busy to get the code
examples in the<br class="">
> doxygen/pyqgiscook work with this too @arnaud ?)<br
class="">
> <br class="">
> Please try!<br class="">
> <br class="">
> Regards,<br class="">
> <br class="">
> Richard Duivenvoorde<br class="">
> <br class="">
> PS this is Sphinx/Python only, but if somebody
jumps in to make it work<br class="">
> in a Windows way this would be even nicer. Or we
should update the paver<br class="">
> way again?<br class="">
> _______________________________________________<br
class="">
> QGIS-Developer mailing list<br class="">
> <a href="mailto:QGIS-Developer@lists.osgeo.org"
target="_blank" class="" moz-do-not-send="true">QGIS-Developer@lists.osgeo.org</a><br
class="">
> List info: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
rel="noreferrer" target="_blank" class=""
moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br
class="">
> Unsubscribe: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
rel="noreferrer" target="_blank" class=""
moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br
class="">
> <br class="">
<br class="">
_______________________________________________<br
class="">
QGIS-Developer mailing list<br class="">
<a href="mailto:QGIS-Developer@lists.osgeo.org"
target="_blank" class="" moz-do-not-send="true">QGIS-Developer@lists.osgeo.org</a><br
class="">
List info: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
rel="noreferrer" target="_blank" class=""
moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br
class="">
Unsubscribe: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
rel="noreferrer" target="_blank" class=""
moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote>
</div>
_______________________________________________<br
class="">
QGIS-Developer mailing list<br class="">
<a href="mailto:QGIS-Developer@lists.osgeo.org" class=""
moz-do-not-send="true">QGIS-Developer@lists.osgeo.org</a><br
class="">
List info:
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br
class="">
Unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div>
</blockquote>
</div>
<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px; font-style: normal; font-variant-ligatures:
normal; font-variant-position: normal; font-variant-caps:
normal; font-variant-numeric: normal;
font-variant-alternates: normal; font-variant-east-asian:
normal; font-weight: normal; letter-spacing: normal;
text-indent: 0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
line-height: normal; text-align: center;" class=""><span>—</span></div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px; font-style: normal; font-variant-ligatures:
normal; font-variant-position: normal; font-variant-caps:
normal; font-variant-numeric: normal;
font-variant-alternates: normal; font-variant-east-asian:
normal; letter-spacing: normal; text-indent: 0px;
text-transform: none; white-space: normal; word-spacing:
0px; -webkit-text-stroke-width: 0px; line-height: normal;
text-align: center;" class="">
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: auto; text-align: center;
text-indent: 0px; text-transform: none; white-space:
normal; widows: auto; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
initial; text-decoration: none; font-variant-ligatures:
normal; font-variant-position: normal;
font-variant-numeric: normal; font-variant-alternates:
normal; font-variant-east-asian: normal; margin: 0px;
line-height: normal; -webkit-text-stroke-color: rgb(0, 0,
0); min-height: 14px;" class=""><br class="">
</div>
<br class="Apple-interchange-newline" style="caret-color:
rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px; font-style: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: center; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; text-decoration: none;">
<span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: auto; text-align: center;
text-indent: 0px; text-transform: none; white-space:
normal; widows: auto; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; text-decoration: none;"><span><span><span><span><span><span><span><span><span><span><img
apple-inline="yes"
id="77F2E8CE-2899-4C13-9A05-00747EC475B1"
src="cid:part19.D2902928.06F68F17@camptocamp.com" class=""></span>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0); min-height: 14px;" class=""><br
class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0); min-height: 14px;" class=""><br
class="">
</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class=""><b class="">Tim Sutton</b></div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0); min-height: 14px;" class=""><br
class="">
</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class=""><b class="">Co-founder:</b><span
class="Apple-converted-space"> </span>Kartoza</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class=""><b class="">Ex Project
chair:</b><span style="font-weight:
normal;" class=""><span
class="Apple-converted-space"> </span><a
href="http://QGIS.org" class=""
moz-do-not-send="true">QGIS.org</a></span></div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0); min-height: 14px;" class=""><br
class="">
</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class="">Visit <a
href="http://kartoza.com/" class=""
moz-do-not-send="true"><span
style="-webkit-text-stroke-color:
rgb(71, 135, 255);" class="">http://kartoza.com</span></a> to
find out about open source:</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0); min-height: 14px;" class=""><br
class="">
</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class="">Desktop GIS programming
services</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class="">Geospatial web
development</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class="">GIS Training</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class="">Consulting Services</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0); min-height: 14px;" class=""><br
class="">
</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class=""><b class="">Skype</b>:
timlinux </div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal; font-variant-caps:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class=""><b class="">IRC:</b><span
class="Apple-converted-space"> </span>timlinux
on #qgis at <a
href="http://freenode.net" class=""
moz-do-not-send="true">freenode.net</a></div>
</span></span></span></span></span></span></span></span></span></span></div>
</div>
<br class="">
</div>
</blockquote>
</body>
</html>