# How to export the documentation of a Julia package to PDF?

**URL:** <https://discourse.julialang.org/t/how-to-export-the-documentation-of-a-julia-package-to-pdf/115683>\
**Category:** General Usage\
**Tags:** documentation, packages, pdf-format\
**Created:** [June 15, 2024, 8:58am UTC](https://discourse.julialang.org/t/how-to-export-the-documentation-of-a-julia-package-to-pdf/115683 "2024-06-15T08:58:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![WuSiren](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wusiren/32/42529_2.png) [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Post date:** [June 15, 2024, 8:58am UTC](https://discourse.julialang.org/t/how-to-export-the-documentation-of-a-julia-package-to-pdf/115683/1 "2024-06-15T08:58:35Z")

</div>

Some of the documentations of Julia packages on the webpages generated with [Documenter.jl](https://github.com/JuliaDocs/Documenter.jl) are so good that I want to convert them into full structured PDF so that I can print and read them just like reading papers or books. For example, [this](https://jump.dev/JuMP.jl/stable/#) is the web documentation of the package `JuMP` and [here](https://jump.dev/JuMP.jl/stable/JuMP.pdf) is its corresponding PDF format, but not all packages provide documentations in PDF version. Is there some method to export all the structure and content of them from the webpages to a PDF?

Thanks!

---

<div class="post-metadata">

**Author:** ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Post date:** [June 15, 2024, 9:00am UTC](https://discourse.julialang.org/t/how-to-export-the-documentation-of-a-julia-package-to-pdf/115683/2 "2024-06-15T09:00:18Z")

</div>

> **[Other Output Formats · Documenter.jl](https://documenter.juliadocs.org/stable/man/other-formats/)**
>
> Documentation for Documenter.jl.

---

<div class="post-metadata">

**Author:** ![WuSiren](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wusiren/32/42529_2.png) [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Post date:** [June 15, 2024, 9:01am UTC](https://discourse.julialang.org/t/how-to-export-the-documentation-of-a-julia-package-to-pdf/115683/3 "2024-06-15T09:01:09Z")

</div>

Ah! Thanks! I guess this may be the easiest way although it is a little more troublesome than I expected.

---

<div class="post-metadata">

**Author:** ![odow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/odow/32/28685_2.png) [@odow](https://discourse.julialang.org/u/odow)\
**Post date:** [June 15, 2024, 9:08am UTC](https://discourse.julialang.org/t/how-to-export-the-documentation-of-a-julia-package-to-pdf/115683/4 "2024-06-15T09:08:03Z")

</div>

Heres where we build the JuMP pdf

> <https://github.com/jump-dev/JuMP.jl/blob/68a9a456108c97e3c1e873f0a1f93501cd202c2e/docs/make.jl#L668>

---

<div class="post-metadata">

**Author:** ![WuSiren](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wusiren/32/42529_2.png) [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Post date:** [June 15, 2024, 9:13am UTC](https://discourse.julialang.org/t/how-to-export-the-documentation-of-a-julia-package-to-pdf/115683/5 "2024-06-15T09:13:55Z")

</div>

Thanks, @odow . I’ll try to understand that. I often find it frustrating to have to learn something else in order to learn one thing. 🥴
