From fc96a1b96cdd9e970f279d8592248635d37edbc4 Mon Sep 17 00:00:00 2001 From: Ryan Rawdon Date: Mon, 17 Jun 2024 14:04:38 -0400 Subject: [PATCH] Fixes #707 bad docuentation URLs --- sh.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sh.py b/sh.py index 549a7550..6c289c77 100644 --- a/sh.py +++ b/sh.py @@ -1,5 +1,6 @@ """ -http://amoffat.github.io/sh/ +https://sh.readthedocs.io/en/latest/ +https://github.com/amoffat/sh """ # =============================================================================== # Copyright (C) 2011-2023 by Andrew Moffat @@ -1094,7 +1095,7 @@ def fg_validator(passed_kwargs, merged_kwargs): msg = """\ _fg is invalid with nearly every other option, see warning and workaround here: - https://amoffat.github.io/sh/sections/special_arguments.html#fg""" + https://sh.readthedocs.io/en/latest/sections/special_arguments.html#fg""" allowlist = {"env", "fg", "cwd", "ok_code"} offending = set(passed_kwargs.keys()) - allowlist