summaryrefslogtreecommitdiff
path: root/docs/_ext
diff options
context:
space:
mode:
authorrebortg <github@ghlr.de>2021-12-30 13:44:10 +0100
committerrebortg <github@ghlr.de>2021-12-30 13:44:10 +0100
commitaa777ade688b624049cd2b24a5bfb5fbe1b444f9 (patch)
treee83c3ff12239d35ed132e8fdf53ad78a1d8c837a /docs/_ext
parent2098a42ad2272e3a220d3bc6587766a03a0420ce (diff)
downloadvyos-documentation-aa777ade688b624049cd2b24a5bfb5fbe1b444f9.tar.gz
vyos-documentation-aa777ade688b624049cd2b24a5bfb5fbe1b444f9.zip
correct build warnings
Diffstat (limited to 'docs/_ext')
-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: