# Ansible Module Documentation

**URL:** <https://forum.ansible.com/t/ansible-module-documentation/26706>\
**Category:** Ansible Project\
**Created:** [February 12, 2018, 12:22pm UTC](https://forum.ansible.com/t/ansible-module-documentation/26706 "2018-02-12T12:22:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bapi](https://avatars.discourse-cdn.com/v4/letter/b/6f9a4e/32.png) [@Bapi](https://forum.ansible.com/u/Bapi)\
**Post date:** [February 12, 2018, 12:22pm UTC](https://forum.ansible.com/t/ansible-module-documentation/26706/1 "2018-02-12T12:22:22Z")

</div>

Hello,

i am following the below ansible documentation. [http://docs.ansible.com/ansible/latest/dev\_guide/developing\_modules\_documenting.html](http://docs.ansible.com/ansible/latest/dev_guide/developing_modules_documenting.html)" Using this i could able to generate .html file for my custom module(MODULES=$custom\_module make webdocs). But its taking longer time just to generate a html file(Around 3 minutes).Is there a workaround to make it happens in less time? 2. At current stage we are running this command (MODULES=$custom\_module make webdocs) after downloading whole Ansible package. Just wondering what minimal package we need to run it successfully instead of keeping the whole ansible repository?

Will appreciate for any help.

Thanks  
Pradhan

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [February 12, 2018, 3:36pm UTC](https://forum.ansible.com/t/ansible-module-documentation/26706/2 "2018-02-12T15:36:30Z")

</div>

What you are seeing is expected. There is no current way to have it only render just that single module as HTML.

Instead it renders all modules into RST, and then will render all RST files, excluding all modules except for the one you indicated.

Full documentation build can take hours. At the moment, the 3 minute build time is the best we have.

---

<div class="post-metadata">

**Author:** ![Bapi](https://avatars.discourse-cdn.com/v4/letter/b/6f9a4e/32.png) [@Bapi](https://forum.ansible.com/u/Bapi)\
**Post date:** [February 13, 2018, 6:42am UTC](https://forum.ansible.com/t/ansible-module-documentation/26706/3 "2018-02-13T06:42:41Z")

</div>

Okey got you. Any thought on my second query, currently we need to download whole ansible repository to run (MODULES=$custom\_module make webdocs). What minimal binary files are required instead downloading the full repository.

Thnaks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [February 13, 2018, 5:38pm UTC](https://forum.ansible.com/t/ansible-module-documentation/26706/4 "2018-02-13T17:38:16Z")

</div>

You might just want to use ansible-doc \<modulename\> to verify the docs  
are correct, that does not require any downloading. You only require  
the full repo if you actually want an HTML version.
