Skip to content
Snippets Groups Projects
Commit 93764fa9 authored by Greg Wilson's avatar Greg Wilson
Browse files

Merge branch '2016-06' of github.com:swcarpentry/styles into 2016-06

parents 7f834e99 600e4a3f
Branches
Tags
No related merge requests found
......@@ -4,6 +4,7 @@
# Settings
MAKEFILES=Makefile $(wildcard *.mk)
JEKYLL=jekyll
PARSER=bin/markdown_ast.rb
DST=_site
# Controls
......@@ -24,7 +25,7 @@ site :
## figures : re-generate inclusion displaying all figures.
figures :
@bin/extract_figures.py -s _episodes -p bin/markdown-ast.rb > _includes/all_figures.html
@bin/extract_figures.py -s _episodes -p ${PARSER} > _includes/all_figures.html
## clean : clean up junk files.
clean :
......@@ -71,7 +72,7 @@ HTML_FILES = \
## lesson-check : validate lesson Markdown.
lesson-check :
@bin/lesson_check.py -s . -p bin/markdown-ast.rb
@bin/lesson_check.py -s . -p ${PARSER}
unittest :
python bin/test_lesson_check.py
......
......@@ -315,6 +315,10 @@ permalink: /guide/
FIXME
'''
INCLUDES_ALL_FIGURES_HTML = '''\
<!-- empty -->
'''
BOILERPLATE = (
('AUTHORS', ROOT_AUTHORS),
('CITATION', ROOT_CITATION),
......@@ -327,7 +331,8 @@ BOILERPLATE = (
('_extras/about.md', EXTRAS_ABOUT_MD),
('_extras/discuss.md', EXTRAS_DISCUSS_MD),
('_extras/figures.md', EXTRAS_FIGURES_MD),
('_extras/guide.md', EXTRAS_GUIDE_MD)
('_extras/guide.md', EXTRAS_GUIDE_MD),
('_includes/all_figures.html', INCLUDES_ALL_FIGURES_HTML)
)
......
File moved
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment