From 5a069cee3b21edd1212be06fcb4399c35500ab1c Mon Sep 17 00:00:00 2001 From: Misha Ramendik Date: Thu, 27 Jun 2024 23:19:16 +0100 Subject: [PATCH] OSDOCS 11122 modify base URL to use docs.redhat --- build_for_portal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_for_portal.py b/build_for_portal.py index d4a2f53590..5c1bf38eff 100644 --- a/build_for_portal.py +++ b/build_for_portal.py @@ -25,7 +25,7 @@ cli.init_logging(False, True) has_errors = False CLONE_DIR = "." -BASE_PORTAL_URL = "https://access.redhat.com/documentation/en-us/" +BASE_PORTAL_URL = "https://docs.redhat.com/en/documentation/" # ID_RE = re.compile("^\[(?:\[|id=\'|#)(.*?)(\'?,.*?)?(?:\]|\')?\]", re.M | re.DOTALL) ID_RE = re.compile( "^\[(?:\[|id='|#|id=\")(.*?)('?,.*?)?(?:\]|'|\")?\]", re.M | re.DOTALL