diff options
author | Steven Kreuzer <skreuzer@FreeBSD.org> | 2019-01-08 03:15:41 +0000 |
---|---|---|
committer | Steven Kreuzer <skreuzer@FreeBSD.org> | 2019-01-08 03:15:41 +0000 |
commit | 19d9ae132f428bad807b8fb4ca79df90be41c4dd (patch) | |
tree | 7c42aed6835c5dad9e7032a419c4271a32627490 /textproc/Makefile | |
parent | 96ae020e6abd314bd7008be8de124515c9f5f214 (diff) | |
download | ports-19d9ae132f428bad807b8fb4ca79df90be41c4dd.tar.gz ports-19d9ae132f428bad807b8fb4ca79df90be41c4dd.zip |
The Python package custom_inherit provides convenient, light-weight tools for
inheriting docstrings in customizeable ways.
Features:
* Metaclass that instructs children to inherit docstrings for their
attributes from their parents, using custom docstring inheritance styles.
* Decorator that merges a string/docstring with the docstring of the decorated
object using custom styles.
* Built-in docstring merging styles for popular docstring specifications:
* NumPy docstring specification
* Napoleon docstring specifications (for both Google and NumPy styles)
* Merging based on reST sections
* Simple inheritance from a parent, if the docstring is not overwritten
* Simple interface for using your own docstring inheritance style.
WWW: https://github.com/meowklaski/custom_inherit
Notes
Notes:
svn path=/head/; revision=489639
Diffstat (limited to 'textproc/Makefile')
-rw-r--r-- | textproc/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 042032a3e78b..34fa15cd49ae 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1280,6 +1280,7 @@ SUBDIR += py-colorclass SUBDIR += py-creole SUBDIR += py-csvkit + SUBDIR += py-custom_inherit SUBDIR += py-dbfread SUBDIR += py-diff-match-patch SUBDIR += py-docutils |