purescript-0.13.0: PureScript Programming Language Compiler

Safe HaskellNone




collectDocs :: forall m. (MonadError MultipleErrors m, MonadIO m) => FilePath -> [FilePath] -> [(PackageName, FilePath)] -> m ([(FilePath, Module)], Map ModuleName PackageName) Source #

Given a compiler output directory, a list of input PureScript source files, and a list of dependency PureScript source files, produce documentation for the input files in the intermediate documentation format. Note that dependency files are not included in the result.

If the output directory is not up to date with respect to the provided input and dependency files, the files will be built as if with just the "docs" codegen target, i.e. "purs compile --codegen docs".