mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
When memoizing summary a dummy get_summary function was introduced to properly work. This has multiple problems: * The siteurl argument is actually not used in the function, it is only used so it properly memoizes. * It differs from how content is accessed and memoized. This commit brings summary inline with how content is accessed and processed. It also removes the old get_summary function with the unused siteurl argument. Additionally _get_summary is marked as deprecated and calls .summary instead while also issueing a warning. |
||
|---|---|---|
| .. | ||
| tests | ||
| themes | ||
| tools | ||
| __init__.py | ||
| cache.py | ||
| contents.py | ||
| generators.py | ||
| log.py | ||
| paginator.py | ||
| readers.py | ||
| rstdirectives.py | ||
| server.py | ||
| settings.py | ||
| signals.py | ||
| urlwrappers.py | ||
| utils.py | ||
| writers.py | ||