diff options
author | rebortg <github@ghlr.de> | 2021-12-30 13:44:10 +0100 |
---|---|---|
committer | rebortg <github@ghlr.de> | 2021-12-30 13:44:10 +0100 |
commit | aa777ade688b624049cd2b24a5bfb5fbe1b444f9 (patch) | |
tree | e83c3ff12239d35ed132e8fdf53ad78a1d8c837a /docs/_ext | |
parent | 2098a42ad2272e3a220d3bc6587766a03a0420ce (diff) | |
download | vyos-documentation-aa777ade688b624049cd2b24a5bfb5fbe1b444f9.tar.gz vyos-documentation-aa777ade688b624049cd2b24a5bfb5fbe1b444f9.zip |
correct build warnings
Diffstat (limited to 'docs/_ext')
-rw-r--r-- | docs/_ext/vyos.py | 2 |
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: |