removes docs/api dir from .gitignore and Makefile (#47366)

* removes docs/api dir from .gitignore and Makefile

* reduces noise on removing build artifacts
This commit is contained in:
Alicia Cozine 2018-10-19 16:06:15 -05:00 committed by Sandra McCann
commit f1ad012375
3 changed files with 9 additions and 15 deletions

View file

@ -66,17 +66,15 @@ clean:
find . -type f \( -name "*~" -or -name "#*" \) -delete
find . -type f \( -name "*.swp" \) -delete
@echo "Cleaning up generated rst"
-rm rst/cli/ansible-*.rst
-rm rst/cli/ansible.rst
-rm rst/modules/*_by_category.rst
-rm rst/modules/list_of_*.rst
-rm rst/modules/*_maintained.rst
-rm rst/modules/*_module.rst
-rm rst/modules/*_plugin.rst
-rm rst/playbooks_directives.rst
-rm rst/plugins/*/*.rst
-rm rst/reference_appendices/config.rst
-rm rst/reference_appendices/playbooks_keywords.rst
rm -f rst/modules/*_by_category.rst
rm -f rst/modules/list_of_*.rst
rm -f rst/modules/*_maintained.rst
rm -f rst/modules/*_module.rst
rm -f rst/modules/*_plugin.rst
rm -f rst/playbooks_directives.rst
rm -f rst/plugins/*/*.rst
rm -f rst/reference_appendices/config.rst
rm -f rst/reference_appendices/playbooks_keywords.rst
.PHONY: docs clean