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
OpenDAS
Torchaudio
Commits
a6bcd291
Unverified
Commit
a6bcd291
authored
Nov 04, 2021
by
moto
Committed by
GitHub
Nov 04, 2021
Browse files
Fix colab URL (#1981)
parent
7c9402f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/source/_templates/layout.html
docs/source/_templates/layout.html
+1
-1
No files found.
docs/source/_templates/layout.html
View file @
a6bcd291
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
var
githubLink
=
"
https://github.com/pytorch/audio/blob/main/examples/gallery/
"
+
tutorialUrlArray
.
join
(
"
/
"
)
+
"
.py
"
,
var
githubLink
=
"
https://github.com/pytorch/audio/blob/main/examples/gallery/
"
+
tutorialUrlArray
.
join
(
"
/
"
)
+
"
.py
"
,
notebookLink
=
$
(
"
.reference.download
"
)[
1
].
href
,
notebookLink
=
$
(
"
.reference.download
"
)[
1
].
href
,
notebookDownloadPath
=
notebookLink
.
split
(
'
_downloads
'
)[
1
],
notebookDownloadPath
=
notebookLink
.
split
(
'
_downloads
'
)[
1
],
colabLink
=
"
https://colab.research.google.com/github/pytorch/audio/blob/gh-pages/_downloads
"
+
notebookDownloadPath
;
colabLink
=
"
https://colab.research.google.com/github/pytorch/audio/blob/gh-pages/
main/
_downloads
"
+
notebookDownloadPath
;
$
(
"
.pytorch-call-to-action-links a[data-response='Run in Google Colab']
"
).
attr
(
"
href
"
,
colabLink
);
$
(
"
.pytorch-call-to-action-links a[data-response='Run in Google Colab']
"
).
attr
(
"
href
"
,
colabLink
);
$
(
"
.pytorch-call-to-action-links a[data-response='View on Github']
"
).
attr
(
"
href
"
,
githubLink
);
$
(
"
.pytorch-call-to-action-links a[data-response='View on Github']
"
).
attr
(
"
href
"
,
githubLink
);
...
...
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