Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
lie a little less
  • Loading branch information
ralsina committed May 9, 2015
1 parent 2fe0484 commit b8cec99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/internals.txt
Expand Up @@ -95,8 +95,8 @@ posts are added into RSS feeds and stories are not. All of them are in a list ca
"the timeline" formed by objects of class ``Post``.

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

.. sidebar:: scan_posts
Expand Down

0 comments on commit b8cec99

Please sign in to comment.