Merge pull request #63 from haskell-servant/docs-exports

add missing exports (lenses) to servant-docs's Servant.Docs module
This commit is contained in:
Alp Mestanogullari 2015-05-09 16:09:54 +01:00
commit c8aa53f1a4
2 changed files with 3 additions and 3 deletions

View file

@ -155,11 +155,11 @@ module Servant.Docs
, -- * ADTs to represent an 'API'
Method(..)
, Endpoint, path, method, defEndpoint
, API, emptyAPI
, API, apiIntros, apiEndpoints, emptyAPI
, DocCapture(..), capSymbol, capDesc
, DocQueryParam(..), ParamKind(..), paramName, paramValues, paramDesc, paramKind
, DocNote(..), noteTitle, noteBody
, DocIntro(..)
, DocIntro(..), introTitle, introBody
, Response(..), respStatus, respTypes, respBody, defResponse
, Action, captures, headers, notes, params, rqtypes, rqbody, response, defAction
, single

View file

@ -495,7 +495,7 @@ markdown api = unlines $
introStr :: DocIntro -> [String]
introStr i =
("#### " ++ i ^. introTitle) :
("## " ++ i ^. introTitle) :
"" :
intersperse "" (i ^. introBody) ++
"" :