Skip to content

Commit 2fe0484

Browse files
committedMay 9, 2015
updated plugin doc
1 parent bc0e815 commit 2fe0484

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

Diff for: ‎nikola/plugin_categories.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,11 @@ class PostScanner(BasePlugin):
8686
"""The scan method of these plugins is called by Nikola.scan_posts."""
8787

8888
def scan(self):
89-
"""Load posts into the timeline."""
89+
"""Creates a list of posts from some source. Returns timeline, global_data:
90+
91+
timeline is a list of Post objects
92+
global_data is a dictionary where keys are source paths and values are posts.
93+
"""
9094
raise NotImplementedError()
9195

9296

0 commit comments

Comments
 (0)
Please sign in to comment.