ac-lucusta-singula

ac-lucusta-singula

Is it possible to download Elixir & Phoenix docs as PDF or .mobi?

Is there any possibility to download the Elixir and Phoenix documentation as PDF (or maybe MOBI?)
I am traveling a lot by train and I do not always have connection to the internet, so It would be nice to have the docs always with me.

Marked As Solved

michalmuskala

michalmuskala

You can download any docs from hex using the mix hex.docs fetch PACKAGE VERSION command and later open with the accompanying mix hex.docs open PACKAGE VERSION.

To enhance on @benwilson512’s remark - ExDoc can also generate .epub documents with mix docs --format epub.

14
Post #4

Also Liked

tyro

tyro

You can download the Elixir docs here and the Phoenix docs here.

Note these aren’t in PDF but are still viewable offline.

venkatd

venkatd

By the way they are hosted online. If you scroll down to the docs for Elixir you will see a .epub version you can download.

For example:
https://hexdocs.pm/elixir/1.17.3/Elixir.epub

If you want a PDF there are some command line tools that you can use for this. I’ve got a Remarkable e-reader tablet that I load docs on and it works great.

kokolegorille

kokolegorille

Hello and welcome,

It has been 4 years and since, the procedure has changed.

You might try…

$ git clone https://github.com/elixir-lang/elixir-lang.github.com.git
$ cd elixir-lang.github.com/_epub
$ mix deps.get
$ mix epub
Generated elixir_lang_guide app
Generated guide at "./elixir-getting-started-guide.epub"
Generated guide at "./meta-programming-in-elixir.epub"
Generated guide at "./mix-and-otp.epub"
benwilson512

benwilson512

Author of Craft GraphQL APIs in Elixir with Absinthe

Also note that if you download the source code for any of those projects and run mix docs you’ll have a local copy of the docs.

kokolegorille

kokolegorille

Sorry to mention, but after trying to generate an epub…
And as seen on this link https://github.com/elixir-lang/ex_doc

The option should be formatter, like this

$ mix docs --formatter epub
Docs successfully generated.
View them at "doc/Phoenix-v1.3.0-rc.1.epub".

Where Next?

Popular in Questions Top

shahryarjb
Hello, I get Persian date from my client and convert it to normal calendar like this: def jalali_string_to_miladi_english_number(persi...
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
yawaramin
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
Werner
Hi, I’m using Ubuntu 18.04 and after updating to OTP-24.0 yesterday i have this warning when I run “mix local.hex”: 14:57:30.512 [warn] ...
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
qwerescape
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
chewm
Hi guys, nice to meet you to the whole forum, I’m new here, I’m trying to configure visual studio code for elixir, right now the intellis...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New

Other popular topics Top

shahryarjb
Hello, I get Persian date from my client and convert it to normal calendar like this: def jalali_string_to_miladi_english_number(persi...
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1140 51847 244
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
sergio
I couldn’t find any guides that worked well with Phoenix 1.6.0 and esbuild. I hope this helps people test the waters and eases you into t...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
chrisalley
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New

We're in Beta

About us Mission Statement