Skip to content

Commit b8cec99

Browse files
committedMay 9, 2015
lie a little less
1 parent 2fe0484 commit b8cec99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎docs/internals.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ posts are added into RSS feeds and stories are not. All of them are in a list ca
9595
"the timeline" formed by objects of class ``Post``.
9696

9797
When you are creating a task that needs the list of posts and/or stories (for example,
98-
the RSS creation plugin) on task execution time, your plugin should have a dependency
99-
on the ``scan_posts`` task to ensure the timeline is created and available in
98+
the RSS creation plugin) on task execution time, your plugin should call ``self.site.scan_posts()``
99+
in ``gen_tasks`` to ensure the timeline is created and available in
100100
``self.site.timeline``. You should not modify the timeline, because it will cause consistency issues.
101101

102102
.. sidebar:: scan_posts

0 commit comments

Comments
 (0)
Please sign in to comment.