mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-02 03:01:07 +06:00
Fix doc links in release utils (#15903)
This commit is contained in:
parent
3d2242869d
commit
39249c9589
@ -88,8 +88,8 @@ def clean_master_ref_in_model_list():
|
|||||||
while not lines[index].startswith(_end_prompt):
|
while not lines[index].startswith(_end_prompt):
|
||||||
if lines[index].startswith("1."):
|
if lines[index].startswith("1."):
|
||||||
lines[index] = lines[index].replace(
|
lines[index] = lines[index].replace(
|
||||||
"https://huggingface.co/transformers/master/model_doc",
|
"https://huggingface.co/docs/transformers/master/model_doc",
|
||||||
"https://huggingface.co/transformers/model_doc",
|
"https://huggingface.co/docs/transformers/model_doc",
|
||||||
)
|
)
|
||||||
index += 1
|
index += 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user