module Handler.ApiDocs ( getApiDocsR ) where import Import import ServantApi import qualified Servant.Docs as Servant import Servant.Docs.Internal.Pretty import Handler.Utils.Pandoc getApiDocsR :: Handler TypedContent getApiDocsR = selectRep $ do case htmlDocs of Right html -> provideRep . siteLayoutMsg MsgBreadcrumbApiDocs $ do setTitleI MsgBreadcrumbApiDocs [whamlet| $newline never