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',
|
||||
pagename, last_updated)
|
||||
return last_updated
|
||||
LOG.info(
|
||||
'[openstackdocstheme] could not determine last_updated for %r',
|
||||
pagename)
|
||||
|
||||
if pagename not in ('genindex', 'search'):
|
||||
LOG.info(
|
||||
'[openstackdocstheme] could not determine last_updated for %r',
|
||||
pagename,
|
||||
)
|
||||
|
||||
return _default_last_updated
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user