Merge "Ignore 'last_updated' for auto-generated pages"
This commit is contained in:
commit
67e29f996b
|
@ -84,9 +84,13 @@ def _get_last_updated(app, pagename):
|
||||||
'[openstackdocstheme] Last updated for %s is %s',
|
'[openstackdocstheme] Last updated for %s is %s',
|
||||||
pagename, last_updated)
|
pagename, last_updated)
|
||||||
return last_updated
|
return last_updated
|
||||||
LOG.info(
|
|
||||||
'[openstackdocstheme] could not determine last_updated for %r',
|
if pagename not in ('genindex', 'search'):
|
||||||
pagename)
|
LOG.info(
|
||||||
|
'[openstackdocstheme] could not determine last_updated for %r',
|
||||||
|
pagename,
|
||||||
|
)
|
||||||
|
|
||||||
return _default_last_updated
|
return _default_last_updated
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue