Iona.prepare

You're seeing just the function prepare, go back to Iona module for more information.
Link to this function

prepare(input, output, format, opts \\ [])

View Source

Specs

prepare(
  input :: Iona.Input.t(),
  output :: Path.t(),
  format :: supported_format_t(),
  opts :: processing_opts()
) :: :ok | {:error, term()}

Generate a directory with a build script that can be run to finalize the build.

Examples

iex> Iona.source(path: "academic.tex")
iex> |> Iona.prepare!("/path/to/build/directory", :pdf, preprocess: ~w(latex bibtex latex))
:ok