Skip to content
Snippets Groups Projects
Unverified Commit e54b4677 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman Committed by GitHub
Browse files

Merge pull request #653 from t-woerner/galaxy_fix_doc_fragments

utils/build-galaxy-release: Fix doc_fragment prefix for galaxy
parents ee294259 53476687
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,12 @@ sed -i -e "s/ansible.module_utils.ansible_freeipa_module/ansible_collections.${c
ln -sf ../../roles/*/action_plugins/*.py .
})
echo "Fixing doc fragments in plugins/modules..."
for file in plugins/modules/*.py; do
sed -i -e "s/- ipamodule_base_docs/- ${collection_prefix}.ipamodule_base_docs/" "$file"
done
echo -e "\033[AFixing doc framents in plugins/modules... \033[32;1mDONE\033[0m"
echo "Fixing examples in plugins/modules..."
find plugins/modules -name "*.py" -print0 |
while IFS= read -d '' -r line; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment