From 39249c9589f5eb9677807e74221e2eb3ea1b4a35 Mon Sep 17 00:00:00 2001 From: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> Date: Wed, 2 Mar 2022 18:06:31 -0500 Subject: [PATCH] Fix doc links in release utils (#15903) --- utils/release.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/release.py b/utils/release.py index 9b827c7336..73e950f47a 100644 --- a/utils/release.py +++ b/utils/release.py @@ -88,8 +88,8 @@ def clean_master_ref_in_model_list(): while not lines[index].startswith(_end_prompt): if lines[index].startswith("1."): lines[index] = lines[index].replace( - "https://huggingface.co/transformers/master/model_doc", - "https://huggingface.co/transformers/model_doc", + "https://huggingface.co/docs/transformers/master/model_doc", + "https://huggingface.co/docs/transformers/model_doc", ) index += 1