Commit graph

7 commits

Author SHA1 Message Date
Christian Marie
055655618f Merge remote-tracking branch 'origin/master' into wip-note-api 2015-02-23 10:47:28 +11:00
Christian Marie
b935f28185 Improve documentation.
I also slipped a change into the Matrix Paramters section markdown generation,
there is one less (superfluous) newline there now.
2015-02-18 12:49:08 +11:00
Christian Marie
dd34ba0d92 Merge remote-tracking branch 'upstream/master' into wip-notes
Conflicts:
	src/Servant/Docs.hs
2015-01-30 16:02:44 +11:00
Christian Marie
aa64d7a0bf Add DocIntro and DocNote types to allow extra docs
This commit provides a way for a user to add information to either the
beginning of the output, and for a HasDoc instance to add extra sections to an
endpoint.

See example/greet.hs for usage of the Intro type.
2015-01-23 14:31:45 +11:00
Alp Mestanogullari
07472ccb7a update the example to show off multiple-responses 2015-01-04 16:53:02 +01:00
Julian K. Arni
3898c19afe Switch to encodePretty in sampleByteString. 2014-12-20 21:58:07 +01:00
Alp Mestanogullari
2261521002 polish up cabal file, add README and output of the example 2014-12-08 11:25:52 +01:00