From bc1d0f5e612e393f00f55df39b2765e899f2f584 Mon Sep 17 00:00:00 2001 From: Alicia Cozine <879121+acozine@users.noreply.github.com> Date: Fri, 19 Oct 2018 16:06:15 -0500 Subject: [PATCH] removes docs/api dir from .gitignore and Makefile (#47366) * removes docs/api dir from .gitignore and Makefile * reduces noise on removing build artifacts (cherry picked from commit f1ad01237593ecae730276b2e3feae9f1bec1549) --- .gitignore | 2 -- Makefile | 2 -- docs/docsite/Makefile | 20 +++++++++----------- 3 files changed, 9 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index c7ae77d1de6..6dfb84d15cc 100644 --- a/.gitignore +++ b/.gitignore @@ -29,8 +29,6 @@ docs/man/man3/* *.sublime-project *.sublime-workspace # docsite stuff... -docs/api/_build/ -docs/api/rst/ docs/docsite/_build docs/docsite/*.html docs/docsite/htmlout diff --git a/Makefile b/Makefile index a7d21b3a600..88741dfce1f 100644 --- a/Makefile +++ b/Makefile @@ -217,7 +217,6 @@ clean: rm -f AUTHORS.TXT @echo "Cleaning up docsite" $(MAKE) -C docs/docsite clean - $(MAKE) -C docs/api clean .PHONY: python python: @@ -398,4 +397,3 @@ alldocs: docs webdocs version: @echo $(VERSION) - diff --git a/docs/docsite/Makefile b/docs/docsite/Makefile index 52d18e504ba..0a8700ec1ac 100644 --- a/docs/docsite/Makefile +++ b/docs/docsite/Makefile @@ -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