Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
39249c95
Unverified
Commit
39249c95
authored
Mar 02, 2022
by
Sylvain Gugger
Committed by
GitHub
Mar 02, 2022
Browse files
Fix doc links in release utils (#15903)
parent
3d224286
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
utils/release.py
utils/release.py
+2
-2
No files found.
utils/release.py
View file @
39249c95
...
@@ -88,8 +88,8 @@ def clean_master_ref_in_model_list():
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment