File tree Expand file tree Collapse file tree 2 files changed +8
-2267
lines changed Expand file tree Collapse file tree 2 files changed +8
-2267
lines changed Original file line number Diff line number Diff line change @@ -86,21 +86,29 @@ download:
86
86
wget https://www.cis.upenn.edu/~jshi/ped_html/PennFudanPed.zip -P $(DATADIR)
87
87
unzip -o $(DATADIR)/PennFudanPed.zip -d intermediate_source/data/
88
88
89
+ download-last-reviewed-json :
90
+ curl -o tutorials-review-data.json https://raw.githubusercontent.com/pytorch/tutorials/refs/heads/last-reviewed-data-json/tutorials-review-data.json
91
+
89
92
docs :
90
93
make download
94
+ make download-last-reviewed-json
91
95
make html
92
96
@python insert_last_verified.py $(BUILDDIR ) /html
93
97
rm -rf docs
94
98
cp -r $(BUILDDIR ) /html docs
95
99
touch docs/.nojekyll
100
+ rm -rf tutorials-review-data.json
96
101
97
102
html-noplot :
98
103
$(SPHINXBUILD ) -D plot_gallery=0 -b html $(SPHINXOPTS ) " $( SOURCEDIR) " " $( BUILDDIR) /html"
99
104
# bash .jenkins/remove_invisible_code_block_batch.sh "$(BUILDDIR)/html"
100
105
@echo
106
+ make download-last-reviewed-json
101
107
@echo " Build finished. The HTML pages are in $( BUILDDIR) /html."
102
108
@echo " Running post-processing script to insert 'Last Verified' dates..."
103
109
@python insert_last_verified.py $(BUILDDIR ) /html
110
+ rm -rf tutorials-review-data.json
111
+
104
112
clean-cache :
105
113
make clean
106
114
rm -rf advanced beginner intermediate recipes
You can’t perform that action at this time.
0 commit comments