mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
A couple of docstrings are fixed (they were refering obsolete params)
This commit is contained in:
parent
1264b81bb6
commit
06246557c5
2 changed files with 6 additions and 8 deletions
|
|
@ -6,8 +6,7 @@ class Page(object):
|
|||
"""Represents a page
|
||||
Given a content, and metadatas, create an adequate object.
|
||||
|
||||
:param string: the string to parse, containing the original content.
|
||||
:param markup: the markup language to use while parsing.
|
||||
:param content: the string to parse, containing the original content.
|
||||
"""
|
||||
mandatory_properties = ('title',)
|
||||
|
||||
|
|
|
|||
|
|
@ -44,9 +44,8 @@ class Writer(object):
|
|||
Return the feed. If no output_path or filename is specified, just return
|
||||
the feed object.
|
||||
|
||||
:param articles: the articles to put on the feed.
|
||||
:param elements: the articles to put on the feed.
|
||||
:param context: the context to get the feed metadata.
|
||||
:param output_path: where to output the file.
|
||||
:param filename: the filename to output.
|
||||
:param feed_type: the feed type to use (atom or rss)
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue