summaryrefslogtreecommitdiff
path: root/docs/_ext/vyos.py
diff options
context:
space:
mode:
authorrebortg <github@ghlr.de>2021-12-30 13:50:20 +0100
committerrebortg <github@ghlr.de>2021-12-30 13:50:20 +0100
commit809fe36227118ebafabb28ba430336ee270d1e66 (patch)
tree02f96dd241f2bd69c14075d4065cad9ab8a6ba0c /docs/_ext/vyos.py
parent8ad770055bff50ca9e65ef8432344a66fb403fbe (diff)
downloadvyos-documentation-809fe36227118ebafabb28ba430336ee270d1e66.tar.gz
vyos-documentation-809fe36227118ebafabb28ba430336ee270d1e66.zip
correct build warnings
Diffstat (limited to 'docs/_ext/vyos.py')
-rw-r--r--docs/_ext/vyos.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/_ext/vyos.py b/docs/_ext/vyos.py
index 0a198821..667f2777 100644
--- a/docs/_ext/vyos.py
+++ b/docs/_ext/vyos.py
@@ -655,7 +655,7 @@ def handle_document_meta_data(app, document):
try:
lastproofread_time = datetime.strptime(lastproofread, '%Y-%m-%d')
delta = datetime.now() - lastproofread_time
- if delta.days > 180:
+ if delta.days > 365:
logger.warning(f'{delta.days} days since last proofread {app.env.doc2path(docname)}')
except Exception as e: