Updated makedocs.sh to use doc_fragments
export PLUGINS=''
rm -rf ansible-repo
mkdir ansible-repo && cd ansible-repo
-git clone https://github.com/ansible/ansible.git && cd ansible && git checkout v2.7.6 && cd ..
+git clone --branch 'v2.9.6' https://github.com/ansible/ansible.git
pip install sphinx sphinx_rtd_theme
pip install -r ansible/requirements.txt
rm -rf ansible/lib/ansible/modules/ && mkdir -p ansible/lib/ansible/modules/hashivault
cp -r ../ansible/modules/hashivault/hashivault*.py ansible/lib/ansible/modules/hashivault/
+rm -f ansible/lib/ansible/plugins/doc_fragments/hashivault.py
+cp {..,ansible/lib}/ansible/plugins/doc_fragments/hashivault.py
ls ansible/lib/ansible/modules/hashivault
export MODULES=$(ls -m ansible/lib/ansible/modules/hashivault/ | grep -v '^_' | tr -d '[:space:]' | sed 's/.py//g')
cd ansible/docs/docsite/
