trying to build ansible documentation locally from rst source.

Thanks michael. I’m pretty new on python environment.

When i tried it , there is missing ansible.utils module.

Could you please help me to go on ?.

I’d got :

era@home:~/ansible_src$ make webdocs
(cd docsite; make docs)
make[1]: Entering directory `/home/era/ansible_src/docsite’
rm -f .buildinfo
rm -f .inv
rm -rf .doctrees
Cleaning up byte compiled python stuff
find . -regex ".
.py[co]$" -delete
Cleaning up editor backup files
find . -type f ( -name "
~" -or -name “#" ) -delete
find . -type f ( -name "
.swp” ) -delete
…/hacking/module_formatter.py -t rst --template-dir=…/hacking/templates --module-dir=…/library -o rst/modules/ --includes-file=rst/modules/_list.rst
Traceback (most recent call last):
File “…/hacking/module_formatter.py”, line 32, in
import ansible.utils
ImportError: No module named ansible.utils

thanks in advanced.

source ./hacking/env-setup before buildling and you will be fine.