Re: [Qgis-developer] 'Native' python docs for QGIS

2017-04-20 Thread Alessandro Pasotti
On Thu, Apr 20, 2017 at 5:40 PM, Matthias Kuhn  wrote:

> Whee,
>
> Nice one. Does that mean we almost have appropriate docs for python
> development?
>
> Too good to be true :)
>
>
>

Yeah, thanks Tim!

I guess all we need to do now is to clean and update the cookbook :)

Reference is mandatory, but the cookbook has been an invaluable source of
information for years, unfortunately it is not easy to keep it up to date.




>
> On 4/17/17 8:56 AM, Tim Sutton wrote:
>
> Hi
>
>
> On 17 Apr 2017, at 3:14 AM, Nyall Dawson  wrote:
>
> On 14 April 2017 at 09:40, Tim Sutton  wrote:
>
>
> Hi All
>
> I made a first pass hack to build python docs from the sip bindings for
> QGIS.
>
> See the README & code here:
>
> https://github.com/qgis/QGISPythonAPIDocumentation
>
> There are a few things not yet documented like setting up sphinx etc
>
>
> Sounds great! Have you got a sample of the output online?
>
>
> Yes (same caveats apply about it being a rough first pass).
>
> http://qgis-python.kartoza.com/docs/
>
> When it is more tidy I will put it on a QGIS.ORG domain - I plan to split
> the docs into logical subgroups  and perhaps merge it into the cookbook so
> that we can cross reference the API from the examples. For now I am just
> playing around to see what is feasible - I will hopefully put some work
> into it a the QGIS hackfest in Essen.
>
> I'd also try to work up some guideline so that we can require incoming
> code generates nice docs. In InaSAFE we have a 'tidy everything you touch'
> policy - it would be nice to institute the same in QGIS so that as well as
> unit tests, peer reviews also require decent API docs in order for code to
> be merged.
>
> Regards
>
> Tim
>
>
> Nyall
>
>
> —
>
>
>
>
>
>
>
>
>
> *Tim Sutton*
>
> *Co-founder:* Kartoza
> *Project chair:* QGIS.org
>
> Visit http://kartoza.com to find out about open source:
>
> Desktop GIS programming services
> Geospatial web development
> GIS Training
> Consulting Services
>
> *Skype*: timlinux
> *IRC:* timlinux on #qgis at freenode.net
>
> Kartoza is a merger between Linfiniti and Afrispatial
>
>
>
> ___
> Qgis-developer mailing listqgis-develo...@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
Alessandro Pasotti
w3:   www.itopen.it
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] 'Native' python docs for QGIS

2017-04-20 Thread Matthias Kuhn
Whee,

Nice one. Does that mean we almost have appropriate docs for python
development?

Too good to be true :)


On 4/17/17 8:56 AM, Tim Sutton wrote:
> Hi
>
>
>> On 17 Apr 2017, at 3:14 AM, Nyall Dawson > > wrote:
>>
>> On 14 April 2017 at 09:40, Tim Sutton > > wrote:
>>>
>>> Hi All
>>>
>>> I made a first pass hack to build python docs from the sip bindings
>>> for QGIS.
>>>
>>> See the README & code here:
>>>
>>> https://github.com/qgis/QGISPythonAPIDocumentation
>>>
>>> There are a few things not yet documented like setting up sphinx etc
>>
>> Sounds great! Have you got a sample of the output online?
>
> Yes (same caveats apply about it being a rough first pass).
>
> http://qgis-python.kartoza.com/docs/
>
> When it is more tidy I will put it on a QGIS.ORG 
> domain - I plan to split the docs into logical subgroups  and perhaps
> merge it into the cookbook so that we can cross reference the API from
> the examples. For now I am just playing around to see what is feasible
> - I will hopefully put some work into it a the QGIS hackfest in Essen.
>
> I'd also try to work up some guideline so that we can require incoming
> code generates nice docs. In InaSAFE we have a 'tidy everything you
> touch' policy - it would be nice to institute the same in QGIS so that
> as well as unit tests, peer reviews also require decent API docs in
> order for code to be merged.
>
> Regards
>
> Tim
>
>>
>> Nyall
>
> —
>
>
>
>
>
>
>
>
>
> *Tim Sutton*
>
> *Co-founder:* Kartoza
> *Project chair:* QGIS.org 
>
> Visit http://kartoza.com  to find out about open
> source:
>
> Desktop GIS programming services
> Geospatial web development
> GIS Training
> Consulting Services
>
> *Skype*: timlinux 
> *IRC:* timlinux on #qgis at freenode.net 
>
> Kartoza is a merger between Linfiniti and Afrispatial
>
>
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] 'Native' python docs for QGIS

2017-04-17 Thread Tim Sutton
Hi


> On 17 Apr 2017, at 3:14 AM, Nyall Dawson  wrote:
> 
> On 14 April 2017 at 09:40, Tim Sutton  wrote:
>> 
>> Hi All
>> 
>> I made a first pass hack to build python docs from the sip bindings for QGIS.
>> 
>> See the README & code here:
>> 
>> https://github.com/qgis/QGISPythonAPIDocumentation
>> 
>> There are a few things not yet documented like setting up sphinx etc
> 
> Sounds great! Have you got a sample of the output online?

Yes (same caveats apply about it being a rough first pass).

http://qgis-python.kartoza.com/docs/

When it is more tidy I will put it on a QGIS.ORG domain - I plan to split the 
docs into logical subgroups  and perhaps merge it into the cookbook so that we 
can cross reference the API from the examples. For now I am just playing around 
to see what is feasible - I will hopefully put some work into it a the QGIS 
hackfest in Essen.

I'd also try to work up some guideline so that we can require incoming code 
generates nice docs. In InaSAFE we have a 'tidy everything you touch' policy - 
it would be nice to institute the same in QGIS so that as well as unit tests, 
peer reviews also require decent API docs in order for code to be merged.

Regards

Tim

> 
> Nyall

—










Tim Sutton

Co-founder: Kartoza
Project chair: QGIS.org

Visit http://kartoza.com  to find out about open source:

Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

Skype: timlinux 
IRC: timlinux on #qgis at freenode.net

Kartoza is a merger between Linfiniti and Afrispatial

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] 'Native' python docs for QGIS

2017-04-16 Thread Nyall Dawson
On 14 April 2017 at 09:40, Tim Sutton  wrote:
>
> Hi All
>
> I made a first pass hack to build python docs from the sip bindings for QGIS.
>
> See the README & code here:
>
> https://github.com/qgis/QGISPythonAPIDocumentation
>
> There are a few things not yet documented like setting up sphinx etc

Sounds great! Have you got a sample of the output online?

Nyall
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] 'Native' python docs for QGIS

2017-04-13 Thread Tim Sutton
Hi All

I made a first pass hack to build python docs from the sip bindings for QGIS.

See the README & code here:

https://github.com/qgis/QGISPythonAPIDocumentation

There are a few things not yet documented like setting up sphinx etc

Regards

Tim
—










Tim Sutton

Co-founder: Kartoza
Project chair: QGIS.org

Visit http://kartoza.com  to find out about open source:

Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

Skype: timlinux 
IRC: timlinux on #qgis at freenode.net

Kartoza is a merger between Linfiniti and Afrispatial

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer