[PATCH 2/2] Convert to sphinx docstrings.

Anne Mulhern amulhern at redhat.com
Fri Dec 13 22:48:04 UTC 2013





----- Original Message -----
> From: "David Lehman" <dlehman at redhat.com>
> To: anaconda-patches at lists.fedorahosted.org
> Sent: Friday, December 13, 2013 10:58:42 AM
> Subject: [PATCH 2/2] Convert to sphinx docstrings.
> 
> ---
>  blivet/__init__.py          | 330 +++++++++++++++---
>  blivet/dasd.py              |   3 -
>  blivet/devices.py           | 833
>  ++++++++++++++++++++++++--------------------
>  blivet/devicetree.py        | 248 +++++++++++--
>  blivet/formats/__init__.py  | 107 ++++--
>  blivet/formats/biosboot.py  |  12 +-
>  blivet/formats/disklabel.py |  72 ++--
>  blivet/formats/dmraid.py    |  16 +-
>  blivet/formats/fs.py        | 146 +++++---
>  blivet/formats/luks.py      |  74 +++-
>  blivet/formats/lvmpv.py     |  47 ++-
>  blivet/formats/mdraid.py    |  20 +-
>  blivet/formats/multipath.py |  15 +-
>  blivet/formats/prepboot.py  |  29 +-
>  blivet/formats/swap.py      |  60 +++-
>  blivet/iscsi.py             |   3 -
>  blivet/partitioning.py      | 447 ++++++++++++++++--------
>  17 files changed, 1645 insertions(+), 817 deletions(-)
> 

Might as well put this all in and then proceed to bring the rest in line.

Note that sphinx generates documentation for the abstractproperty function, not for the property that it's defining.
It works fine on the property function.

> --
> 1.8.1.4
> 
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
> 


More information about the anaconda-patches mailing list