All the docs published on hexdocs can be downloaded for offline use.
To download and open the docs in your browser
mix hex.docs offline elixir
If the docs are not already downloaded, this will download the docs first and then open them in your browser.
To download docs for a particular version
mix hex.docs fetch elixir 1.8.1