forked from github/pelican
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. |
||
|---|---|---|
| .. | ||
| content | ||
| mixed_content | ||
| nested_content/maindir | ||
| output | ||
| TestPages | ||
| __init__.py | ||
| default_conf.py | ||
| support.py | ||
| test_cache.py | ||
| test_contents.py | ||
| test_generators.py | ||
| test_importer.py | ||
| test_paginator.py | ||
| test_pelican.py | ||
| test_readers.py | ||
| test_rstdirectives.py | ||
| test_settings.py | ||
| test_urlwrappers.py | ||
| test_utils.py | ||