Skip to content
Permalink
Browse files

better docstrings

  • Loading branch information
ralsina committed May 10, 2015
1 parent 7cc53c2 commit c809cdef59e4e89928c7ebdb3f274807a0a8d6fa
Showing with 2 additions and 6 deletions.
  1. +1 −5 nikola/plugin_categories.py
  2. +1 −1 nikola/plugins/task/scan_posts.py
@@ -86,11 +86,7 @@ class PostScanner(BasePlugin):
"""The scan method of these plugins is called by Nikola.scan_posts."""

def scan(self):
"""Creates a list of posts from some source. Returns timeline, global_data:
timeline is a list of Post objects
global_data is a dictionary where keys are source paths and values are posts.
"""
"""Creates a list of posts from some source. Returns a list of Post objects."""
raise NotImplementedError()


@@ -40,7 +40,7 @@ class ScanPosts(PostScanner):
name = "scan_posts"

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

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

0 comments on commit c809cde

Please sign in to comment.