Added a tutorial, based on graphql-js and servant documentation.

This commit is contained in:
Matthías Páll Gissurarson
2016-03-09 01:07:57 +01:00
parent d8a731fe30
commit b74278cd19
4 changed files with 333 additions and 0 deletions

4
docs/tutorial/Makefile Normal file
View File

@ -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