summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlicia Cozine <879121+acozine@users.noreply.github.com>2018-10-19 16:06:15 -0500
committerSandra McCann <samccann@redhat.com>2018-10-19 17:06:15 -0400
commitf1ad01237593ecae730276b2e3feae9f1bec1549 (patch)
treeef05b414b2f62fc6d2b458822062fce4935303e0
parent0bb3205dee7f68e6067873b995da251fc099a362 (diff)
downloadansible-f1ad01237593ecae730276b2e3feae9f1bec1549.tar.gz
removes docs/api dir from .gitignore and Makefile (#47366)
* removes docs/api dir from .gitignore and Makefile * reduces noise on removing build artifacts
-rw-r--r--.gitignore2
-rw-r--r--Makefile2
-rw-r--r--docs/docsite/Makefile20
3 files changed, 9 insertions, 15 deletions
diff --git a/.gitignore b/.gitignore
index c7ae77d1de..6dfb84d15c 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 c5b0119932..ad7c3a69b6 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:
@@ -402,4 +401,3 @@ alldocs: docs webdocs
version:
@echo $(VERSION)
-
diff --git a/docs/docsite/Makefile b/docs/docsite/Makefile
index 1f4931d343..97a07af104 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