Hex v0.19.0 mix hex.docs View Source

Fetches or opens documentation of a package.

If no version is specified, defaults to version used in the current mix project. If called outside of a mix project or the dependency is not used in the current mix project, defaults to the latest version.

Fetch documentation for all dependencies in the current mix project

mix hex.docs fetch

Fetch documentation for offline use

Fetches documentation for the specified package that you can later open with mix hex.docs offline.

mix hex.docs fetch PACKAGE [VERSION]

Open a browser window with offline documentation

mix hex.docs offline PACKAGE [VERSION]

Open a browser window with online documentation

mix hex.docs online PACKAGE [VERSION]

Command line options

  • --module Some.Module - Open a specified module documentation page inside desired package
  • --organization ORGANIZATION - The organization the package belongs to
  • --latest - Looks for the latest release of a package