Skip to content

Commit c809cde

Browse files
committedMay 10, 2015
better docstrings
1 parent 7cc53c2 commit c809cde

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed
 

Diff for: ‎nikola/plugin_categories.py

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

8888
def scan(self):
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-
"""
89+
"""Creates a list of posts from some source. Returns a list of Post objects."""
9490
raise NotImplementedError()
9591

9692

Diff for: ‎nikola/plugins/task/scan_posts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class ScanPosts(PostScanner):
4040
name = "scan_posts"
4141

4242
def scan(self):
43-
"""Build final pages from metadata and HTML fragments."""
43+
"""Create list of posts from POSTS and PAGES options."""
4444

4545
seen = set([])
4646
if not self.site.quiet:

0 commit comments

Comments
 (0)
Please sign in to comment.