diff options
| author | 2016-11-15 14:18:53 -0300 | |
|---|---|---|
| committer | 2016-11-15 14:18:53 -0300 | |
| commit | 1ad5102b7ddd181bb9c632b124d3ea4c7db28be6 (patch) | |
| tree | 73dda18465d0f4b8eb52d4482282a387c9f67c95 /docs/internals.txt | |
| parent | b67294f76809a681ff73f209ed691a3e3f00563d (diff) | |
| parent | ffb671c61a24a9086343b54bad080e145ff33fc5 (diff) | |
Merge tag 'upstream/7.8.1'
Upstream version 7.8.1
# gpg: Firmado el mar 15 nov 2016 14:18:48 ART
# gpg: usando RSA clave A6C7B88B9583046A11C5403E0B00FB6CEBE2D002
# gpg: Firma correcta de "Ulises Vitulli <dererk@debian.org>" [absoluta]
# gpg: alias "Dererk <dererk@torproject.org>" [absoluta]
# gpg: alias "Ulises Vitulli <uvitulli@fi.uba.ar>" [absoluta]
# gpg: alias "Ulises Vitulli <dererk@satellogic.com>" [absoluta]
Diffstat (limited to 'docs/internals.txt')
| -rw-r--r-- | docs/internals.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/internals.txt b/docs/internals.txt index 448a6f7..39055e8 100644 --- a/docs/internals.txt +++ b/docs/internals.txt @@ -4,6 +4,7 @@ .. tags: .. link: .. description: +.. author: The Nikola Team Nikola Internals ================ @@ -87,14 +88,14 @@ one of the existing ones. You can do doctests, you can do unit tests, you can do integration tests. There is support for all of them. -Posts and Stories ------------------ +Posts and Pages +--------------- -Nikola has a concept of posts and stories. Both are more or less the same thing, except -posts are added into RSS feeds and stories are not. All of them are in a list called +Nikola has a concept of posts and pages. Both are more or less the same thing, except +posts are added into RSS feeds and pages are not. All of them are in a list called "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, +When you are creating a task that needs the list of posts and/or pages (for example, 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. |
