Skip to content

Commit 8ee60d0

Browse files
authored
MAINT: Link to sg_execution_times (#12008)
1 parent 9de0ef6 commit 8ee60d0

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ jobs:
208208
name: List packages
209209
command: python -m pip list
210210

211-
# Figure out if we should run a full, pattern, or noplot version
211+
# Figure out if we should run a full build or specify a pattern
212212
- restore_cache:
213213
keys:
214214
- data-cache-tiny-1
@@ -311,7 +311,7 @@ jobs:
311311
- run:
312312
name: Reduce artifact upload time
313313
command: |
314-
if grep -q html-pattern-memory build.txt || grep -q html-noplot build.txt; then
314+
if grep -q html-pattern-memory build.txt; then
315315
zip -rm doc/_build/html/_downloads.zip doc/_build/html/_downloads
316316
fi
317317
for NAME in generated auto_tutorials auto_examples; do

.github/workflows/circle_artifacts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ jobs:
1010
with:
1111
repo-token: ${{ secrets.GITHUB_TOKEN }}
1212
api-token: ${{ secrets.CIRCLECI_TOKEN }}
13-
artifact-path: 0/html/index.html
13+
artifact-path: 0/html/sg_execution_times.html
1414
circleci-jobs: build_docs,build_docs_main
1515
job-title: Check the rendered docs here!

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ doc/samples
7070
doc/*.dat
7171
doc/fil-result
7272
doc/optipng.exe
73+
sg_execution_times.rst
7374
cover
7475
*.html
7576

doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ help:
2828
@echo " view to view the built HTML"
2929

3030
clean:
31-
-rm -rf _build auto_examples auto_tutorials generated *.stc *.fif *.nii.gz
31+
-rm -rf _build sg_execution_times.rst auto_examples auto_tutorials generated *.stc *.fif *.nii.gz
3232

3333
html:
3434
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) _build/html

tools/circleci_download.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@ else
113113
fi;
114114
done;
115115
echo PATTERN="$PATTERN";
116+
echo html-pattern-memory > build.txt;
116117
if [[ $PATTERN ]]; then
117118
PATTERN="\(${PATTERN::-2}\)";
118-
echo html-pattern-memory > build.txt;
119119
else
120-
echo html-noplot > build.txt;
120+
PATTERN="run_no_examples_or_tutorials"
121121
fi;
122122
fi;
123123
echo "$PATTERN" > pattern.txt;

0 commit comments

Comments
 (0)