Fixed documentation
Signed-off-by: Lars Kiesow <lkiesow@uos.de>
This commit is contained in:
parent
44cd92837d
commit
df164b37db
1 changed files with 3 additions and 1 deletions
|
@ -538,6 +538,7 @@ class FeedGenerator(object):
|
||||||
rel, type, hreflang, title, and length. Href is mandatory for ATOM.
|
rel, type, hreflang, title, and length. Href is mandatory for ATOM.
|
||||||
|
|
||||||
This method can be called with:
|
This method can be called with:
|
||||||
|
|
||||||
- the fields of a link as keyword arguments
|
- the fields of a link as keyword arguments
|
||||||
- the fields of a link as a dictionary
|
- the fields of a link as a dictionary
|
||||||
- a list of dictionaries containing the link fields
|
- a list of dictionaries containing the link fields
|
||||||
|
@ -567,7 +568,8 @@ class FeedGenerator(object):
|
||||||
RSS only supports one link with URL only.
|
RSS only supports one link with URL only.
|
||||||
|
|
||||||
:param link: Dict or list of dicts with data.
|
:param link: Dict or list of dicts with data.
|
||||||
:param replace: Add or replace old data.
|
:param replace: If old links are to be replaced (default: False)
|
||||||
|
:returns: Current set of link data
|
||||||
|
|
||||||
Example::
|
Example::
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue