# Build Documentation

**URL:** <https://discourse.itk.org/t/build-documentation/2506>\
**Category:** Beginner Questions\
**Created:** [December 11, 2019, 1:15am UTC](https://discourse.itk.org/t/build-documentation/2506 "2019-12-11T01:15:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![melrobin](https://discourse.itk.org/user_avatar/discourse.itk.org/melrobin/32/277_2.png) [@melrobin](https://discourse.itk.org/u/melrobin)\
**Post date:** [December 11, 2019, 1:15am UTC](https://discourse.itk.org/t/build-documentation/2506/1 "2019-12-11T01:15:22Z")

</div>

What does turning BUILD\_DOCUMENTATION=ON actually do? I was expecting a build of the software guide or files in the /usr/share directory, but this is not produced.

Can anyone explain what the output from this flag is?

---

<div class="post-metadata">

**Author:** ![jhlegarreta](https://discourse.itk.org/user_avatar/discourse.itk.org/jhlegarreta/32/476_2.png) [@jhlegarreta](https://discourse.itk.org/u/jhlegarreta)\
**Post date:** [December 11, 2019, 3:12am UTC](https://discourse.itk.org/t/build-documentation/2506/2 "2019-12-11T03:12:58Z")

</div>

It builds the [Doxygen documentation](https://itk.org/Doxygen50/html/index.html).

Also, note that that variable has been renamed to `ITK_BUILD_DOCUMENTATION` as per [this commit](https://github.com/InsightSoftwareConsortium/ITK/commit/f071cffcc7da8b68dae2b6bc30ed8b1b35627110) in [ITK v5.1rc01](https://github.com/InsightSoftwareConsortium/ITK/releases/tag/v5.1rc01) to avoid conflicts with other libraries.

If you want to build the ITK Software Guide PDF file, you will need to clone and build the [ITKSoftwareGuide repository](https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide).

HTH.

---

<div class="post-metadata">

**Author:** ![melrobin](https://discourse.itk.org/user_avatar/discourse.itk.org/melrobin/32/277_2.png) [@melrobin](https://discourse.itk.org/u/melrobin)\
**Post date:** [December 11, 2019, 3:15am UTC](https://discourse.itk.org/t/build-documentation/2506/3 "2019-12-11T03:15:04Z")

</div>

This is great! Thank you very much!
