Overview:
ExDoc is a tool designed for generating documentation for both Erlang and Elixir projects. It provides features like automatically generating HTML and EPUB documents, responsive design, customizable options, and various shortcuts for ease of use.
Features:
- Automatically generates HTML and EPUB documents: Creates online- and offline-accessible documents from API documentation.
- Responsive design: Ensures compatibility with phones and tablets.
- Customizable pages, guides, livebooks, and cheatsheets: Allows for tailored content organization.
- Custom grouping in the sidebar: Provides options to structure modules, functions, and pages.
- Customizable logo: Lets users personalize their documentation.
- Direct link to source code: Includes a convenient link back to the source for each documented entity.
- Search functionality: Offers full-text search, keyboard shortcuts, autocompletion, and quick navigation options.
- Night mode: Supports a night mode feature based on the browser's preference.
Mix:
Ensure Elixir v1.12 or later and add ExDoc as a dependency with:
mix deps.get
Additionally, set :name, :source_url, and :homepage_url for better output.