File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed
tutorials/sphinx-tutorials Expand file tree Collapse file tree 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");
944944if ( downloadNote . length >= 1 ) {
945945 var tutorialUrlArray = $ ( "#tutorial-type" ) . text ( ) . split ( '/' ) ;
946946
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" ,
948948 notebookLink = $ ( ".sphx-glr-download-jupyter" ) . find ( ".download.reference" ) [ 0 ] . href ,
949949 notebookDownloadPath = notebookLink . split ( '_downloads' ) [ 1 ] ,
950950 colabLink = "https://colab.research.google.com/github/pytorch/rl/blob/gh-pages/_downloads" + notebookDownloadPath ;
Original file line number Diff line number Diff line change 6060 var downloadNote = $ ( ".sphx-glr-download-link-note.admonition.note" ) ;
6161 if ( downloadNote . length >= 1 ) {
6262 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" ,
6464 notebookLink = $ ( ".sphx-glr-download-jupyter" ) . find ( ".download.reference" ) [ 0 ] . href ,
6565 notebookDownloadPath = notebookLink . split ( '_downloads' ) [ 1 ] ,
6666 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 5656# example:
5757#
5858
59- # sphinx_gallery_start_ignore
6059import gc
6160
62- # sphinx_gallery_end_ignore
63-
6461import tempfile
6562
6663from torchrl .data import ReplayBuffer
You can’t perform that action at this time.
0 commit comments