Skip to content

Commit

Permalink
removes docs/api dir from .gitignore and Makefile (#47366)
Browse files Browse the repository at this point in the history
* removes docs/api dir from .gitignore and Makefile

* reduces noise on removing build artifacts
  • Loading branch information
acozine authored and samccann committed Oct 19, 2018
1 parent 0bb3205 commit f1ad012
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 15 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions Makefile
Expand Up @@ -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:
Expand Down Expand Up @@ -402,4 +401,3 @@ alldocs: docs webdocs

version:
@echo $(VERSION)

20 changes: 9 additions & 11 deletions docs/docsite/Makefile
Expand Up @@ -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

Expand Down

0 comments on commit f1ad012

Please sign in to comment.