Skip to content

Commit 354a469

Browse files
authored
Merge pull request carpentries#163 from mawds/sortfigs
Output episode figures in correct order
2 parents ba59492 + 2208a4b commit 354a469

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,19 +65,19 @@ MARKDOWN_SRC = \
6565
index.md \
6666
CONDUCT.md \
6767
setup.md \
68-
$(wildcard _episodes/*.md) \
68+
$(sort $(wildcard _episodes/*.md)) \
6969
reference.md \
70-
$(wildcard _extras/*.md) \
70+
$(sort $(wildcard _extras/*.md)) \
7171
LICENSE.md
7272

7373
# Generated lesson files in the order they appear in the navigation menu.
7474
HTML_DST = \
7575
${DST}/index.html \
7676
${DST}/conduct/index.html \
7777
${DST}/setup/index.html \
78-
$(patsubst _episodes/%.md,${DST}/%/index.html,$(wildcard _episodes/*.md)) \
78+
$(patsubst _episodes/%.md,${DST}/%/index.html,$(sort $(wildcard _episodes/*.md))) \
7979
${DST}/reference/index.html \
80-
$(patsubst _extras/%.md,${DST}/%/index.html,$(wildcard _extras/*.md)) \
80+
$(patsubst _extras/%.md,${DST}/%/index.html,$(sort $(wildcard _extras/*.md))) \
8181
${DST}/license/index.html
8282

8383
## lesson-md : convert Rmarkdown files to markdown

0 commit comments

Comments
 (0)