forked from github/pelican
The refresh_metadata_intersite_links() is called again later, so this bit was only causing everything to be processed twice. Besides that, it makes the processing dependent on file order -- in particular, when metadata references a file that was not parsed yet, it reported an "Unable to find" warning. But everything is found in the second pass, so this only causes a superflous false warning and no change to the output. The related test now needs to call the refresh_metadata_intersite_links() explicitly. That function is called from Pelican.run() and all generators but the test processes just one page so it has no chance of being called implicitly. Related discussion: https://github.com/getpelican/pelican/pull/2288/files#r204337359 |
||
|---|---|---|
| .. | ||
| content | ||
| cyclic_intersite_links | ||
| mixed_content | ||
| nested_content/maindir | ||
| output | ||
| TestPages | ||
| theme_overrides | ||
| __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_server.py | ||
| test_settings.py | ||
| test_testsuite.py | ||
| test_urlwrappers.py | ||
| test_utils.py | ||