# DocPlug

**This plug is intended for development only. Disable it in production.**

A utility [plug]( for developers that
automatically generates documentation for a project when it is started and
serves it under "/docs". Intended for use with
[ExDoc]( Note that this plug assumes
that documentation generation for your project has already been set up.

## Plug Options

- `task`: The name of the mix task to run to generate docs. Defaults to
- `from`: The directory on the filesystem the generated documentation can be
  found. Defaults to `"doc"`.
- `at`: The path to serve the docs from. Defaults to `"docs/"`.
- `generate`: If the documentation should be generated on starting the
  server, defaults to `true`.