File tree 3 files changed +2
-5
lines changed
tutorials/sphinx-tutorials
3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -944,7 +944,7 @@ var downloadNote = $(".sphx-glr-download-link-note.admonition.note");
944
944
if ( downloadNote . length >= 1 ) {
945
945
var tutorialUrlArray = $ ( "#tutorial-type" ) . text ( ) . split ( '/' ) ;
946
946
947
- var githubLink = "https://github.com/pytorch/rl/tree/tutorial_py_dup/sphinx-tutorials/ " + tutorialUrlArray [ tutorialUrlArray . length - 1 ] + ".py" ,
947
+ var githubLink = "https://github.com/pytorch/rl/tree/tutorial_py_dup/sphinx-" + tutorialUrlArray [ tutorialUrlArray . length - 1 ] + ".py" ,
948
948
notebookLink = $ ( ".sphx-glr-download-jupyter" ) . find ( ".download.reference" ) [ 0 ] . href ,
949
949
notebookDownloadPath = notebookLink . split ( '_downloads' ) [ 1 ] ,
950
950
colabLink = "https://colab.research.google.com/github/pytorch/rl/blob/gh-pages/_downloads" + notebookDownloadPath ;
Original file line number Diff line number Diff line change 60
60
var downloadNote = $ ( ".sphx-glr-download-link-note.admonition.note" ) ;
61
61
if ( downloadNote . length >= 1 ) {
62
62
var tutorialUrl = $ ( "#tutorial-type" ) . text ( ) ;
63
- var githubLink = "https://github.com/pytorch/rl/blob/main/tutorials/sphinx-tutorials/ " + tutorialUrl + ".py" ,
63
+ var githubLink = "https://github.com/pytorch/rl/blob/main/tutorials/sphinx-" + tutorialUrl + ".py" ,
64
64
notebookLink = $ ( ".sphx-glr-download-jupyter" ) . find ( ".download.reference" ) [ 0 ] . href ,
65
65
notebookDownloadPath = notebookLink . split ( '_downloads' ) [ 1 ] ,
66
66
colabLink = "https://colab.research.google.com/github/pytorch/rl/blob/gh-pages/main/_downloads" + notebookDownloadPath ;
Original file line number Diff line number Diff line change 56
56
# example:
57
57
#
58
58
59
- # sphinx_gallery_start_ignore
60
59
import gc
61
60
62
- # sphinx_gallery_end_ignore
63
-
64
61
import tempfile
65
62
66
63
from torchrl .data import ReplayBuffer
You can’t perform that action at this time.
0 commit comments