File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ if [[ "${JOB_TYPE}" == "worker" ]]; then
57
57
export FILES_TO_RUN
58
58
59
59
# Step 2.1: Add timestamps to .py and .rst files in source directories
60
- bash $DIR /update_timestamps_batch.sh .
60
+ bash $DIR /update_timestamps_batch.sh
61
61
62
62
# Step 3: Run `make docs` to generate HTML files and static files for these tutorialis
63
63
pip3 install -e git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
@@ -123,7 +123,7 @@ if [[ "${JOB_TYPE}" == "worker" ]]; then
123
123
elif [[ " ${JOB_TYPE} " == " manager" ]]; then
124
124
125
125
# Step 0.9: Add timestamps to .py and .rst files in source directories
126
- bash $DIR /update_timestamps_batch.sh .
126
+ bash $DIR /update_timestamps_batch.sh
127
127
128
128
# Step 1: Generate no-plot HTML pages for all tutorials
129
129
pip3 install -e git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ IFS='|' read -r -a file_array <<< "$SPHINX_SHOULD_RUN"
14
14
15
15
# Loop through each file and update timestamps if it exists
16
16
for file in " ${file_array[@]} " ; do
17
- file=" ../$file "
17
+ file=" $DIR / ../$file "
18
18
if [ -f " $file " ]; then
19
19
python " $DIR /update_timestamps.py" " $file "
20
20
fi
You can’t perform that action at this time.
0 commit comments