summaryrefslogtreecommitdiff
path: root/docs/tutorial/Makefile
diff options
context:
space:
mode:
authorMatthías Páll Gissurarson <mpg@mpg.is>2016-03-09 01:07:57 +0100
committerMatthías Páll Gissurarson <mpg@mpg.is>2016-03-14 01:01:20 +0100
commitb74278cd19d900d1397e35b85f7b80d70cd574f2 (patch)
tree17b7282544f73c9c2f2cec404f0d3fab1896bbe6 /docs/tutorial/Makefile
parentd8a731fe30ce800ac8347a902f38373d6cf689b2 (diff)
downloadgraphql-b74278cd19d900d1397e35b85f7b80d70cd574f2.tar.gz
Added a tutorial, based on graphql-js and servant documentation.
Diffstat (limited to 'docs/tutorial/Makefile')
-rw-r--r--docs/tutorial/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/tutorial/Makefile b/docs/tutorial/Makefile
new file mode 100644
index 0000000..04d8d71
--- /dev/null
+++ b/docs/tutorial/Makefile
@@ -0,0 +1,4 @@
+default:
+ pandoc -f markdown+lhs+yaml_metadata_block --highlight-style=haddock -S -c "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" --section-divs -c tutorial.css --toc --standalone -t html5 -o tutorial.html tutorial.lhs
+ pandoc -f markdown+lhs+yaml_metadata_block --highlight-style=haddock --toc --standalone -t rst -o tutorial.rst tutorial.lhs
+ pandoc -f markdown+lhs+yaml_metadata_block --highlight-style=haddock --toc --standalone -t latex -o tutorial.pdf tutorial.lhs